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 条
  • [1] Complexity Metrics for Cascading Style Sheets
    Adewumi, Adewole
    Misra, Sanjay
    Ikhu-Omoregbe, Nicholas
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2012, PT IV, 2012, 7336 : 248 - 257
  • [2] Complexity Metrics for Sassy Cascading Style Sheets
    Ndia, John Gichuki
    Muketha, Geoffrey Muchiri
    Omieno, Kelvin Kabeti
    BALTIC JOURNAL OF MODERN COMPUTING, 2019, 7 (04): : 454 - 474
  • [3] Tool Support for Cascading Style Sheets' Complexity Metrics
    Adewumi, Adewole
    Emebo, Onyeka
    Misra, Sanjay
    Fernandez, Luis
    INTELLIGENCE IN THE ERA OF BIG DATA, ICSIIT 2015, 2015, 516 : 551 - 560
  • [4] Cascading style sheets
    Udell, J
    BYTE, 1997, 22 (11): : 97 - +
  • [5] Cascading style sheets.
    Gillespie, T
    LIBRARY JOURNAL, 1998, 123 (01) : 134 - 134
  • [6] Cascading style sheets tutorial
    Jackson, K
    Keene, S
    45TH ANNUAL CONFERENCE ON IMAGINATION, INNOVATION AND COMMUNICATION, 1998, : 292 - 292
  • [7] Cascading style sheets.
    Gillespie, T
    LIBRARY JOURNAL, 2000, 125 (12) : 134 - 134
  • [8] Cascading style sheets: Designing for the Web
    Besser, R
    TECHNICAL COMMUNICATION, 2001, 48 (03) : 340 - 344
  • [9] Cascading style sheets: Designing for the Web
    Sullivan, Bill
    TECHNICAL COMMUNICATION, 2006, 53 (04) : 475 - 476
  • [10] Cascading style sheets: The definitive guide
    Wiley, DL
    ECONTENT, 2000, 23 (06) : 86 - 86