Maintaining Software Through Bit-Parallelism and Hashing the Parameterized <i>q</I>-grams
Loading...

Date
2012
Journal Title
Journal ISSN
Volume Title
Publisher
Univ Osijek, Tech Fac
Open Access Color
OpenAIRE Downloads
OpenAIRE Views
Abstract
In 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.
Description
Prasad, Rajesh/0000-0002-3456-6980; Misra, Sanjay/0000-0002-3556-9331
Keywords
bit-parallelism, design of algorithm, hashing, plagiarism detection, q-gram, software maintenance, string matching
Turkish CoHE Thesis Center URL
Fields of Science
Citation
WoS Q
Q3
Scopus Q
Q3
Source
Tehnicki Vjesnik
Volume
19
Issue
2
Start Page
243
End Page
247
SCOPUS™ Citations
1
checked on Feb 07, 2026
Page Views
1
checked on Feb 07, 2026
Google Scholar™
Sustainable Development Goals
3
GOOD HEALTH AND WELL-BEING

4
QUALITY EDUCATION

5
GENDER EQUALITY

8
DECENT WORK AND ECONOMIC GROWTH

9
INDUSTRY, INNOVATION AND INFRASTRUCTURE

10
REDUCED INEQUALITIES

12
RESPONSIBLE CONSUMPTION AND PRODUCTION

14
LIFE BELOW WATER

16
PEACE, JUSTICE AND STRONG INSTITUTIONS

