首页 | 本学科首页   官方微博 | 高级检索  
     

使用抽象语法树匹配分析Java程序演化
引用本文:周逸勋,陈海波.使用抽象语法树匹配分析Java程序演化[J].计算机应用与软件,2011,28(8).
作者姓名:周逸勋  陈海波
作者单位:复旦大学并行处理研究所,上海,201203
摘    要:软件在生命周期中一直在发生演化,对软件演化的分析可以揭示软件发展的一些基本规律。现有方法通常使用改变的代码行数作为软件演化的指标,但是这项指标不能反映软件架构的变化,也不能帮助理解软件演化的具体情况。使用抽象语法树匹配ATS(Abstract Syntax Tree)进行代码分析能够更清楚地了解软件中发生改变的具体内容。针对Java语言编写的软件,可以了解静态域的添加、删除和类型修改;类的添加、删除、类型修改和方法体修改。这些信息能更好地帮助理解软件演化。

关 键 词:软件演化  抽象语法树匹配  演化分析  

ANALYSING JAVA PROGRAM EVOLUTION USING Abstract SYNTAX TREE MATCHING
Zhou Yixun,Chen Haibo.ANALYSING JAVA PROGRAM EVOLUTION USING Abstract SYNTAX TREE MATCHING[J].Computer Applications and Software,2011,28(8).
Authors:Zhou Yixun  Chen Haibo
Affiliation:Zhou Yixun Chen Haibo(Institute of Parallel Processing,Fudan University,Shanghai 201203,China)
Abstract:Applications evolve during their whole lifecycle,and the analysis on these evolutions can reveal some of the fundamental rules in software development.Existing tools usually use varying LOC(line of code) as the index of software evolution,but it can neither indicate the changes in software architectures nor help to comprehend the specific situation of software evolution.Using AST(Abstract syntax tree) matching to analyse the code is able to get a better understanding on the changed concrete contents in the ...
Keywords:Software evolution AST matching Evolution analysis  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号