Token comparison approach to detect code clone-related bugs (ソフトウェアサイエンス)
スポンサーリンク
概要
- 論文の詳細を見る
Large software tends to have a significant amount of similar code, commonly known as code clones. Often the code clones are introduced through copy-and paste process for code reuse purpose where the pasted code usually will go through some modifications such as renaming of identifiers and changing of parameters. In this paper, we propose a method using token comparison approach to detect bugs caused by abovementioned modifications. Our method tokenizas detected clones and performs a comparison to find out inconsistencies between them. The inconsistencies are then ranked based on predefined metrics to produce a bug candidate list. We implemented our method and tested on open source software. Our tool has found real bugs from the test subject. We believe our tool is suitable to serve the purpose of detecting code clone-related bugs in large software.
- 社団法人電子情報通信学会の論文
- 2008-02-25
著者
-
INOUE Katsuro
Graduate School of Information Science and Technology, Osaka University
-
Inoue Katsuro
Graduate School Of Engineering Science Osaka University
-
YII YongLee
Graduate School of Information Science and Technology, Osaka University
-
HAYASE Yasuhiro
Graduate School of Information Science and Technology, Osaka University
-
MATSUSHITA Makoto
Graduate School of Information Science and Technology, Osaka University
-
Hayase Yasuhiro
Graduate School Of Information Science And Technology Osaka University
-
Matsushita Makoto
Graduate School Of Information Science And Technology Osaka University
-
Yii Yonglee
Graduate School Of Information Science And Technology Osaka University
関連論文
- Effectiveness of an Integrated CASE Tool for Productivity and Quality of Software Developments(Software Engineering)
- Comparing Reading Techniques for Object-Oriented Design Inspection(Software Engineering)
- Extended Metrics to Evaluate Cost Effectiveness of Software Inspections(Software Engineering)
- Empirical Evaluation of Method Complexity for C++ Program
- A Program Slicing Method Using Lightweight Dynamic Information
- Token comparison approach to detect code clone-related bugs (ソフトウェアサイエンス)
- Java Slicing Tool Using Alias Relation
- A Prototype of Comparison Tool for Android Applications Based on Difference of API Calling Sequences
- Finding Code Clones for Refactoring with Clone Metrics : A Case Study of Open Source Software
- Towards Logging Optimization for Dynamic Object Process Graph Construction
- Semi-Automatically Extracting Features from Source Code of Android Applications
- A Clone Detection Approach for a Collection of Similar Large-Scale Software Products (ソフトウェアサイエンス)