期刊文献+

一种自动分析CSS的改进方法研究 被引量:1

An improved automatic CSS analysis method
下载PDF
导出
摘要 CILLA是一种通过动态获取DOM树来自动分析层叠样式表(CSS)的方法,它能发现Web应用中无效或无用的CSS代码段。但是,该方法在分析带伪类选择器的CSS、带属性选择器的CSS、在页面元素属性内部声明的CSS以及动态生成的CSS时误报率较高。提出了一种改进的CILLA方法,实验结果表明,改进后的方法能平均降低分析误报率20%。 CILLA is an automatic Cascading Style Sheets (CSS) analysis method by obtaining Docu- ment Object Model (DOM) tree dynamically. It can find out the effectless and useless CSS code snippets in Web applications. However, there is a high false positive rate when using CILLA to analyze CSS with Pseudo-Classes, CSS with attribute selector, CSS declared in the attribute of page element, or CSS gen- erated automatically. An improved CILLA method is proposed to solve these problems. The experimen- tal result shows that the improved method can reduce 20% false positive rate on average.
出处 《计算机工程与科学》 CSCD 北大核心 2014年第3期475-480,共6页 Computer Engineering & Science
基金 国家973计划资助项目(2012CB315801) 国家自然科学基金资助项目(61173167)
关键词 层叠样式表 文档对象模型 误报率 cascading style sheets document object model false positive
  • 相关文献

参考文献9

  • 1Badros G,Borning A, Marriott K. Constraint cascading style sheets for the web[C]//Proc of the 12th Annual ACM Symposi um on User Interface Software and Technology, 1999:73-82.
  • 2Keller M, Nussbaumer M. CSS code quality: A metric for abstractness: or why humans beat machines in CSS coding [C]//Proc of the 7th International Conference on the Quality of Information and Communications Technology (QUATIC' 10), 2010 : 116-121.
  • 3Keller M, Nussbaumer M. Cascading style sheets: A novel approach towards productive styling with today's standards [C]//Proc of the 18th International Conference on World Wide Web, 2009 : 1161-1162.
  • 4Aho A V, Lam M S, Sethi R, et al. Compilers:Principles, techniques,and tools[M]. 2nd ed. New York: Addison Wes ley, 2008:337-342.
  • 5Debray S K, Evans W, Muth R. Compiler techniques for code compaction [J]. ACM Transactions on Programming Languages and Systems,2000,22(2):378-415.
  • 6Tip F,Sweeney P F,Laffra C,et al. Practical extraction tech niques for Java[J]. ACM Transactions on Programming Lan- guages and Systems, 2002,24(6) :625-666.
  • 7Mesbah A, Mirshokraie S. Automated analysis of CSS rules to support style maintenance[C]// Proc of the 34th ACM/ IEEE International Conference on Software Engineering (ICSE' 12) ,2012:440-450.
  • 8Zou Jie, Le D, Thoma G R. Combining DOM tree and geo metric layout analysis for online medical journal article seg- mentation[C]//Proc of the 6th ACM/IEEE-CS Joint Confer ence on Digital Libraries, 2006 : 119-128.
  • 9Mesbah A, Bozdag E, van Deursen A. Crawling Ajax by in ferring user interface state changes[C]//Proc of the 8th In- ternational Conference on Web Engineering ( ICWE' 08 ), 2008:122-134.

同被引文献16

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部