Show simple item record

dc.contributor.authorNdia, John G.
dc.contributor.authorMuketha, Geoffrey M.
dc.contributor.authorOmieno, K. K.
dc.date.accessioned2020-07-21T12:14:39Z
dc.date.available2020-07-21T12:14:39Z
dc.date.issued2019-01
dc.identifier.citationBaltic J. Modern Computing, Vol. 7 (2019), No. 4, 454-474 https://doi.org/10.22364/bjmc.2019.7.4.01en_US
dc.identifier.urihttps://www.researchgate.net/publication/338255765_Complexity_Metrics_for_Sassy_Cascading_Style_Sheets
dc.identifier.urihttps://search.proquest.com/openview/e714a29d10007903f90ceaee8fbb8b48/1?pq-origsite=gscholar&cbl=2040245
dc.identifier.urihttp://hdl.handle.net/123456789/4412
dc.description.abstractMany front-end web developers are nowadays increasingly using sassy cascading stylesheets (SCSS) instead of the regular cascading style sheets (CSS). Despite its increased demand, SCSS has inherent complexity which arises from its features such as the use of nesting, inheritance, variables, operators, and functions. In addition, SCSS complexity, like all other software, continually increases with age. High complexity is undesirable because it leads to software that is difficult to understand, modify and test. Although there has been some metrics proposed to measure stylesheets complexity, these were defined in the context of regular CSS, and cannot be used to measure SCSS due to differences in their syntax. This paper proposes four metrics for measuring the complexity of SCSS code. The metrics have been used to calculate the complexity of three code snippets and three real-world projects and were found to be intuitional. The metrics were also evaluated using the Kaner framework and satisfied all the evaluation questions, indicating that they are sufficiently practical as required in the industry. In addition, the metrics were evaluated using Weyuker’s properties, and results show that all the four metrics satisfied seven out of the nine properties, implying that they are theoretically sound.en_US
dc.language.isoenen_US
dc.subjectSCSSen_US
dc.subjectrule blocksen_US
dc.subjectcomplexityen_US
dc.subjectcomplexity metricsen_US
dc.subjecttheoretical validationen_US
dc.titleComplexity Metrics for Sassy Cascading Style Sheetsen_US
dc.typeArticleen_US


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record