作者: K. Maruyama , S. Yamamoto
DOI: 10.1109/WPC.2005.17
关键词: Computer science 、 Programming language 、 Software engineering 、 Software maintenance 、 Code refactoring 、 XML 、 Source code 、 Object-oriented programming 、 Program Dependence Graph 、 Abstract syntax tree 、 Control flow graph
摘要: Refactoring is an essential and useful practice in developing maintaining object-oriented software since it improves the design of existing code without changing its external behavior. Therefore, several refactoring tools tend to be integrated into contemporary IDEs. However, these represent source as abstract syntax tree (AST) thus their implementations are hard extend modify. This paper presents Jrbx, a tool that uses fine-grained XML representation supports stylized manipulations representation. Moreover, Jrbx aggressively exploits control flow graphs (CFGs) program dependence (PDGs) for both precondition checking change creation. The use XML, CFG, PDG representations makes implementation more understandable reusable, facilitates developers creating new refactorings modifying ones.