An Empirical Study of "Removed" Classes in Java']Java Open-Source Systems

被引:0
|
作者
Mubarak, Asma [1 ]
Counsell, Steve [1 ]
Hierons, Robert M. [1 ]
机构
[1] Brunel Univ, Dept Informat Syst & Comp, Uxbridge UB8 3PH, Middx, England
关键词
D O I
10.1007/978-90-481-3660-5_17
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Coupling is an omni-present and necessary feature of OO systems; ideally, classes with excessive coupling should be either refactored and/or removed from the system. However, a problem that immediately arises is the practical difficulty of effecting the removal of such classes due to the many coupling dependencies they have; it is often easier to leave classes where they are and 'work around' the problem. In this paper, we describe empirical coupling and size data of classes removed from multiple versions of four open-source systems. We investigated three related, research questions. First, does the amount of coupling influence the choice of removed class? Second, does class size play a role in that choice? Finally, is there a relationship between the frequency with which a class is changed and its point of removal from a system? Results showed a strong tendency for classes with low 'fan-in' and 'fan-out' to be candidates for removal. Evidence was also found of class types with high Imported package and external call functionality being removed; finally, size, in terms of methods and lines of code did not seem to be a contributing factor to class removal. The research addresses an area that is often overlooked in the study of evolving systems, notably the characteristics and features of classes that disappear from a system.
引用
收藏
页码:99 / 104
页数:6
相关论文
共 50 条
  • [1] Tracking Null Checks in Open-Source Java']Java Systems
    Osman, Haidar
    Leuenberger, Manuel
    Lungu, Mircea
    Nierstrasz, Oscar
    [J]. 2016 IEEE 23RD INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), VOL 1, 2016, : 304 - 313
  • [2] Classifying code comments in Java']Java open-source software systems
    Pascarella, Luca
    Bacchelli, Alberto
    [J]. 2017 IEEE/ACM 14TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2017), 2017, : 227 - 237
  • [3] Analyzing Conflict Predictors in Open-Source Java']Java Projects
    Accioly, Paola
    Borba, Paulo
    Silva, Leuson
    Cavalcanti, Guilherme
    [J]. 2018 IEEE/ACM 15TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2018, : 576 - 586
  • [4] An Open-Source Java']Java Platform for Automated Reaction Mapping
    Crabtree, John D.
    Mehta, Dinesh P.
    Kouri, Tina M.
    [J]. JOURNAL OF CHEMICAL INFORMATION AND MODELING, 2010, 50 (09) : 1751 - 1756
  • [5] On the Nature of Code Cloning in Open-Source Java']Java Projects
    Golubev, Yaroslav
    Bryksin, Timofey
    [J]. 2021 IEEE 15TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES, IWSC 2021, 2021, : 22 - 28
  • [6] SPMF: A Java']Java Open-Source Pattern Mining Library
    Fournier-Viger, Philippe
    Gomariz, Antonio
    Gueniche, Ted
    Soltani, Azadeh
    Wu, Cheng-Wei
    Tseng, Vincent S.
    [J]. JOURNAL OF MACHINE LEARNING RESEARCH, 2014, 15 : 3389 - 3393
  • [7] WEKA-Experiences with a Java']Java Open-Source Project
    Bouckaert, Remco R.
    Frank, Eibe
    Hall, Mark A.
    Holmes, Geoffrey
    Pfahringer, Bernhard
    Reutemann, Peter
    Witten, Ian H.
    [J]. JOURNAL OF MACHINE LEARNING RESEARCH, 2010, 11 : 2533 - 2541
  • [8] Source Code Features and their Dependencies: An Aggregative Statistical Analysis on Open-Source Java']Java Software Systems
    Toosi, Farshad Ghassemi
    [J]. APPLIED COMPUTER SYSTEMS, 2023, 28 (02) : 221 - 231
  • [9] Are unit and integration test definitions still valid for modern Java']Java projects? An empirical study on open-source projects
    Trautsch, Fabian
    Herbold, Steffen
    Grabowski, Jens
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 159
  • [10] An Empirical Study of Unused Design Decisions in Open Source Java']Java Software
    Tempero, Ewan
    [J]. APSEC 2008:15TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2008, : 33 - 40