A Complexity Metrics Suite for Cascading Style Sheets

Loading...
Publication Logo

Date

2019

Journal Title

Journal ISSN

Volume Title

Publisher

Mdpi

Open Access Color

GOLD

Green Open Access

Yes

OpenAIRE Downloads

OpenAIRE Views

Publicly Funded

No
Impulse
Average
Influence
Average
Popularity
Average

Research Projects

Journal Issue

Abstract

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.

Description

Damaševičius, Robertas/0000-0001-9990-1084; Misra, Sanjay/0000-0002-3556-9331;

Keywords

CSS, software complexity metrics, software maintainability, metric validation, software complexity metrics, Electronic computers. Computer science, QA75.5-76.95, software maintainability, metric validation, CSS

Fields of Science

0202 electrical engineering, electronic engineering, information engineering, 02 engineering and technology

Citation

WoS Q

Q2

Scopus Q

Q2
OpenCitations Logo
OpenCitations Citation Count
2

Source

Computers

Volume

8

Issue

3

Start Page

54

End Page

Collections

PlumX Metrics
Citations

CrossRef : 2

Scopus : 1

Captures

Mendeley Readers : 23

Google Scholar Logo
Google Scholar™
OpenAlex Logo
OpenAlex FWCI
0.3518

Sustainable Development Goals