Title :
Source code recognition by graph algorithm
Author :
Bublik, Tomas ; Virius, Miroslav
Author_Institution :
Fac. of Nucl. Sci. & Phys. Eng., Czech Tech. Univ. In Prague, Prague, Czech Republic
Abstract :
This paper describes an option how to detect a desired Java code snippet in a large number of Java source files. The scripting language Scripthon is used to describe the desired section. Next, from this piece, an abstract tree is created, and it is compared to the other trees which are created from the Java source codes. The Java Compiler API is used to obtain the trees from the Java source codes.
Keywords :
Java; application program interfaces; authoring languages; program compilers; trees (mathematics); Java code snippet; Java compiler API; Java source codes; Java source files; Scripthon; graph algorithm; scripting language; source code recognition; trees; Abstracts; Computers; Educational institutions; Java; Optimization; Shape; Syntactics;
Conference_Titel :
Carpathian Control Conference (ICCC), 2013 14th International
Conference_Location :
Rytro
Print_ISBN :
978-1-4673-4488-3
DOI :
10.1109/CarpathianCC.2013.6560502