년 - 년
Efficient Metric Vector-Based Code Clone Detection Using Function-calling Tree
보안공학연구지원센터(IJHIT) International Journal of Hybrid Information Technology Vol.8 No.11 2015.11 pp.139-150
※ 원문제공기관과의 협약기간이 종료되어 열람이 제한될 수 있습니다.
Most traditional code clone detections have less accurate results because they ignore the structure of the program itself, and some of them really think about it by creating a complex syntax tree but leading to a high time complexity. Confronting such situation, this paper proposes an efficient metric vector-based code clone detection method using function-calling tree. Considering the two program code to be detected, feature vectors in all defined functions of the two different code are extracted first. Then, two function-calling trees are created according to the function-calling process and node matches each other between two trees, at the same time, the matching similarities are calculated. Finally, by using the bottom-up approach and combining similarity values of all child nodes, the detection can get the similarity of the two program code to be detected. Our experiment selects a set of typical code sample to measure and the results demonstrate that, compared the famous JPlag system, it shows better detection effect.
Extract Function Clone Genealogies across Multiple Versions SCOPUS
보안공학연구지원센터(IJSIA) International Journal of Security and Its Applications Vol.9 No.6 2015.06 pp.167-182
※ 원문제공기관과의 협약기간이 종료되어 열람이 제한될 수 있습니다.
Software systems often contain plenty of code clones, which bring significant impact on software development and maintenance. Tracking clones in the evolution process is essential to analyzing clones, since we cannot understand clone phenomenon well just rely on the clone detection results of single version. We developed a function clone genealogy extractor, cGen, which can track clones across multiple versions to extract type-1 and type-2 function clone genealogies. By using cGen, we examine nine open source C projects and analyze their evolution. Our study shows that cGen can efficiently extract clone genealogies from multiple versions of a project, and provide support for clone evolution analysis.
Extracting Clone Genealogies for Tracking Code Clone Changes SCOPUS
보안공학연구지원센터(IJSIA) International Journal of Security and Its Applications Vol.10 No.3 2016.03 pp.21-28
※ 원문제공기관과의 협약기간이 종료되어 열람이 제한될 수 있습니다.
Software system’s clones are usually two aspects influence on software maintenance and management. One is some clones are effective and can reuse. The other is some clones are unsafe and need revise or reconfiguration. The reason is that the changes of code clones are different. How to determine the clones' attribute of effective or unsafe, it need to track clone changes in the evolution versions of a software system. We firstly find the clones and clone groups in multiple versions of a software system using a clone detector FCD, and construct the mapping of every adjacent version basing on the similarity of code clones, then extract clone genealogies in the software system. The clone genealogies’ results are efficient and can help us analysis the code clone changes and get the attribute about effective and unsafe.
The Prediction of Code Clone Quality Based on Bayesian Network SCOPUS
보안공학연구지원센터(IJSEIA) International Journal of Software Engineering and Its Applications Vol.10 No.4 2016.04 pp.47-56
※ 원문제공기관과의 협약기간이 종료되어 열람이 제한될 수 있습니다.
This paper researched on the quality of code clone in the software, evaluated the code clone quality of the current versions. Then using Bayesian network to train the existing sample data to get the prediction model of code clone that is able to predict the quality. The prediction results are able to help developers decide which code clone should be reconstructed or efficiently reused. The experiment shows that the method can be used to predict the quality of code clone in software more accurately.
Domain Analysis of Device Drivers Using Code Clone Detection Method
[Kisti 연계] 한국전자통신연구원 ETRI journal Vol.30 No.3 2008 pp.394-402
※ 협약을 통해 무료로 제공되는 자료로, 원문이용 방식은 연계기관의 정책을 따르고 있습니다.
Domain analysis is the process of analyzing related software systems in a domain to find their common and variable parts. In the case of device drivers, they are highly suitable for domain analysis because device drivers of the same domain are implemented similarly for each device and each system that they support. Considering this characteristic, this paper introduces a new approach to the domain analysis of device drivers. Our method uses a code clone detection technique to extract similarity among device drivers of the same domain. To examine the applicability of our method, we investigated whole device drivers of a Linux source. Results showed that many reusable similar codes can be discerned by the code clone detection method. We also investigated if our method is applicable to other kernel sources. However, the results show that the code clone detection method is not useful for the domain analysis of all kernel sources. That is, the applicability of the code clone detection method to domain analysis is a peculiar feature of device drivers.
0개의 논문이 장바구니에 담겼습니다.
선택하신 파일을 압축중입니다.
잠시만 기다려 주십시오.