Skip to content
SPECIFICTION
Get listed

Deckard

github.com

WindowsmacOSLinuxAPISelf-hosted

Spec sheet

Purpose
Deckard is a tree-based code clone detection tool that can also report clone-related bugs.Read 7 Oct 2026 · github.com
Intended users
The documented workflow is for users who point Deckard at application source code and configure the programming language and paths.Read 7 Oct 2026 · github.com
Platforms
Installation instructions use bash or Cygwin; the release notes mention Mac OS compatibility, and the README notes Cygwin can run tens of times slower than Linux.Read 7 Oct 2026 · github.com
License
The repository license permits source and binary redistribution subject to its stated conditions and disclaims warranties.Read 7 Oct 2026 · github.com
Analysis
The README describes semantic clone analysis as a use of Deckard.Read 7 Oct 2026 · github.com
Approach
Deckard uses parse trees, vector generation, and vector clustering for clone detection.Read 7 Oct 2026 · github.com
Batch processing
The README provides scripts for batch-mode clone detection, vector generation, and vector clustering.Read 7 Oct 2026 · github.com
Bug detection
Clone-related bug detection is available but is not enabled by default in batch clone detection.Read 7 Oct 2026 · github.com
Detection method
It generates vectors from parse trees and clusters them to detect code clones.Read 7 Oct 2026 · github.com
Installation
The README instructs users to build Deckard with a shell script in its src/main directory.Read 7 Oct 2026 · github.com
Integration
The README describes a programmable interface for retrieving vectors and parse trees from clone reports.Read 7 Oct 2026 · github.com
Languages
The release notes describe support for C, Java 7, PHP 5, and Solidity syntax.Read 7 Oct 2026 · github.com
Maintainer
The GitHub account associated with the repository identifies its user as Lingxiao Jiang and lists Singapore Management University and Singapore.Read 7 Oct 2026 · github.com
Parallel processing
Clone detection components can run in parallel, with the maximum process count configured in the config file.Read 7 Oct 2026 · github.com
Performance
Version 2.0 supports parallel execution, with the maximum process count set through the MAX_PROCS configuration value.Read 7 Oct 2026 · github.com
Programmability
The README describes retrieving clone subtrees, vectors, and clone reports programmatically through Deckard’s code interfaces.Read 7 Oct 2026 · github.com
Reports
The tool can convert clone or bug reports into HTML for inspection in a browser.Read 7 Oct 2026 · github.com
Usage
Deckard runs through shell scripts in batch mode and can generate vectors for selected portions of a source file.Read 7 Oct 2026 · github.com
Windows limitation
The README warns that Windows Vista and 7 may block compiled executables because of UAC false alarms.Read 7 Oct 2026 · github.com

Where Specifiction places it

Alternatives to DeckardAll alternatives →