An empirical study of slice-based cohesion and coupling metrics

被引:48
|
作者
Meyers, Timothy M. [1 ]
Binkley, David [1 ]
机构
[1] Loyola Coll, Baltimore, MD 21210 USA
关键词
slicing; cohesion; coupling; reengineering; software intervention;
D O I
10.1145/1314493.1314495
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software reengineering is a costly endeavor, due in part to the ambiguity of where to focus reengineering effort. Coupling and Cohesion metrics, particularly quantitative cohesion metrics, have the potential to aid in this identification and to measure progress. The most extensive work on such metrics is with slice-based cohesion metrics. While their use of semantic dependence information should make them an excellent choice for cohesion measurement, their wide spread use has been impeded in part by a lack of empirical study. Recent advances in software tools make, for the first time, a large-scale empirical study of slice-based cohesion and coupling metrics possible. Four results from such a study are presented. First, "head-to-head" qualitative and quantitative comparisons of the metrics identify which metrics provide similar views of a program and which provide unique views of a program. This study includes statistical analysis showing that slice-based metrics are not proxies for simple size-based metrics such as lines of code. Second, two longitudinal studies show that slice-based metrics quantify the deterioration of a program as it ages. This serves to validate the metrics: the metrics quantify the degradation that exists during development; turning this around, the metrics can be used to measure the progress of a reengineering effort. Third, baseline values for slice-based metrics are provided. These values act as targets for reengineering efforts with modules having values outside the expected range being the most in need of attention. Finally, slice-based coupling is correlated and compared with slice-based cohesion.
引用
收藏
页数:27
相关论文
共 50 条
  • [1] An empirical investigation into the effect of slice types on slice-based cohesion metrics
    Yang, Yibiao
    Zhao, Yangyang
    Liu, Changsong
    Lu, Hongmin
    Zhou, Yuming
    Xu, Baowen
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2016, 75 : 90 - 104
  • [2] A THEORETICAL AND EMPIRICAL ANALYSIS OF THREE SLICE-BASED METRICS FOR COHESION
    Counsell, S.
    Hall, T.
    Bowes, D.
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2010, 20 (05) : 609 - 636
  • [3] Slice-based cohesion metrics and software intervention
    Meyers, TM
    Binkley, D
    [J]. 11TH WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS, 2004, : 256 - 265
  • [4] Towards the Use of Slice-based Cohesion Metrics with Learning Analytics to Assess Programming Skills
    Kesselbacher, Max
    Bollin, Andreas
    [J]. 2021 THIRD INTERNATIONAL WORKSHOP ON SOFTWARE ENGINEERING EDUCATION FOR THE NEXT GENERATION (SEENG 2021), 2021, : 6 - 10
  • [5] Are Slice-Based Cohesion Metrics Actually Useful in Effort-Aware Post-Release Fault-Proneness Prediction? An Empirical Study
    Yang, Yibiao
    Zhou, Yuming
    Lu, Hongmin
    Chen, Lin
    Chen, Zhenyu
    Xu, Baowen
    Leung, Hareton
    Zhang, Zhenyu
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2015, 41 (04) : 331 - 357
  • [6] Slice-Based Cognitive Complexity Metrics for Defect Prediction
    Alqadi, Basma S.
    Maletic, Jonathan, I
    [J]. PROCEEDINGS OF THE 2020 IEEE 27TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER '20), 2020, : 411 - 422
  • [7] Slice-Based Analog Design
    Walker, Pablo
    Pedro Ochoa-Ricoux, Juan
    Abusleme, Angel
    [J]. IEEE ACCESS, 2021, 9 : 148164 - 148183
  • [8] Slice-based dynamic memory modelling - A case study
    Sivagurunathan, Y
    Harman, M
    Sivagurunathan, B
    [J]. 26TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, PROCEEDINGS, 2002, : 351 - 356
  • [9] Ontology Cohesion and Coupling Metrics
    Kumar, Sandeep
    Baliyan, Niyati
    Sukalikar, Shriya
    [J]. INTERNATIONAL JOURNAL ON SEMANTIC WEB AND INFORMATION SYSTEMS, 2017, 13 (04) : 1 - 26
  • [10] SLICE-based Trustworthiness Analysis system
    Hong, Kang-Woon
    Park, Dong-Hwan
    [J]. 2018 INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGY CONVERGENCE (ICTC), 2018, : 1389 - 1390