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

Loading...
Publication Logo

Date

2012

Journal Title

Journal ISSN

Volume Title

Publisher

Univ Osijek, Tech Fac

Open Access Color

OpenAIRE Downloads

OpenAIRE Views

Research Projects

Journal Issue

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

Collections

SCOPUS™ Citations

1

checked on Feb 07, 2026

Page Views

1

checked on Feb 07, 2026

Google Scholar Logo
Google Scholar™

Sustainable Development Goals

3

GOOD HEALTH AND WELL-BEING
GOOD HEALTH AND WELL-BEING Logo

4

QUALITY EDUCATION
QUALITY EDUCATION Logo

5

GENDER EQUALITY
GENDER EQUALITY Logo

8

DECENT WORK AND ECONOMIC GROWTH
DECENT WORK AND ECONOMIC GROWTH Logo

9

INDUSTRY, INNOVATION AND INFRASTRUCTURE
INDUSTRY, INNOVATION AND INFRASTRUCTURE Logo

10

REDUCED INEQUALITIES
REDUCED INEQUALITIES Logo

12

RESPONSIBLE CONSUMPTION AND PRODUCTION
RESPONSIBLE CONSUMPTION AND PRODUCTION Logo

14

LIFE BELOW WATER
LIFE BELOW WATER Logo

16

PEACE, JUSTICE AND STRONG INSTITUTIONS
PEACE, JUSTICE AND STRONG INSTITUTIONS Logo