A Complexity Metrics Suite for Cascading Style Sheets

被引:1
|
作者
Adewumi, Adewole [1 ]
Misra, Sanjay [1 ,2 ]
Damasevicius, Robertas [3 ]
机构
[1] Covenant Univ, Dept Comp & Informat Sci, Ota 0123, Nigeria
[2] Atilim Univ, Dept Comp Engn, TR-06830 Ankara, Turkey
[3] Kaunas Univ Technol, Dept Software Engn, LT-51368 Kaunas, Lithuania
关键词
CSS; software complexity metrics; software maintainability; metric validation; WEYUKERS PROPERTIES; MAINTAINABILITY; QUALITY;
D O I
10.3390/computers8030054
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
We perform a theoretical and empirical analysis of a set of Cascading Style Sheets (CSS) document complexity metrics. The metrics are validated using a practical framework that demonstrates their viability. The theoretical analysis is performed using the Weyuker's properties-a widely adopted approach to conducting empirical validations of metrics proposals. The empirical analysis is conducted using visual and statistical analysis of distribution of metric values, Cliff's delta, Chi-square and Liliefors statistical normality tests, and correlation analysis on our own dataset of CSS documents. The results show that five out of the nine metrics (56%) satisfy Weyuker's properties except for the Number of Attributes Defined per Rule Block (NADRB) metric, which satisfies six out of nine (67%) properties. In addition, the results from the statistical analysis show good statistical distribution characteristics (only the Number of Extended Rule Blocks (NERB) metric exceeds the rule-of-thumb threshold value of the Cliff's delta). The correlation between the metric values and the size of the CSS documents is insignificant, suggesting that the presented metrics are indeed complexity rather than size metrics. The practical application of the presented CSS complexity metric suite is to assess the risk of CSS documents. The proposed CSS complexity metrics suite allows identification of CSS files that require immediate attention of software maintenance personnel.
引用
收藏
页数:18
相关论文
共 50 条
  • [41] Mastering style sheets
    Bremser, W
    INTERNET WORLD, 1998, 9 (01): : 104 - &
  • [42] Metrics for innovation: Guidelines for developing a customized suite of innovation metrics
    Muller, Amy
    Välikangas, Liisa
    Merlyn, Paul
    IEEE Engineering Management Review, 2005, 33 (04): : 66 - 72
  • [43] A Metrics Suite for code annotation assessment
    Lima, Phyllipe
    Guerra, Eduardo
    Meirelles, Paulo
    Kanashiro, Lucas
    Silva, Helio
    Silveira, Fabio Fagundes
    JOURNAL OF SYSTEMS AND SOFTWARE, 2018, 137 : 163 - 183
  • [44] A metrics suite for concurrent logic programs
    Zhao, JJ
    Cheng, JD
    Ushijima, K
    SECOND EUROMICRO CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING, PROCEEDINGS, 1998, : 172 - 178
  • [45] A metrics suite for UML model stability
    AbuHassan, Amjad
    Alshayeb, Mohammad
    SOFTWARE AND SYSTEMS MODELING, 2019, 18 (01): : 557 - 583
  • [46] A metrics suite for UML model stability
    Amjad AbuHassan
    Mohammad Alshayeb
    Software & Systems Modeling, 2019, 18 : 557 - 583
  • [47] Altera suite handles complexity
    Goering, Richard
    Electronic Engineering Times, 2006, (1422)
  • [48] The Parameterized Complexity of Cascading Portfolio Scheduling
    Eiben, Eduard
    Ganian, Robert
    Kanj, Iyad
    Szeider, Stefan
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 32 (NIPS 2019), 2019, 32
  • [49] SOFTWARE COMPLEXITY METRICS
    HARRISON, WA
    JOURNAL OF SYSTEMS MANAGEMENT, 1984, 35 (07): : 28 - 30
  • [50] Complexity: Metrics and modules
    Bossomaier, T
    ADVANCES IN COMPLEX SYSTEMS, 2003, 6 (03): : 313 - 329