Skip to main content

2020 | OriginalPaper | Buchkapitel

Coverage Analysis of Net Inscriptions in Coloured Petri Net Models

verfasst von : Faustin Ahishakiye, José Ignacio Requeno Jarabo, Lars Michael Kristensen, Volker Stolz

Erschienen in: Verification and Evaluation of Computer and Communication Systems

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

High-level Petri nets such as Coloured Petri Nets (CPNs) are characterised by the combination of Petri nets and a high-level programming language. In the context of CPNs and CPN Tools, the inscriptions (e.g., arc expressions and guards) are specified using Standard ML (SML). The application of simulation and state space exploration (SSE) for validating CPN models traditionally focusses on behavioural properties related to net structure, i.e., places and transitions. This means that the net inscriptions are only implicitly validated, and the extent to which their sub-expressions have been covered is not made explicit. The contribution of this paper is an approach that establishes a link between coverage analysis known from programming languages and net inscriptions of CPN models. Specifically, we consider Modified Condition/Decision Coverage (MC/DC) of Boolean SML decisions, which cannot be measured within CPN Tools neither through state space exploration nor model checking directly. We have implemented our approach in a library for CPN Tools comprised of an annotation and instrumentation mechanism that transparently intercepts and collects evaluation of boolean conditions, and a post-processing tool that, for a set of model executions (runs), determines whether each decision is MC/DC-covered. We evaluate our approach on four large publicly available CPN models.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Ahishakiye, F., Jakšić, S., Stolz, V., Lange, F.D., Schmitz, M., Thoma, D.: Non-intrusive MC/DC measurement based on traces. In: Méry, D., Qin, S. (eds.) International Symposium on Theoretical Aspects of Software Engineering, pp. 86–92. IEEE (2019) Ahishakiye, F., Jakšić, S., Stolz, V., Lange, F.D., Schmitz, M., Thoma, D.: Non-intrusive MC/DC measurement based on traces. In: Méry, D., Qin, S. (eds.) International Symposium on Theoretical Aspects of Software Engineering, pp. 86–92. IEEE (2019)
3.
Zurück zum Zitat Certification Authorities Software Team (CAST): Rationale for Accepting Masking MC/DC in Certification Projects. Technical report, Position Paper CAST-6 (2001) Certification Authorities Software Team (CAST): Rationale for Accepting Masking MC/DC in Certification Projects. Technical report, Position Paper CAST-6 (2001)
5.
Zurück zum Zitat Gkolfi, A., Din, C.C., Johnsen, E.B., Kristensen, L.M., Steffen, M., Yu, I.C.: Translating active objects into Coloured Petri Nets for communication analysis. Sci. Comput. Program. 181, 1–26 (2019)CrossRef Gkolfi, A., Din, C.C., Johnsen, E.B., Kristensen, L.M., Steffen, M., Yu, I.C.: Translating active objects into Coloured Petri Nets for communication analysis. Sci. Comput. Program. 181, 1–26 (2019)CrossRef
7.
Zurück zum Zitat Heimdahl, M.P.E., Whalen, M.W., Rajan, A., Staats, M.: On MC/DC and implementation structure: an empirical study. In: Proceedings of IEEE/AIAA 27th Digital Avionics Systems Conference, pp. 5.B.3-1–5.B.3-13 (2008) Heimdahl, M.P.E., Whalen, M.W., Rajan, A., Staats, M.: On MC/DC and implementation structure: an empirical study. In: Proceedings of IEEE/AIAA 27th Digital Avionics Systems Conference, pp. 5.B.3-1–5.B.3-13 (2008)
9.
Zurück zum Zitat Jensen, K., Kristensen, L.M.: Coloured Petri Nets: a graphical language for formal modeling and validation of concurrent systems. Commun. ACM 58, 61–70 (2015)CrossRef Jensen, K., Kristensen, L.M.: Coloured Petri Nets: a graphical language for formal modeling and validation of concurrent systems. Commun. ACM 58, 61–70 (2015)CrossRef
10.
Zurück zum Zitat John J., C.: An investigation of three forms of the Modified Condition Decision Coverage (MC/DC) criterion. Technical report, Office of Aviation Research (2001) John J., C.: An investigation of three forms of the Modified Condition Decision Coverage (MC/DC) criterion. Technical report, Office of Aviation Research (2001)
11.
Zurück zum Zitat John, J., Steven, C.: Applicability of modified condition/decision coverage to software testing. Softw. Eng. J. 9(5), 193–2001994 (1994)CrossRef John, J., Steven, C.: Applicability of modified condition/decision coverage to software testing. Softw. Eng. J. 9(5), 193–2001994 (1994)CrossRef
12.
Zurück zum Zitat Lill, R., Saglietti, F.: Model-based testing of cooperating robotic systems using Coloured Petri Nets. In: Proceedings of SAFECOMP 2013 - Workshop DECS (ERCIM/EWICS Workshop on Dependable Embedded and Cyber-physical Systems) of the 32nd International Conference on Computer Safety, Reliability and Security. Toulouse, France (Sep 2013). https://hal.archives-ouvertes.fr/hal-00848597 Lill, R., Saglietti, F.: Model-based testing of cooperating robotic systems using Coloured Petri Nets. In: Proceedings of SAFECOMP 2013 - Workshop DECS (ERCIM/EWICS Workshop on Dependable Embedded and Cyber-physical Systems) of the 32nd International Conference on Computer Safety, Reliability and Security. Toulouse, France (Sep 2013). https://​hal.​archives-ouvertes.​fr/​hal-00848597
13.
Zurück zum Zitat Pascal, C., Panescu, D.: A Coloured Petri Nets model for DisCSP algorithms. Concurr. Comput. Pract. Exp. 29(18), 1–23 (2017)CrossRef Pascal, C., Panescu, D.: A Coloured Petri Nets model for DisCSP algorithms. Concurr. Comput. Pract. Exp. 29(18), 1–23 (2017)CrossRef
14.
Zurück zum Zitat Paul, T.K., Lau, M.F.: A systematic literature review on modified condition and decision coverage. In: Proceedings of the 29th Annual ACM Symposium on Applied Computing, pp. 1301–1308. SAC 2014, Association for Computing Machinery (2014) Paul, T.K., Lau, M.F.: A systematic literature review on modified condition and decision coverage. In: Proceedings of the 29th Annual ACM Symposium on Applied Computing, pp. 1301–1308. SAC 2014, Association for Computing Machinery (2014)
15.
Zurück zum Zitat Pothon, F.: DO-178C/ED-12C versus DO-178B/ED-12B: Changes and Improvements. Technical report, AdaCore (2012) Pothon, F.: DO-178C/ED-12C versus DO-178B/ED-12B: Changes and Improvements. Technical report, AdaCore (2012)
16.
Zurück zum Zitat Rierson, L.: Developing Safety-Critical Software: A Practical Guide for Aviation Software and DO-178C Compliance. CRC Press, Boca Raton (2013) Rierson, L.: Developing Safety-Critical Software: A Practical Guide for Aviation Software and DO-178C Compliance. CRC Press, Boca Raton (2013)
17.
Zurück zum Zitat Rodríguez, A., Kristensen, L.M., Rutle, A.: Formal modelling and incremental verification of the MQTT IoT protocol. In: Koutny, M., Pomello, L., Kristensen, L.M. (eds.) Transactions on Petri Nets and Other Models of Concurrency XIV. LNCS, vol. 11790, pp. 126–145. Springer, Heidelberg (2019). https://doi.org/10.1007/978-3-662-60651-3_5CrossRef Rodríguez, A., Kristensen, L.M., Rutle, A.: Formal modelling and incremental verification of the MQTT IoT protocol. In: Koutny, M., Pomello, L., Kristensen, L.M. (eds.) Transactions on Petri Nets and Other Models of Concurrency XIV. LNCS, vol. 11790, pp. 126–145. Springer, Heidelberg (2019). https://​doi.​org/​10.​1007/​978-3-662-60651-3_​5CrossRef
19.
Zurück zum Zitat Simão, A., Do, S., Souza, S., Maldonado, J.: A family of coverage testing criteria for Coloured Petri Nets. In: Proceedings of 17th Brazilian Symposium on Software Engineering (SBES 2003), pp. 209–224 (2003) Simão, A., Do, S., Souza, S., Maldonado, J.: A family of coverage testing criteria for Coloured Petri Nets. In: Proceedings of 17th Brazilian Symposium on Software Engineering (SBES 2003), pp. 209–224 (2003)
20.
Zurück zum Zitat Sudipto Ghosh, France, R., Braganza, C., Kawane, N., Andrews, A., Orest Pilskalns: Test adequacy assessment for UML design model testing. In: Proceedings of 14th International Symposium on Software Reliability Engineering, ISSRE 2003, pp. 332–343 (2003) Sudipto Ghosh, France, R., Braganza, C., Kawane, N., Andrews, A., Orest Pilskalns: Test adequacy assessment for UML design model testing. In: Proceedings of 14th International Symposium on Software Reliability Engineering, ISSRE 2003, pp. 332–343 (2003)
21.
24.
Zurück zum Zitat Wang, R., Kristensen, L.M., Meling, H., Stolz, V.: Automated test case generation for the Paxos single-decree protocol using a Coloured Petri Net model. Logic. Algebraic Methods Program. 104, 254–273 (2019)MathSciNetMATHCrossRef Wang, R., Kristensen, L.M., Meling, H., Stolz, V.: Automated test case generation for the Paxos single-decree protocol using a Coloured Petri Net model. Logic. Algebraic Methods Program. 104, 254–273 (2019)MathSciNetMATHCrossRef
25.
Zurück zum Zitat Xu, D., Xu, W., Kent, M., Thomas, L., Wang, L.: An automated test generation technique for software quality assurance. IEEE Reliab. 64(1), 247–268 (2015)CrossRef Xu, D., Xu, W., Kent, M., Thomas, L., Wang, L.: An automated test generation technique for software quality assurance. IEEE Reliab. 64(1), 247–268 (2015)CrossRef
Metadaten
Titel
Coverage Analysis of Net Inscriptions in Coloured Petri Net Models
verfasst von
Faustin Ahishakiye
José Ignacio Requeno Jarabo
Lars Michael Kristensen
Volker Stolz
Copyright-Jahr
2020
DOI
https://doi.org/10.1007/978-3-030-65955-4_6

Premium Partner