首页> 外文会议>Seventh International Quality of Information and Communications Technology >CSS Code Quality: A Metric for Abstractness; Or Why Humans Beat Machines in CSS Coding
【24h】

CSS Code Quality: A Metric for Abstractness; Or Why Humans Beat Machines in CSS Coding

机译:CSS代码质量:抽象性度量;还是人类为什么在CSS编码中击败机器

获取原文

摘要

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ȁ9;s typical style sheet document has a significantly higher abstractness factor compared to code fully machine generated by state-of-the-art applications.
机译:编写CSS是一项复杂且耗时的任务,不仅需要熟练的图形设计人员,而且需要熟练的编码人员。实践表明,如今,人类编写的代码仍然优于机器生成的CSS,但是造成差异的代码特征尚未得到研究,甚至尚未量化。在本文中,我们介绍了抽象性因素,这是一种质量度量标准,可以揭示人工编写代码的优点,并且可以用作自动CSS编码的优化标准和基准。我们认为,较高的抽象度表示表示文档以及内容文档具有较高的可维护性和可重用性。通过对从Web上随机收集的100,000个HTML页面进行的评估,我们发现,与最先进的应用程序完全使用机器生成的代码相比,今天的典型样式表文档9具有明显更高的抽象度。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号