Skip to main content
Erschienen in: Software Quality Journal 2/2020

02.01.2020

Model generation of component-based systems

verfasst von: Sébastien Salva, Elliott Blot

Erschienen in: Software Quality Journal | Ausgabe 2/2020

Einloggen

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

search-config
loading …

Abstract

This paper presents COnfECt, a model learning approach, which aims at recovering the functioning of a component-based system from its execution traces. We refer here to non concurrent systems whose internal interactions among components are not observable from the environment. COnfECt is specialised into the detection of components of a black-box system and in the inference of models called systems of labelled transition systems (LTS). COnfECt tries to detect components and their specific behaviours in traces, then it generates LTS for every component discovered, which captures its behaviours. Besides, it synchronises the LTSs together to express the functioning of the whole system. COnfECt relies on machine learning techniques to build models: it uses the notion of correlation among actions in traces to detect component behaviours and exploits a clustering technique to merge similar LTSs and synchronise them. We describe the three steps of COnfECt and the related algorithms in this paper. Then, we present some preliminary experimentations.

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

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!

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!

Literatur
Zurück zum Zitat Aichernig, B.K., & Tappler, M. (2017). Learning from faults: mutation testing in active automata learning - mutation testing in active automata learning. In NASA formal methods - 9th international symposium, NFM 2017, Moffett Field, CA, USA, May 16-18, 2017, Proceedings (pp. 19–34). https://doi.org/10.1007/978-3-319-57288-8_2. Aichernig, B.K., & Tappler, M. (2017). Learning from faults: mutation testing in active automata learning - mutation testing in active automata learning. In NASA formal methods - 9th international symposium, NFM 2017, Moffett Field, CA, USA, May 16-18, 2017, Proceedings (pp. 19–34). https://​doi.​org/​10.​1007/​978-3-319-57288-8_​2.
Zurück zum Zitat Angluin, D. (1987). Learning regular sets from queries and counterexamples. Information and Computation, 75(2), 87–106.MathSciNetCrossRef Angluin, D. (1987). Learning regular sets from queries and counterexamples. Information and Computation, 75(2), 87–106.MathSciNetCrossRef
Zurück zum Zitat Berg, T, Jonsson, B., Raffelt, H. (2006). Regular inference for state machines with parameters. In Baresi, L., & Heckel, R. (Eds.) Fundamental approaches to software engineering, lecture notes in computer science, (Vol. 3922 pp. 107–121 ). Berlin: Springer, DOI https://doi.org/10.1007/11693017_10. Berg, T, Jonsson, B., Raffelt, H. (2006). Regular inference for state machines with parameters. In Baresi, L., & Heckel, R. (Eds.) Fundamental approaches to software engineering, lecture notes in computer science, (Vol. 3922 pp. 107–121 ). Berlin: Springer, DOI https://​doi.​org/​10.​1007/​11693017_​10.
Zurück zum Zitat Beschastnikh, I, Brun, Y, Shneider, S, Sloan, M, Ernst, M.D. (2011). Leveraging existing instrumentation to automatically infer invariant-constrained models. In Proceedings of the 19th ACM SIGSOFT symposium and the 13th European conference on foundations of software engineering ESEC/FSE ’11 (pp. 267–277). New York: ACM. Beschastnikh, I, Brun, Y, Shneider, S, Sloan, M, Ernst, M.D. (2011). Leveraging existing instrumentation to automatically infer invariant-constrained models. In Proceedings of the 19th ACM SIGSOFT symposium and the 13th European conference on foundations of software engineering ESEC/FSE ’11 (pp. 267–277). New York: ACM.
Zurück zum Zitat Beschastnikh, I., Brun, Y., Ernst, M.D., Krishnamurthy, A. (2014). Inferring models of concurrent systems from logs of their behavior with csight. In Proceedings of the 36th international conference on software engineering ICSE 2014 (pp. 468–479). New York: ACM. https://doi.org/10.1145/2568225.2568246. Beschastnikh, I., Brun, Y., Ernst, M.D., Krishnamurthy, A. (2014). Inferring models of concurrent systems from logs of their behavior with csight. In Proceedings of the 36th international conference on software engineering ICSE 2014 (pp. 468–479). New York: ACM. https://​doi.​org/​10.​1145/​2568225.​2568246.
Zurück zum Zitat Cohen, W.W., Ravikumar, P., Fienberg, S.E. (2003). A comparison of string distance metrics for name-matching tasks. In Proceedings of the 2003 international conference on information integration on the web IIWEB’03 (pp. 73–78): AAAI Press. Cohen, W.W., Ravikumar, P., Fienberg, S.E. (2003). A comparison of string distance metrics for name-matching tasks. In Proceedings of the 2003 international conference on information integration on the web IIWEB’03 (pp. 73–78): AAAI Press.
Zurück zum Zitat Dupont, P. (1996). Incremental regular inference. In Proceedings of the third ICGI-96 (pp. 222–237): Springer. Dupont, P. (1996). Incremental regular inference. In Proceedings of the third ICGI-96 (pp. 222–237): Springer.
Zurück zum Zitat Durand, W., & Salva, S. (2015). Passive testing of production systems based on model inference. In ACM/IEEE international conference on formal methods and models for codesign, MEMOCODE 2015, Austin, TX, USA (pp. 138–147). Austin: ACM. Durand, W., & Salva, S. (2015). Passive testing of production systems based on model inference. In ACM/IEEE international conference on formal methods and models for codesign, MEMOCODE 2015, Austin, TX, USA (pp. 138–147). Austin: ACM.
Zurück zum Zitat Ernst, M.D., Cockrell, J., Griswold, W.G., Notkin, D. (1999). Dynamically discovering likely program invariants to support program evolution. In Proceedings of the 21st international conference on software engineering ICSE ’99 (pp. 213–224). New York: ACM. Ernst, M.D., Cockrell, J., Griswold, W.G., Notkin, D. (1999). Dynamically discovering likely program invariants to support program evolution. In Proceedings of the 21st international conference on software engineering ICSE ’99 (pp. 213–224). New York: ACM.
Zurück zum Zitat Fu, Q, Lou, JG, Wang, Y, Li, J. (2009). Execution anomaly detection in distributed systems through unstructured log analysis. In 2009 Ninth IEEE international conference on data mining (pp. 149–158). Fu, Q, Lou, JG, Wang, Y, Li, J. (2009). Execution anomaly detection in distributed systems through unstructured log analysis. In 2009 Ninth IEEE international conference on data mining (pp. 149–158).
Zurück zum Zitat Groz, R., Li, K., Petrenko, A., Shahbaz, M. (2008). Testing of software and communicating systems. In Suzuki, K, Higashino, T, Ulrich, A, Hasegawa, T (Eds.) (pp. 216–233). Berlin: Springer. Groz, R., Li, K., Petrenko, A., Shahbaz, M. (2008). Testing of software and communicating systems. In Suzuki, K, Higashino, T, Ulrich, A, Hasegawa, T (Eds.) (pp. 216–233). Berlin: Springer.
Zurück zum Zitat Hangal, S, & Lam, M.S. (2002). Tracking down software bugs using automatic anomaly detection. In Proceedings of the 24th international conference on software engineering ICSE ’02 (pp. 291–301). New York: ACM, DOI https://doi.org/10.1145/581339.581377, (to appear in print). Hangal, S, & Lam, M.S. (2002). Tracking down software bugs using automatic anomaly detection. In Proceedings of the 24th international conference on software engineering ICSE ’02 (pp. 291–301). New York: ACM, DOI https://​doi.​org/​10.​1145/​581339.​581377, (to appear in print).
Zurück zum Zitat Hossen, K., Groz, R., Oriat, C., Richier, J. (2014). Automatic model inference of web applications for security testing. In Seventh IEEE International conference on software testing, verification and validation, ICST 2014 workshops proceedings, march 31 - April 4, 2014 (pp. 22–23). Cleveland, DOI https://doi.org/10.1109/ICSTW.2014.47 Hossen, K., Groz, R., Oriat, C., Richier, J. (2014). Automatic model inference of web applications for security testing. In Seventh IEEE International conference on software testing, verification and validation, ICST 2014 workshops proceedings, march 31 - April 4, 2014 (pp. 22–23). Cleveland, DOI https://​doi.​org/​10.​1109/​ICSTW.​2014.​47
Zurück zum Zitat Howar, F, Steffen, B, Jonsson, B, Cassel, S. (2012). Inferring canonical register automata. In Kuncak, V, & Rybalchenko, A (Eds.) Verification, model checking, and abstract interpretation, lecture notes in computer science (to appear in print).asis>, (Vol. 7148 pp. 251–266). Berlin: Springer, DOI https://doi.org/10.1007/978-3-642-27940-9_17. Howar, F, Steffen, B, Jonsson, B, Cassel, S. (2012). Inferring canonical register automata. In Kuncak, V, & Rybalchenko, A (Eds.) Verification, model checking, and abstract interpretation, lecture notes in computer science (to appear in print).asis>, (Vol. 7148 pp. 251–266). Berlin: Springer, DOI https://​doi.​org/​10.​1007/​978-3-642-27940-9_​17.
Zurück zum Zitat Krka, I, Brun, Y, Popescu, D, Garcia, J, Medvidovic, N. (2010). Using dynamic execution traces and program invariants to enhance behavioral model inference. In Proceedings of the 32Nd ACM/IEEE international conference on software engineering ICSE ’10, (Vol. 2 pp. 179–182). New York: ACM. Krka, I, Brun, Y, Popescu, D, Garcia, J, Medvidovic, N. (2010). Using dynamic execution traces and program invariants to enhance behavioral model inference. In Proceedings of the 32Nd ACM/IEEE international conference on software engineering ICSE ’10, (Vol. 2 pp. 179–182). New York: ACM.
Zurück zum Zitat Lorenzoli, D, Mariani, L, Pezzè, M. (2008). Automatic generation of software behavioral models. In Proceedings of the 30th international conference on software engineering ICSE’08 (pp. 501–510). New York: ACM. Lorenzoli, D, Mariani, L, Pezzè, M. (2008). Automatic generation of software behavioral models. In Proceedings of the 30th international conference on software engineering ICSE’08 (pp. 501–510). New York: ACM.
Zurück zum Zitat Messaoudi, S, Panichella, A, Bianculli, D, Briand, L, Sasnauskas, R. (2018). A search-based approach for accurate identification of log message formats. In Proceedings of the 26th conference on program comprehension ICPC ’18 (pp. 167–177). New York: ACM, DOI https://doi.org/10.1145/3196321.3196340 Messaoudi, S, Panichella, A, Bianculli, D, Briand, L, Sasnauskas, R. (2018). A search-based approach for accurate identification of log message formats. In Proceedings of the 26th conference on program comprehension ICPC ’18 (pp. 167–177). New York: ACM, DOI https://​doi.​org/​10.​1145/​3196321.​3196340
Zurück zum Zitat Ohmann, T, Herzberg, M, Fiss, S, Halbert, A, Palyart, M, Beschastnikh, I, Brun, Y. (2014). Behavioral resource-aware model inference. In Proceedings of the 29th ACM/IEEE international conference on automated software engineering ASE ’14 (pp. 19–30). New York: ACM. Ohmann, T, Herzberg, M, Fiss, S, Halbert, A, Palyart, M, Beschastnikh, I, Brun, Y. (2014). Behavioral resource-aware model inference. In Proceedings of the 29th ACM/IEEE international conference on automated software engineering ASE ’14 (pp. 19–30). New York: ACM.
Zurück zum Zitat Petrenko, A., Avellaneda, F., Groz, R., Oriat, C. (2017). From passive to active fsm inference via checking sequence construction. In Yevtushenko, N, Cavalli, A.R., Yenigün, H (Eds.) Testing software and systems (pp. 126–141). Cham: Springer International Publishing. Petrenko, A., Avellaneda, F., Groz, R., Oriat, C. (2017). From passive to active fsm inference via checking sequence construction. In Yevtushenko, N, Cavalli, A.R., Yenigün, H (Eds.) Testing software and systems (pp. 126–141). Cham: Springer International Publishing.
Zurück zum Zitat Pradel, M, & Gross, T.R. (2009). Automatic generation of object usage specifications from large method traces. In Proceedings of the 2009 IEEE/ACM international conference on automated software engineering ASE ’09 (pp. 371–382). Washington, DC: IEEE Computer Society. Pradel, M, & Gross, T.R. (2009). Automatic generation of object usage specifications from large method traces. In Proceedings of the 2009 IEEE/ACM international conference on automated software engineering ASE ’09 (pp. 371–382). Washington, DC: IEEE Computer Society.
Zurück zum Zitat Raffelt, H, Steffen, B, Berg, T. (2005). Learnlib: a library for automata learning and experimentation. In Proceedings of the 10th international workshop on formal methods for industrial critical systems FMICS ’05 (pp. 62–71). New York: ACM, DOI https://doi.org/10.1145/1081180.1081189 Raffelt, H, Steffen, B, Berg, T. (2005). Learnlib: a library for automata learning and experimentation. In Proceedings of the 10th international workshop on formal methods for industrial critical systems FMICS ’05 (pp. 62–71). New York: ACM, DOI https://​doi.​org/​10.​1145/​1081180.​1081189
Zurück zum Zitat Salva, S, & Blot, E. (2018). Confect: an approach to learn models of component-based systems. In Proceedings of the 13th international conference on software technologies, ICSOFT 2018, Porto, Portugal, July 26-28, 2018 (pp. 298–305), DOI https://doi.org/10.5220/0006848302980305 Salva, S, & Blot, E. (2018). Confect: an approach to learn models of component-based systems. In Proceedings of the 13th international conference on software technologies, ICSOFT 2018, Porto, Portugal, July 26-28, 2018 (pp. 298–305), DOI https://​doi.​org/​10.​5220/​0006848302980305​
Zurück zum Zitat Salva, S, Blot, E, Laurençot, P. (2018). Combining model learning and data analysis to generate models of component-based systems. In Testing software and systems - 30th IFIP WG 6.1 international conference, ICTSS 2018, Cádiz, Spain, October 1-3, 2018, Proceedings (pp. 142–148), DOI https://doi.org/10.1007/978-3-319-99927-2_12 Salva, S, Blot, E, Laurençot, P. (2018). Combining model learning and data analysis to generate models of component-based systems. In Testing software and systems - 30th IFIP WG 6.1 international conference, ICTSS 2018, Cádiz, Spain, October 1-3, 2018, Proceedings (pp. 142–148), DOI https://​doi.​org/​10.​1007/​978-3-319-99927-2_​12
Zurück zum Zitat Tan, P.N., Steinbach, M., Kumar, V. (2005). Introduction to data mining, 1st edn. Boston: Addison-Wesley Longman Publishing Co., Inc. Tan, P.N., Steinbach, M., Kumar, V. (2005). Introduction to data mining, 1st edn. Boston: Addison-Wesley Longman Publishing Co., Inc.
Zurück zum Zitat Tappler, M, Aichernig, B.K., Bloem, R. (2017). Model-based testing iot communication via active automata learning. In 2017 IEEE International conference on software testing, verification and validation (ICST) (pp. 276–287), DOI https://doi.org/10.1109/ICST.2017.32 Tappler, M, Aichernig, B.K., Bloem, R. (2017). Model-based testing iot communication via active automata learning. In 2017 IEEE International conference on software testing, verification and validation (ICST) (pp. 276–287), DOI https://​doi.​org/​10.​1109/​ICST.​2017.​32
Zurück zum Zitat van der Bijl, M., Rensink, A., Tretmans, J. (2004). Compositional testing with ioco. In Petrenko, A, & Ulrich, A (Eds.) Formal Approaches to Software Testing (pp. 86–100). Berlin: Springer. van der Bijl, M., Rensink, A., Tretmans, J. (2004). Compositional testing with ioco. In Petrenko, A, & Ulrich, A (Eds.) Formal Approaches to Software Testing (pp. 86–100). Berlin: Springer.
Zurück zum Zitat Willett, P. (1988). Recent trends in hierarchic document clustering: a critical review. Information Processing & Management, 24(5), 577–597.CrossRef Willett, P. (1988). Recent trends in hierarchic document clustering: a critical review. Information Processing & Management, 24(5), 577–597.CrossRef
Zurück zum Zitat Yoon, K.P., & Hwang, C.L. (1995). Multiple attribute decision making: an introduction (quantitative applications in the social sciences). Yoon, K.P., & Hwang, C.L. (1995). Multiple attribute decision making: an introduction (quantitative applications in the social sciences).
Zurück zum Zitat Zhu, J, He, S, Liu, J, He, P, Xie, Q, Zheng, Z, Lyu, M.R. (2018). Tools and benchmarks for automated log parsing. arXiv:1811.03509. Zhu, J, He, S, Liu, J, He, P, Xie, Q, Zheng, Z, Lyu, M.R. (2018). Tools and benchmarks for automated log parsing. arXiv:1811.​03509.
Metadaten
Titel
Model generation of component-based systems
verfasst von
Sébastien Salva
Elliott Blot
Publikationsdatum
02.01.2020
Verlag
Springer US
Erschienen in
Software Quality Journal / Ausgabe 2/2020
Print ISSN: 0963-9314
Elektronische ISSN: 1573-1367
DOI
https://doi.org/10.1007/s11219-019-09485-y

Weitere Artikel der Ausgabe 2/2020

Software Quality Journal 2/2020 Zur Ausgabe

Premium Partner