EASE: An effort-aware extension of unsupervised key class identification approaches

Author:

Pan Weifeng1,Kessentini Marouane2,Ming Hua3,Yang Zijiang4

Affiliation:

1. School of Computer Science and Technology, Zhejiang Gongshang University, China

2. College of Innovation and Technology, University of Michigan-Flint, USA

3. School of Engineering and Computer Science, Oakland University, USA

4. School of Computer Science, Xi’an Jiaotong University, China

Abstract

Key class identification approaches aim at identifying the most important classes to help developers, especially newcomers, start the software comprehension process. So far, many supervised and unsupervised approaches have been proposed; however, they have not considered the effort to comprehend classes. In this paper, we identify the challenge of “ effort-aware key class identification ”; to partially tackle it, we propose an approach, EASE , which is implemented through a modification to existing unsupervised key class identification approaches to take into consideration the effort to comprehend classes. First, EASE chooses a set of network metrics that have a wide range of applications in the existing unsupervised approaches and also possess good discriminatory power . Second, EASE normalizes the network metric values of classes to quantify the probability of any class to be a key class, and utilizes Cognitive Complexity to estimate the effort required to comprehend classes. Third, EASE proposes a metric, RKCP , to measure the relative key-class proneness of classes and further uses it to sort classes in descending order. Finally, an effort threshold is utilized, and the top-ranked classes within the threshold are identified as the cost-effective key classes. Empirical results on a set of eighteen software systems show that i) the proposed effort-aware variants perform significantly better in almost all (≈ 98.33%) the cases, ii) they are superior to most of the baseline approaches with only several exceptions, and iii) they are scalable to large-scale software systems. Based on these findings, we suggest that i) we should resort to effort-aware key class identification techniques in budget-limited scenarios; and ii) when using different techniques, we should carefully choose the weighting mechanism so as to obtain the best performance.

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference79 articles.

1. Is "better data" better than "better data miners"?

2. Sara Alspaugh Kristen R Walcott Michael Belanich Gregory M Kapfhammer and Mary Lou Soffa. 2007. Efficient time-aware prioritization with knapsack solvers. In Proceedings of the 1st ACM international workshop on Empirical assessment of software engineering languages and technologies: held in conjunction with the 22nd IEEE/ACM International Conference on Automated Software Engineering (ASE) 2007. 13–18. Sara Alspaugh Kristen R Walcott Michael Belanich Gregory M Kapfhammer and Mary Lou Soffa. 2007. Efficient time-aware prioritization with knapsack solvers. In Proceedings of the 1st ACM international workshop on Empirical assessment of software engineering languages and technologies: held in conjunction with the 22nd IEEE/ACM International Conference on Automated Software Engineering (ASE) 2007. 13–18.

3. When to use the Bonferroni correction

4. Marvin Muñoz Barón , Marvin Wyrich , and Stefan Wagner . 2020 . An Empirical Validation of Cognitive Complexity as a Measure of Source Code Understandability. In ESEM ’20 : ACM / IEEE International Symposium on Empirical Software Engineering and Measurement , Bari, Italy , October 5-7, 2020, Maria Teresa Baldassarre, Filippo Lanubile, Marcos Kalinowski, and Federica Sarro (Eds.). ACM, 5:1–5:12. Marvin Muñoz Barón, Marvin Wyrich, and Stefan Wagner. 2020. An Empirical Validation of Cognitive Complexity as a Measure of Source Code Understandability. In ESEM ’20: ACM / IEEE International Symposium on Empirical Software Engineering and Measurement, Bari, Italy, October 5-7, 2020, Maria Teresa Baldassarre, Filippo Lanubile, Marcos Kalinowski, and Federica Sarro (Eds.). ACM, 5:1–5:12.

5. Markus Bauer . 1999 . Analysing Software Systems by Using Combinations of Metrics. In Object-Oriented Technology , ECOOP’99 Workshop Reader, ECOOP’99 Workshops, Panels, and Posters , Lisbon, Portugal , June 14-18, 1999, Proceedings(Lecture Notes in Computer Science, Vol.  1743). Springer, 170–171. Markus Bauer. 1999. Analysing Software Systems by Using Combinations of Metrics. In Object-Oriented Technology, ECOOP’99 Workshop Reader, ECOOP’99 Workshops, Panels, and Posters, Lisbon, Portugal, June 14-18, 1999, Proceedings(Lecture Notes in Computer Science, Vol.  1743). Springer, 170–171.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3