Browsing by Author "Sharma, Anuj Kumar"
Now showing 1 - 1 of 1
- Results Per Page
- Sort Options
Article Citation - Scopus: 1Maintaining Software Through Bit-Parallelism and Hashing the Parameterized q-grams(Univ Osijek, Tech Fac, 2012) Prasad, Rajesh; Agarwal, Suneeta; Misra, Sanjay; Sharma, Anuj Kumar; Singh, Alok; Computer Engineering; Computer EngineeringIn the software maintenance, it is often required to find duplicity present in the codes. Two code fragments are equivalent, if one can be transformed into the other via consistent renaming of identifiers, literals and variables. This equivalency can be detected by parameterized string matching. In this matching, a given pattern is said to match with a substring of the text, if there exists a one-to-one correspondence between symbols of and symbols of. In this paper, we propose an efficient algorithm for this problem by using both the overlapping and non-overlapping q-gram. We show the effect of running time of the algorithm on increasing the duplicity present in the code.