Cognitive complexity as a quantifier of version to version Java']Java-based source code change: An empirical probe

被引:4
|
作者
Kaur, Loveleen [1 ]
Mishra, Ashutosh [1 ]
机构
[1] Thapar Inst Engn & Technol, Dept Comp Sci & Engn, Patiala, Punjab, India
关键词
Cognitive complexity; Software change; Software metrics; Logistic regression analysis; Machine learning; OBJECT-ORIENTED METRICS; CHANGE-PRONE CLASSES; SUITE;
D O I
10.1016/j.infsof.2018.09.002
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context It has been often argued that it is challenging to modify code fragments from existing software that contains files that are difficult to comprehend. Since systematic software maintenance includes an extensive human activity, cognitive complexity is one of the intrinsic factors that could potentially contribute to or impede an efficient software maintenance practice, the empirical validation of which remains vastly unaddressed. Objective: This study conducts an experimental analysis in which the software developer's level of difficulty in comprehending the software: the cognitive complexity, is theoretically computed and empirically evaluated for estimating its relevance to actual software change. Method: For multiple successive releases of two Java-based software projects, where the source code of a previous release has been substantively used in a novel release, we calculate the change results and the values of the cognitive complexity for each of the version's source code Java files. We construct eight datasets and build predictive models using statistical analysis and machine learning techniques. Results: The pragmatic comparative examination of the estimated cognitive complexity against prevailing metrics of software change and software complexity clearly validates the cognitive complexity metric as a noteworthy measure of version to version source code change.
引用
收藏
页码:31 / 48
页数:18
相关论文
共 50 条
  • [31] Generating Java']Java Methods: An Empirical Assessment of Four AI-Based Code Assistants
    Corso, Vincenzo
    Mariani, Leonardo
    Micucci, Daniela
    Riganelli, Oliviero
    PROCEEDINGS 2024 32ND IEEE/ACM INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, ICPC 2024, 2024, : 13 - 23
  • [32] The Impact of Version Control Operations on the Quality Change of the Source Code
    Farago, Csaba
    Hegedus, Peter
    Ferenc, Rudolf
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2014, PT V, 2014, 8583 : 353 - 369
  • [33] Characterizing logging practices in Java']Java-based open source software projects - a replication study in Apache Software Foundation
    Chen, Boyuan
    Jiang, Zhen Ming
    EMPIRICAL SOFTWARE ENGINEERING, 2017, 22 (01) : 330 - 374
  • [34] Covert Channel Elimination Technique in Java']Java Source Code Based on Security Type System
    Chen Bo
    Yu Ling
    ICCSE 2008: PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE & EDUCATION: ADVANCED COMPUTER TECHNOLOGY, NEW EDUCATION, 2008, : 278 - 282
  • [35] Behavior investigation of concurrent Java']Java programs: an approach based on source-code instrumentation
    Bechini, A
    Prete, CA
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2001, 18 (02): : 307 - 316
  • [36] Tatool: A Java-based open-source programming framework for psychological studies
    Claudia C. von Bastian
    André Locher
    Michael Ruflin
    Behavior Research Methods, 2013, 45 : 108 - 115
  • [37] O3-RWS: a Java']Java-based, IHE-compliant open-source radiology workstation
    Faustini, G.
    Inchingolo, P.
    11TH MEDITERRANEAN CONFERENCE ON MEDICAL AND BIOLOGICAL ENGINEERING AND COMPUTING 2007, VOLS 1 AND 2, 2007, 16 (1-2): : 727 - +
  • [38] Reducing energy usage in resource-intensive Java']Java-based scientific applications via micro-benchmark based code refactorings
    Longo, Mathias
    Rodriguez, Ana
    Mateos, Cristian
    Zunino, Alejandro
    COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2019, 16 (02) : 541 - 564
  • [39] Java source code protection based on JNI and AES algorithm
    Hong, Zhao
    Nan, Guo
    Proceedings - 2017 IEEE International Conference on Computational Science and Engineering and IEEE/IFIP International Conference on Embedded and Ubiquitous Computing, CSE and EUC 2017, 2017, 1 : 846 - 849
  • [40] Variance of Source Code Quality Change Caused by Version Control Operations
    Farago, Csaba
    ACTA CYBERNETICA, 2015, 22 (01): : 35 - 56