{"title":"An extensible, feature-based framework for fine-grained code quality assessment","authors":"Tewfik Ziadi , Karim Ghallab , Zaak Chalal","doi":"10.1016/j.infsof.2025.107934","DOIUrl":null,"url":null,"abstract":"<div><h3>Context:</h3><div>Assessing code quality is essential for maintaining and evolving software systems. While traditional tools like SonarQube and Snyk offer valuable insights at the application level, they lack support for feature-specific analysis, making it difficult to understand how quality issues are distributed across the functional structure of a system.</div></div><div><h3>Objectives:</h3><div>This paper introduces I<span>nsight</span>M<span>apper</span>, a novel approach designed to bridge this gap by enabling feature-oriented quality analysis. The goal is to assess and compare the quality of individual features, identify feature-level hotspots, and support strategic maintenance decisions.</div></div><div><h3>Methods:</h3><div>I<span>nsight</span>M<span>apper</span> leverages existing feature location techniques to project quality analysis results onto feature implementations. We evaluate the approach on three case studies, including a recognized benchmark in the feature location domain. These evaluations demonstrate I<span>nsight</span>M<span>apper</span>’s ability to perform fine-grained, feature-oriented code quality assessment using results from SonarQube and Snyk.</div></div><div><h3>Results:</h3><div>The study shows that I<span>nsight</span>M<span>apper</span> effectively reveals how quality issues are distributed across features, uncovers features with disproportionate technical debt, and supports prioritization strategies grounded in functional relevance. The approach also enables the computation of feature-level quality scores, facilitating comparisons between analyzers and across features.</div></div><div><h3>Conclusion:</h3><div>I<span>nsight</span>M<span>apper</span> offers an extensible and practical solution for feature-oriented quality assessment. By projecting analysis results onto the feature of applications, it enhances the interpretability of quality data and paves the way for more targeted maintenance and evolution strategies.</div></div>","PeriodicalId":54983,"journal":{"name":"Information and Software Technology","volume":"189 ","pages":"Article 107934"},"PeriodicalIF":4.3000,"publicationDate":"2025-10-24","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/S0950584925002733","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:
Assessing code quality is essential for maintaining and evolving software systems. While traditional tools like SonarQube and Snyk offer valuable insights at the application level, they lack support for feature-specific analysis, making it difficult to understand how quality issues are distributed across the functional structure of a system.
Objectives:
This paper introduces InsightMapper, a novel approach designed to bridge this gap by enabling feature-oriented quality analysis. The goal is to assess and compare the quality of individual features, identify feature-level hotspots, and support strategic maintenance decisions.
Methods:
InsightMapper leverages existing feature location techniques to project quality analysis results onto feature implementations. We evaluate the approach on three case studies, including a recognized benchmark in the feature location domain. These evaluations demonstrate InsightMapper’s ability to perform fine-grained, feature-oriented code quality assessment using results from SonarQube and Snyk.
Results:
The study shows that InsightMapper effectively reveals how quality issues are distributed across features, uncovers features with disproportionate technical debt, and supports prioritization strategies grounded in functional relevance. The approach also enables the computation of feature-level quality scores, facilitating comparisons between analyzers and across features.
Conclusion:
InsightMapper offers an extensible and practical solution for feature-oriented quality assessment. By projecting analysis results onto the feature of applications, it enhances the interpretability of quality data and paves the way for more targeted maintenance and evolution strategies.
期刊介绍:
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.