Skip to main content
Top

2021 | OriginalPaper | Chapter

CCFinderX: An Interactive Code Clone Analysis Environment

Author : Toshihiro Kamiya

Published in: Code Clone Analysis

Publisher: Springer Singapore

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

CCFinderX is a successor tool that advances the concepts of CCFinder (2002) and Gemini (2002), and is a standalone environment for code clone detection and analysis. CCFinderX is designed as an interactive analysis environment that allows users to switch between views of scatter plot, file, metrics, and source text, for applying to large code bodies. This chapter describes the features of these views, such as the display content, operations for coordination between views, metrics for files and clone classes, and the revamped code clone detection algorithm.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Footnotes
2
The Linux Kernel Archives, https://​www.​kernel.​org/​.
 
4
A CCFinder paper from 2002 [7] also shows a scatter plot of the results of similar code clone detection at that time. At that time, the size of each product was about 2M to 2.5M LOC of source files, so we can see that the size has increased about 10 times in 20 years.
 
Literature
1.
go back to reference B. Baker, On finding duplication and near-duplication in large software systems, in Proceedings of the 2nd Working Conference on Reverse Engineering (WCRE 1995) (1995), pp. 86–95 B. Baker, On finding duplication and near-duplication in large software systems, in Proceedings of the 2nd Working Conference on Reverse Engineering (WCRE 1995) (1995), pp. 86–95
2.
go back to reference Baxter, I., Yahin, A., Moura, L., Anna, M., Clone detection using abstract syntax trees, in Proceedings of the 14th International Conference on Software Maintenance (ICSM 1998) (1998), pp. 368–377 Baxter, I., Yahin, A., Moura, L., Anna, M., Clone detection using abstract syntax trees, in Proceedings of the 14th International Conference on Software Maintenance (ICSM 1998) (1998), pp. 368–377
3.
go back to reference S. Bellon, R. Koschke, G. Antoniol, J. Krinke, E. Merlo, Comparison and evaluation of clone detection tools. IEEE Trans. Softw. Eng. 33(9), 577–591 (2007)CrossRef S. Bellon, R. Koschke, G. Antoniol, J. Krinke, E. Merlo, Comparison and evaluation of clone detection tools. IEEE Trans. Softw. Eng. 33(9), 577–591 (2007)CrossRef
4.
go back to reference K. Church, J. Helfman, Dotplot: a program for exploring self-similarity in millions of lines for text and code. J. Am. Stat. Assoc. 2(2), 153–174 (1993) K. Church, J. Helfman, Dotplot: a program for exploring self-similarity in millions of lines for text and code. J. Am. Stat. Assoc. 2(2), 153–174 (1993)
5.
go back to reference Higo, Y., Ueda, Y., Kamiya, T., Kusumoto, S., Inoue, K., On software maintenance process improvement based on code clone analysis, in Proceedings of the 4th International Conference on Product Focused Software Process Improvement, (PROFES 2002) (2002), pp. 185–197 Higo, Y., Ueda, Y., Kamiya, T., Kusumoto, S., Inoue, K., On software maintenance process improvement based on code clone analysis, in Proceedings of the 4th International Conference on Product Focused Software Process Improvement, (PROFES 2002) (2002), pp. 185–197
6.
go back to reference Johnson, J., Substring matching for clone detection and change tracking, in Proceedings of the 10th International Conference on Software Maintenance, ICSM 1994 (1994), pp. 120–126 Johnson, J., Substring matching for clone detection and change tracking, in Proceedings of the 10th International Conference on Software Maintenance, ICSM 1994 (1994), pp. 120–126
7.
go back to reference T. Kamiya, S. Kusumoto, K. Inoue, CCFinder: a multilinguistic token-based code clone detection system for large scale source code. IEEE Trans. Softw. Eng. 28(7), 654–670 (2002)CrossRef T. Kamiya, S. Kusumoto, K. Inoue, CCFinder: a multilinguistic token-based code clone detection system for large scale source code. IEEE Trans. Softw. Eng. 28(7), 654–670 (2002)CrossRef
8.
go back to reference Komondoor, R., Horwitz, S., Using slicing to identify duplication in source code, in Proceedings of the 8th International Symposium on Static Analysis, SAS 2001 (2001), pp. 40–56 Komondoor, R., Horwitz, S., Using slicing to identify duplication in source code, in Proceedings of the 8th International Symposium on Static Analysis, SAS 2001 (2001), pp. 40–56
9.
go back to reference K. Kontogiannis, R. DeMori, E. Merlo, M. Galler, M. Bernstein, Pattern matching for clone and concept detection. J. Autom. Softw. Eng. 3(1–2), 77–108 (1996)MathSciNetCrossRef K. Kontogiannis, R. DeMori, E. Merlo, M. Galler, M. Bernstein, Pattern matching for clone and concept detection. J. Autom. Softw. Eng. 3(1–2), 77–108 (1996)MathSciNetCrossRef
10.
go back to reference Krinke, J., Identifying similar code with program dependence graphs, in Proceedings of the 8th Working Conference on Reverse Engineering (WCRE 2001) (2001), pp. 301–309 Krinke, J., Identifying similar code with program dependence graphs, in Proceedings of the 8th Working Conference on Reverse Engineering (WCRE 2001) (2001), pp. 301–309
11.
go back to reference Livieri, S., Higo, Y., Matsushita, M., Inoue, K., Very-large scale code clone analysis and visualization of open source programs using distributed CCFinder, in Proceedings of the 29th International Conference on Software Engineering (ICSE 2007) (2007), pp. 106–115 Livieri, S., Higo, Y., Matsushita, M., Inoue, K., Very-large scale code clone analysis and visualization of open source programs using distributed CCFinder, in Proceedings of the 29th International Conference on Software Engineering (ICSE 2007) (2007), pp. 106–115
12.
go back to reference Y. Semura, N. Yoshida, E. Choi, K. Inoue, CCFinderSW: clone detection tool with flexible multilingual tokenization, in Proceedings of the 24th Asia-Pacific Software Engineering Conference (APSEC 2017) (2017), pp. 654–659 Y. Semura, N. Yoshida, E. Choi, K. Inoue, CCFinderSW: clone detection tool with flexible multilingual tokenization, in Proceedings of the 24th Asia-Pacific Software Engineering Conference (APSEC 2017) (2017), pp. 654–659
13.
go back to reference Y. Ueda, Y. Higo, T. Kamiya, S. Kusumoto, K. Inoue, Gemini: code clone analysis tool, in Proceedings of the 2002 International Symposium on Empirical Software Engineering (ISESE2002), vol. 2 (2002), pp. 31–32 Y. Ueda, Y. Higo, T. Kamiya, S. Kusumoto, K. Inoue, Gemini: code clone analysis tool, in Proceedings of the 2002 International Symposium on Empirical Software Engineering (ISESE2002), vol. 2 (2002), pp. 31–32
Metadata
Title
CCFinderX: An Interactive Code Clone Analysis Environment
Author
Toshihiro Kamiya
Copyright Year
2021
Publisher
Springer Singapore
DOI
https://doi.org/10.1007/978-981-16-1927-4_2

Premium Partner