An extensible, feature-based framework for fine-grained code quality assessment

IF 4.3 2区 计算机科学 Q2 COMPUTER SCIENCE, INFORMATION SYSTEMS
Tewfik Ziadi , Karim Ghallab , Zaak Chalal
{"title":"An extensible, feature-based framework for fine-grained code quality assessment","authors":"Tewfik Ziadi ,&nbsp;Karim Ghallab ,&nbsp;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.
用于细粒度代码质量评估的可扩展的、基于特性的框架
环境:评估代码质量对于维护和发展软件系统是必不可少的。虽然SonarQube和Snyk等传统工具在应用程序级别提供了有价值的见解,但它们缺乏对特定于功能的分析的支持,因此很难理解质量问题如何分布在系统的功能结构中。目的:本文介绍了InsightMapper,这是一种新颖的方法,旨在通过实现面向特征的质量分析来弥合这一差距。目标是评估和比较各个特性的质量,确定特性级别的热点,并支持战略性维护决策。方法:InsightMapper利用现有的特征定位技术,将质量分析结果投射到特征实现上。我们在三个案例研究中评估了该方法,其中包括特征定位领域的公认基准。这些评估证明了InsightMapper使用SonarQube和Snyk的结果执行细粒度、面向特征的代码质量评估的能力。结果:研究表明,InsightMapper有效地揭示了质量问题是如何分布在特性之间的,揭示了具有不成比例的技术债务的特性,并支持基于功能相关性的优先级策略。该方法还可以计算特征级质量分数,促进分析器之间和跨特征之间的比较。结论:InsightMapper为面向特征的质量评估提供了一个可扩展和实用的解决方案。通过将分析结果投射到应用程序的特征上,它增强了高质量数据的可解释性,并为更有针对性的维护和进化策略铺平了道路。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Information and Software Technology
Information and Software Technology 工程技术-计算机:软件工程
CiteScore
9.10
自引率
7.70%
发文量
164
审稿时长
9.6 weeks
期刊介绍: 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信