{# Audit 04/10/2026 : « autre » n'est pas un code de langue ; SPHAERO n'est pas l'éditeur des documents qu'elle héberge ou référence. #} {# citation_pdf_url doit mener à un PDF : un lien vers une page DOI est pénalisé par Google Scholar (avant : tout lien externe). #}
Accès ouvert · CC BY-SA

Complexity Metrics for Sassy Cascading Style Sheets

Article scientifique 2019 Anglais

Résumé

Many 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.

Citer ce document

Ndia, J. G., Muketha, G. M., & Omieno, K. K. (2019). Complexity Metrics for Sassy Cascading Style Sheets. Baltic Journal of Modern Computing. https://doi.org/10.22364/bjmc.2019.7.4.01

Exporter : BibTeX · RIS (Zotero, Mendeley, EndNote)

Accès au document

Texte intégral en lecture en ligne, réservé aux abonnés SPHAERO et aux membres de l'institution. Se connecter

Voir l'article sur le site de la revue

Licence et provenance

Licence : CC BY-SA

Notice moissonnée depuis OpenAlex le 01/09/2026. Le document reste hébergé par sa source.
Voir le document à la source →

Statistiques

Consultations : 5

Téléchargements : 0