期刊文献+

JavaScript程序动态切片技术的研究 被引量:1

Research on Dynamic Slicing Technique of JavaScript Programs
下载PDF
导出
摘要 程序切片技术可以有效地运用在程序调试之中,但因为JavaScript语言动态的特性,传统的程序切片技术难以直接运用在JavaScript程序上。本文提出一种新的动态切片技术,结合JavaScript自身的语言特性,扩展了系统依赖图对于JavaScript程序的定义,设计并实现了系统依赖图的构建算法,最后基于系统依赖图进行了程序的切片工作。实验结果表明,该技术可以有效地运用在JavaScript程序的动态程序切片中,切片结果占原程序的比重较小。 Program slicing technique can effectively facilitate program debugging,but traditional slicing technique is difficult to be directly utilized on JavaScript programs because of the dynamic feature introduced by JavaScript. In this paper,we propose a new dynamic program slicing technique. Combining with the features of Java Script,this paper extends the definition of system dependence graph for JavaScript programs and includes the design and implementation of constructing algorithm. Based on this system dependence graph,we can perform program slicing work. The experimental result shows this technique can be effectively used in slicing Java Script program and the slicing result occupies a small proportion of the original program.
出处 《计算机与现代化》 2016年第5期100-105,共6页 Computer and Modernization
基金 国家自然科学基金资助项目(61572313)
关键词 程序切片 JAVASCRIPT 动态分析 程序调试 program slicing JavaScript dynamic analysis program debugging
  • 相关文献

参考文献14

  • 1Xiong Quanren, Jaynes C. Mugshot database acquisition in video surveillance networks using incremental auto-cluste- ring quality measures[C]//Proceedings of the IEEE Con- ference on Advanced Video and Signal Based Surveillance. 2003 : 191-198.
  • 2W3C. Document Object Model (DOM) Level 3 Core Spe- cication[DB/OL]. http://www, w3. org/TR/DOM-Level- 3-Core/, 2004-04-07.
  • 3Korel B, Laski J. Dynamic program slicing[J]. Informa- tion Processing Letters, 1988,29(3):155-163.
  • 4Tip F. A survey of program slicing techniques [J]. Journal of Programming Languages, 1995,3 (3) : 121-189.
  • 5Gallagher K B, Lyle J R. Using program slicing in software maintenance[J]. IEEE Transactions on Software Engineer- ing, 1991,17(8) :751-761.
  • 6Jensen S H, Madsen M, Moiler A. Modeling the HTML DOM and browser API in static analysis of JavaScript Web applications[C]//Proceedings of the 19th ACM SIGSOFT Symposium and the 13th European Conference on Founda- tions of Software Engineering. 2011:59-69.
  • 7Madsen M, Livshits B, Fanning M. Practical static analy- sis of JavaScript applications in the presence of frameworks and libraries [C]// Proceedings of the 2013 9th Joint Meeting on Foundations of Software Engineering. 2013: 499-509.
  • 8Ocariza F, Bajaj K, Pattbiraman K, et al. An empirical study of client-side JavaScript bugs [C]// 2013 ACM/ IEEE International Symposium on Empirical Software Engi- neering and Measurement. 2013:55-64.
  • 9Bajaj K, Pattbiraman K, Mesbah A. Mining questions asked by web developers[C]// Proceedings of the llth Working Conference on Mining Software Repositories. 2014:112-121.
  • 10Horwitz S, Reps T, Binkley D. Interprocedttral slicing using dependence graphs [J]. ACM Transactions on Program- ming Languages and Systems ( TOPLAS), 1990,12 ( 1 ) : 26-60.

同被引文献10

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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