Cargando…

PRINS: scalable model inference for component-based system logs

Behavioral software models play a key role in many software engineering tasks; unfortunately, these models either are not available during software development or, if available, quickly become outdated as implementations evolve. Model inference techniques have been proposed as a viable solution to e...

Descripción completa

Detalles Bibliográficos
Autores principales: Shin, Donghwan, Bianculli, Domenico, Briand, Lionel
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Springer US 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9005444/
https://www.ncbi.nlm.nih.gov/pubmed/35431614
http://dx.doi.org/10.1007/s10664-021-10111-4
_version_ 1784686461581262848
author Shin, Donghwan
Bianculli, Domenico
Briand, Lionel
author_facet Shin, Donghwan
Bianculli, Domenico
Briand, Lionel
author_sort Shin, Donghwan
collection PubMed
description Behavioral software models play a key role in many software engineering tasks; unfortunately, these models either are not available during software development or, if available, quickly become outdated as implementations evolve. Model inference techniques have been proposed as a viable solution to extract finite state models from execution logs. However, existing techniques do not scale well when processing very large logs that can be commonly found in practice. In this paper, we address the scalability problem of inferring the model of a component-based system from large system logs, without requiring any extra information. Our model inference technique, called PRINS, follows a divide-and-conquer approach. The idea is to first infer a model of each system component from the corresponding logs; then, the individual component models are merged together taking into account the flow of events across components, as reflected in the logs. We evaluated PRINS in terms of scalability and accuracy, using nine datasets composed of logs extracted from publicly available benchmarks and a personal computer running desktop business applications. The results show that PRINS can process large logs much faster than a publicly available and well-known state-of-the-art tool, without significantly compromising the accuracy of inferred models.
format Online
Article
Text
id pubmed-9005444
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Springer US
record_format MEDLINE/PubMed
spelling pubmed-90054442022-04-14 PRINS: scalable model inference for component-based system logs Shin, Donghwan Bianculli, Domenico Briand, Lionel Empir Softw Eng Article Behavioral software models play a key role in many software engineering tasks; unfortunately, these models either are not available during software development or, if available, quickly become outdated as implementations evolve. Model inference techniques have been proposed as a viable solution to extract finite state models from execution logs. However, existing techniques do not scale well when processing very large logs that can be commonly found in practice. In this paper, we address the scalability problem of inferring the model of a component-based system from large system logs, without requiring any extra information. Our model inference technique, called PRINS, follows a divide-and-conquer approach. The idea is to first infer a model of each system component from the corresponding logs; then, the individual component models are merged together taking into account the flow of events across components, as reflected in the logs. We evaluated PRINS in terms of scalability and accuracy, using nine datasets composed of logs extracted from publicly available benchmarks and a personal computer running desktop business applications. The results show that PRINS can process large logs much faster than a publicly available and well-known state-of-the-art tool, without significantly compromising the accuracy of inferred models. Springer US 2022-04-12 2022 /pmc/articles/PMC9005444/ /pubmed/35431614 http://dx.doi.org/10.1007/s10664-021-10111-4 Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Article
Shin, Donghwan
Bianculli, Domenico
Briand, Lionel
PRINS: scalable model inference for component-based system logs
title PRINS: scalable model inference for component-based system logs
title_full PRINS: scalable model inference for component-based system logs
title_fullStr PRINS: scalable model inference for component-based system logs
title_full_unstemmed PRINS: scalable model inference for component-based system logs
title_short PRINS: scalable model inference for component-based system logs
title_sort prins: scalable model inference for component-based system logs
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9005444/
https://www.ncbi.nlm.nih.gov/pubmed/35431614
http://dx.doi.org/10.1007/s10664-021-10111-4
work_keys_str_mv AT shindonghwan prinsscalablemodelinferenceforcomponentbasedsystemlogs
AT biancullidomenico prinsscalablemodelinferenceforcomponentbasedsystemlogs
AT briandlionel prinsscalablemodelinferenceforcomponentbasedsystemlogs