{"title":"Coverage metrics for actor model programs: A model-based approach","authors":"Sajad Jalali , Seyed-Hassan Mirian-Hosseinabadi","doi":"10.1016/j.infsof.2025.107860","DOIUrl":null,"url":null,"abstract":"<div><h3>Context:</h3><div>Software testing plays an important role in developing high-quality software. Developers need to understand software test effectiveness; therefore, using coverage criteria for test assessments is common. Selecting appropriate criteria for each software context is crucial, as it can lead to better fault detection. Each context requires a specific test suite to reveal faults, and developers should be aware of the context to select suitable criteria. In actor model programs, developers encounter a specific paradigm and need novel criteria.</div></div><div><h3>Objective:</h3><div>In this study, we utilize the Model-Based Testing approach and demonstrate its applications in actor model programs. Our goal is to identify coverage criteria using this method and evaluate its effectiveness.</div></div><div><h3>Method:</h3><div>We utilize a model-based testing approach to discover new coverage metrics in actor model programs. Initially, we identify the key properties of actor model programs. Based on these properties, we propose specific coverage criteria that can effectively expose faults. Lastly, we evaluate the effectiveness of these new coverage criteria through a series of experiments.</div></div><div><h3>Results:</h3><div>This paper shows that our suggested coverage criteria based on model-based testing can be more efficient than traditional coverage methods. Our experiments indicate that we can detect faults more effectively with these criteria. In particular, with the Pair of Event Type Receive Coverage, we can guide tests to find faults at least 20% faster than conventional tests.</div></div><div><h3>Conclusion:</h3><div>This paper uses the model-based testing approach for ensuring the quality of actor model programs. We define three new coverage metrics and evaluate them through experiments. These experiments demonstrate that the new coverage metrics can reveal faults more effectively than traditional coverage methods in certain situations.</div></div>","PeriodicalId":54983,"journal":{"name":"Information and Software Technology","volume":"188 ","pages":"Article 107860"},"PeriodicalIF":4.3000,"publicationDate":"2025-08-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information and Software Technology","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0950584925001995","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Context:
Software testing plays an important role in developing high-quality software. Developers need to understand software test effectiveness; therefore, using coverage criteria for test assessments is common. Selecting appropriate criteria for each software context is crucial, as it can lead to better fault detection. Each context requires a specific test suite to reveal faults, and developers should be aware of the context to select suitable criteria. In actor model programs, developers encounter a specific paradigm and need novel criteria.
Objective:
In this study, we utilize the Model-Based Testing approach and demonstrate its applications in actor model programs. Our goal is to identify coverage criteria using this method and evaluate its effectiveness.
Method:
We utilize a model-based testing approach to discover new coverage metrics in actor model programs. Initially, we identify the key properties of actor model programs. Based on these properties, we propose specific coverage criteria that can effectively expose faults. Lastly, we evaluate the effectiveness of these new coverage criteria through a series of experiments.
Results:
This paper shows that our suggested coverage criteria based on model-based testing can be more efficient than traditional coverage methods. Our experiments indicate that we can detect faults more effectively with these criteria. In particular, with the Pair of Event Type Receive Coverage, we can guide tests to find faults at least 20% faster than conventional tests.
Conclusion:
This paper uses the model-based testing approach for ensuring the quality of actor model programs. We define three new coverage metrics and evaluate them through experiments. These experiments demonstrate that the new coverage metrics can reveal faults more effectively than traditional coverage methods in certain situations.
期刊介绍:
Information and Software Technology is the international archival journal focusing on research and experience that contributes to the improvement of software development practices. The journal''s scope includes methods and techniques to better engineer software and manage its development. Articles submitted for review should have a clear component of software engineering or address ways to improve the engineering and management of software development. Areas covered by the journal include:
• Software management, quality and metrics,
• Software processes,
• Software architecture, modelling, specification, design and programming
• Functional and non-functional software requirements
• Software testing and verification & validation
• Empirical studies of all aspects of engineering and managing software development
Short Communications is a new section dedicated to short papers addressing new ideas, controversial opinions, "Negative" results and much more. Read the Guide for authors for more information.
The journal encourages and welcomes submissions of systematic literature studies (reviews and maps) within the scope of the journal. Information and Software Technology is the premiere outlet for systematic literature studies in software engineering.