Inicio  /  Computers  /  Vol: 8 Par: 3 (2019)  /  Artículo
ARTÍCULO
TITULO

A Complexity Metrics Suite for Cascading Style Sheets

Adewole Adewumi    
Sanjay Misra and Robertas Dama?evicius    

Resumen

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.

 Artículos similares

       
 
Fadi Shaar, Arif Yilmaz, Ahmet Ercan Topcu and Yehia Ibrahim Alzoubi    
Recognizing aircraft automatically by using satellite images has different applications in both the civil and military sectors. However, due to the complexity and variety of the foreground and background of the analyzed images, it remains challenging to ... ver más
Revista: Applied Sciences

 
Falah Amer Abdulazeez, Ismail Taha Ahmed and Baraa Tareq Hammad    
A significant quantity of malware is created on purpose every day. Users of smartphones and computer networks now mostly worry about malware. These days, malware detection is a major concern in the cybersecurity area. Several factors can impact malware d... ver más
Revista: Applied Sciences

 
Fahad Alshehri and Mark Ross    
This hydrological study investigated a combined rating methodology tested on a 14,090 km2 area in Southwest Florida. The approach applied the Hydrological Simulation Program-Fortran (HSPF) over a 23-year period and was validated by 28 stream gauging stat... ver más
Revista: Water

 
Ali Uzunlar and Muhammet Omer Dis    
The hydrological cycle should be scrutinized and investigated under recent climate change scenarios to ensure global water management and to increase its utilization. Although the FAO proposed the use of the Penman?Monteith (PM) equation worldwide to pre... ver más
Revista: Water

 
Yahya Tashtoush, Noor Abu-El-Rub, Omar Darwish, Shorouq Al-Eidi, Dirar Darweesh and Ola Karajeh    
Code readability and software complexity are considered essential components of software quality. They significantly impact software metrics, such as reusability and maintenance. The maintainability process consumes a high percentage of the software life... ver más
Revista: Information