Paper Abstract and Keywords |
Presentation |
2008-03-03 14:35
Token Comparison Approach to Detect Code Clone-related Bugs Yii Yong Lee, Yasuhiro Hayase, Makoto Matsushita, Katsuro Inoue (Osaka Univ.) SS2007-64 |
Abstract |
(in Japanese) |
(See Japanese page) |
(in English) |
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 tokenizes 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. |
Keyword |
(in Japanese) |
(See Japanese page) |
(in English) |
Software Maintenance / Inconsistent Change / Code Clone-related Bug / / / / / |
Reference Info. |
IEICE Tech. Rep., vol. 107, no. 505, SS2007-64, pp. 43-48, March 2008. |
Paper # |
SS2007-64 |
Date of Issue |
2008-02-25 (SS) |
ISSN |
Print edition: ISSN 0913-5685 Online edition: ISSN 2432-6380 |
Copyright and reproduction |
All rights are reserved and no part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopy, recording, or any information storage and retrieval system, without permission in writing from the publisher. Notwithstanding, instructors are permitted to photocopy isolated articles for noncommercial classroom use without fee. (License No.: 10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
Download PDF |
SS2007-64 |
Conference Information |
Committee |
SS |
Conference Date |
2008-03-03 - 2008-03-04 |
Place (in Japanese) |
(See Japanese page) |
Place (in English) |
Nagasaki Univ. |
Topics (in Japanese) |
(See Japanese page) |
Topics (in English) |
general |
Paper Information |
Registration To |
SS |
Conference Code |
2008-03-SS |
Language |
English |
Title (in Japanese) |
(See Japanese page) |
Sub Title (in Japanese) |
(See Japanese page) |
Title (in English) |
Token Comparison Approach to Detect Code Clone-related Bugs |
Sub Title (in English) |
|
Keyword(1) |
Software Maintenance |
Keyword(2) |
Inconsistent Change |
Keyword(3) |
Code Clone-related Bug |
Keyword(4) |
|
Keyword(5) |
|
Keyword(6) |
|
Keyword(7) |
|
Keyword(8) |
|
1st Author's Name |
Yii Yong Lee |
1st Author's Affiliation |
Osaka University (Osaka Univ.) |
2nd Author's Name |
Yasuhiro Hayase |
2nd Author's Affiliation |
Osaka University (Osaka Univ.) |
3rd Author's Name |
Makoto Matsushita |
3rd Author's Affiliation |
Osaka University (Osaka Univ.) |
4th Author's Name |
Katsuro Inoue |
4th Author's Affiliation |
Osaka University (Osaka Univ.) |
5th Author's Name |
|
5th Author's Affiliation |
() |
6th Author's Name |
|
6th Author's Affiliation |
() |
7th Author's Name |
|
7th Author's Affiliation |
() |
8th Author's Name |
|
8th Author's Affiliation |
() |
9th Author's Name |
|
9th Author's Affiliation |
() |
10th Author's Name |
|
10th Author's Affiliation |
() |
11th Author's Name |
|
11th Author's Affiliation |
() |
12th Author's Name |
|
12th Author's Affiliation |
() |
13th Author's Name |
|
13th Author's Affiliation |
() |
14th Author's Name |
|
14th Author's Affiliation |
() |
15th Author's Name |
|
15th Author's Affiliation |
() |
16th Author's Name |
|
16th Author's Affiliation |
() |
17th Author's Name |
|
17th Author's Affiliation |
() |
18th Author's Name |
|
18th Author's Affiliation |
() |
19th Author's Name |
|
19th Author's Affiliation |
() |
20th Author's Name |
|
20th Author's Affiliation |
() |
Speaker |
Author-1 |
Date Time |
2008-03-03 14:35:00 |
Presentation Time |
25 minutes |
Registration for |
SS |
Paper # |
SS2007-64 |
Volume (vol) |
vol.107 |
Number (no) |
no.505 |
Page |
pp.43-48 |
#Pages |
6 |
Date of Issue |
2008-02-25 (SS) |
|