Title :
Haskell clone detection using pattern comparing algorithm
Author :
Chodarev, Sergej ; Pietrikova, Emilia ; Kollar, Jan
Author_Institution :
Dept. of Comput. & Inf., Tech. Univ. of Kosice, Kosice, Slovakia
Abstract :
Detection of clones - repeating fragments in source code - is an important task for ensuring maintainability of software systems. This paper presents an algorithm for clone detection based on comparing parts of abstract syntax tree of programs and finding repeating patterns. The algorithm is implemented in the prototype tool that allows to detect clones in programs written in Haskell programming language. The main contribution is believed to be proposal and experimental verification of the new technique for identifying exact and syntactical clones in Haskell code.
Keywords :
functional languages; software maintenance; source code (software); trees (mathematics); Haskell clone detection; Haskell programming language; abstract syntax tree; pattern comparing algorithm; repeating fragments; repeating patterns; software system maintainability; source code; Algorithm design and analysis; Cloning; Computers; Libraries; Software; Software algorithms; Syntactics; Clone detection; Haskell; exact clones; syntactical clones;
Conference_Titel :
Engineering of Modern Electric Systems (EMES), 2015 13th International Conference on
Conference_Location :
Oradea
Print_ISBN :
978-1-4799-7649-2
DOI :
10.1109/EMES.2015.7158423