DocumentCode
3385264
Title
CSS Code Quality: A Metric for Abstractness; Or Why Humans Beat Machines in CSS Coding
Author
Keller, Matthias ; Nussbaumer, Martin
Author_Institution
Steinbuch Centre for Comput. (SCC), Karlsruhe Inst. of Technol. (KIT), Karlsruhe, Germany
fYear
2010
fDate
Sept. 29 2010-Oct. 2 2010
Firstpage
116
Lastpage
121
Abstract
Authoring CSS is a complex, time consuming task requiring not only skilled human graphic designers but also skilled human coders. Practice shows that today human authored code is still superior to machine generated CSS, but the code characteristics which make the difference have not been researched or even quantified yet. In this paper we introduce the abstractness factor, a quality metric which reveals the advantages of human authored code and can serve as an optimization criterion and benchmark for automated CSS coding. We argue that a high abstractness factor represents a high maintainability and reusability of the presentation document as well as the content document. By an evaluation of 100,000 HTML pages randomly gathered from the Web we show that today´s typical style sheet document has a significantly higher abstractness factor compared to code fully machine generated by state-of-the-art applications.
Keywords
document handling; encoding; CSS code quality; CSS coding; abstractness factor; abstractness metric; cascading style sheets; human authored code; quality metric; Complexity theory; Encoding; Graphics; HTML; Humans; Measurement; Semantics; Cascading style sheets; code quality; presentation authoring; quality metrics;
fLanguage
English
Publisher
ieee
Conference_Titel
Quality of Information and Communications Technology (QUATIC), 2010 Seventh International Conference on the
Conference_Location
Porto
Print_ISBN
978-1-4244-8539-0
Electronic_ISBN
978-0-7695-4241-6
Type
conf
DOI
10.1109/QUATIC.2010.25
Filename
5654791
Link To Document