pith. sign in

arxiv: cs/0701081 · v1 · submitted 2007-01-12 · 💻 cs.PL · cs.SE

Fingerprinting Logic Programs

classification 💻 cs.PL cs.SE
keywords predicatefingerprintsfunctionalitylogicprogramsdefinitionsduplicatedduplication
0
0 comments X
read the original abstract

In this work we present work in progress on functionality duplication detection in logic programs. Eliminating duplicated functionality recently became prominent in context of refactoring. We describe a quantitative approach that allows to measure the ``similarity'' between two predicate definitions. Moreover, we show how to compute a so-called ``fingerprint'' for every predicate. Fingerprints capture those characteristics of the predicate that are significant when searching for duplicated functionality. Since reasoning on fingerprints is much easier than reasoning on predicate definitions, comparing the fingerprints is a promising direction in automated code duplication in logic programs.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.