Complexity and nesting evolution in open source software systems: Experimental study

被引:0
|
作者
Alenezi M. [1 ]
Zarour M. [1 ]
Akour M. [2 ]
机构
[1] College of Computer & Information Sciences, Prince Sultan University, Riyadh
[2] The Faculty of Information Technology and Computer Sciences, Yarmouk University, Irbid
关键词
Cyclomatic complexity; Evolution; Lines of Code (LOC); Nesting level; Open source; Software complexity;
D O I
10.2174/2213275912666190204134206
中图分类号
学科分类号
摘要
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 (cy-clomatic complexity and LOC). © 2020 Bentham Science Publishers.
引用
收藏
页码:572 / 578
页数:6
相关论文
共 50 条
  • [1] Defectiveness Evolution in Open Source Software Systems
    Javed, Yasir
    Alenezi, Mamdouh
    4TH SYMPOSIUM ON DATA MINING APPLICATIONS (SDMA2016), 2016, 82 : 107 - 114
  • [2] Evolution in open source software: A case study
    Godfrey, MW
    Tu, Q
    INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2000, : 131 - 142
  • [3] Internal Quality Evolution of Open-Source Software Systems
    Alenezi, Mamdouh
    APPLIED SCIENCES-BASEL, 2021, 11 (12):
  • [4] A large-scale study of architectural evolution in open-source software systems
    Pooyan Behnamghader
    Duc Minh Le
    Joshua Garcia
    Daniel Link
    Arman Shahbazian
    Nenad Medvidovic
    Empirical Software Engineering, 2017, 22 : 1146 - 1193
  • [5] A large-scale study of architectural evolution in open-source software systems
    Behnamghader, Pooyan
    Duc Minh Le
    Garcia, Joshua
    Link, Daniel
    Shahbazian, Arman
    Medvidovic, Nenad
    EMPIRICAL SOFTWARE ENGINEERING, 2017, 22 (03) : 1146 - 1193
  • [6] Towards a Better Understanding of Software Evolution: An Empirical Study on Open Source Software
    Xie, Guowu
    Chen, Jianbo
    Neamtiu, Iulian
    2009 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, CONFERENCE PROCEEDINGS, 2009, : 51 - 60
  • [7] Metrics and evolution in open source software
    Lee, Young
    Yang, Jeong
    Chang, Kai H.
    USIC 2007: PROCEEDINGS OF THE SEVENTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, 2007, : 191 - +
  • [8] Evolution of Apache Open Source Software
    Wen, Haoran
    D'Souza, Raissa M.
    Saul, Zachary M.
    Filkov, Vladimir
    DYNAMICS ON AND OF COMPLEX NETWORKS: APPLICATIONS TO BIOLOGY, COMPUTER SCIENCE, AND THE SOCIAL SCIENCES, 2009, : 199 - 215
  • [9] Teaching software evolution in open source
    Petrenko, Maksym
    Poshyvanyk, Denys
    Rajlich, Vaclav
    Buchta, Joseph
    COMPUTER, 2007, 40 (11) : 25 - +
  • [10] Investigating Evolution in Open Source Software
    McDonald, Jordan
    Greer, Des
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2019, PT V: 19TH INTERNATIONAL CONFERENCE, SAINT PETERSBURG, RUSSIA, JULY 14, 2019, PROCEEDINGS, PART V, 2019, 11623 : 242 - 256