Complexity and Nesting Evolution in Open Source Software Systems: Experimental Study

Author:

Alenezi Mamdouh1,Zarour Mohammad1,Akour Mohammed2

Affiliation:

1. College of Computer & Information Sciences, Prince Sultan University, Riyadh, Saudi Arabia

2. The Faculty of Information Technology and Computer Sciences, Yarmouk University, Irbid, Jordan

Abstract

Background: Software complexity affects its quality; a complex software is not only difficult to read, maintain and less efficient, but it also can be less secure with many vulnerabilities. Complexity metrics, e.g. cyclomatic complexity and nesting levels, are commonly used to predict and benchmark software cost and efficiency. Complexity metrics are also used to decide if code refactoring is needed. Objective: Software systems with high complexity need more time to develop and test and may lead to bad understandability and more errors. Nesting level in the target structure may result in developing more complex software in what is so-called the nesting problem. Nesting problem should be shortened by rewriting the code or breaking into several functional procedures. Method: In this paper, the relationship between the nesting levels, the cyclomatic complexity, and lines of code (LOC) metrics are measured through several software releases. In order to address how strong a relationship between these factors with the nesting level, correlation coefficients are calculated. Moreover, to examine to what extent the developers are aware of and tackle the nesting problem, the evolution of nesting levels for ten releases of five open sources systems is studied to see if it is improving over successive versions or not. Results: The result shows that the nesting level has variant effects on the cyclomatic complexity and SLOC for the five studied systems. Conclusion: nesting level has the tendency to have a positive correlation with other factors (cyclomatic complexity and LOC).

Publisher

Bentham Science Publishers Ltd.

Subject

General Computer Science

Reference23 articles.

1. T.J. McCabe ; "A complexity measure". IEEE Transac Software Eng Vol. 4, SE-2, pp. 308-320,. 1976.

2. M.M.S. Sarwar ; S. Shahzad ; and I. Ahmad ; "Cyclomatic complexity: The nesting problem. In Digital Information Management (ICDIM)" Eighth International Conference IEEE 2013,274-279

3. M.K. Debbarma ; S. Debbarma ; N. Debbarma ; K. Chakma ; and A. Jamatia ; "A review and analysis of software complexity metrics in structural testing". Int J Comp and Comm Eng Vol. 2, No. 2, pp.129, 2013.

4. R.R. Gonzalez, “A unified metric of software complexity: Measuring productivity, quality, and value". J Syst Software Vol. 29, No. 1, pp. 17-37, 1995.

5. M. Alenazi ; and K. Almustafa ; "Empirical analysis of the complexity evolution in open-source software systems". Int J Hyb Info Technol Vol. 8, No. 2, pp 257-266, 2015.

Cited by 2 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Measuring nesting;IET Software;2022-08-02

2. RESEARCH TRENDS IN SOFTWARE ENGINEERING FIELD: A LITERATURE REVIEW;International Journal of Engineering Technologies and Management Research;2020-06-15

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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