Title :
Modeling clones evolution in open source systems through chaos theory
Author :
Shawky, Doaa M. ; Ali, Ahmed F.
Author_Institution :
Eng. Math. Dept., Cairo Univ., Cairo, Egypt
Abstract :
A code clone is a code fragment that is identical or similar to another according to a certain similarity definition. Usually, it is a result of certain programmer´s practices. Unjustified cloned codes can cause an increase in maintenance effort. In addition, they are -sometimes-a sign of poor design. This paper presents an approach for modeling clones evolution in open source systems. It adapts chaos theory for predicting clones in new versions of a software system. The number of clones in each version is identified and analyzed as a time series data. The existence of chaos is tested through the calculation of Lyapunov exponent and correlation dimension. Experimental results show that clones evolution in open source systems is a chaotic process. Thus, prediction in new versions can be done with high prediction accuracy using chaos theory.
Keywords :
Lyapunov methods; chaos; correlation methods; public domain software; software engineering; source coding; Lyapunov exponent; chaos theory; code clone; code fragment; correlation dimension; modeling clones evolution; open source systems; Chaos; Cloning; Correlation; Delay; Mutual information; Software; Time series analysis; chaos theory; clones detection; clones evolution;
Conference_Titel :
Software Technology and Engineering (ICSTE), 2010 2nd International Conference on
Conference_Location :
San Juan, PR
Print_ISBN :
978-1-4244-8667-0
Electronic_ISBN :
978-1-4244-8666-3
DOI :
10.1109/ICSTE.2010.5608893