Source files: {{filenames|count}}

Click here to show/hide file names

Clones detected: {{report.clones|count}}

{{report.covered_source_lines_count}} of {{report.all_source_lines_count}} lines are duplicates ({{'%0.3f' %percent_source_line_clones|float}}%)

Parameters
clustering_threshold = {{report.parameters.clustering_threshold}}
distance_threshold = {{report.parameters.distance_threshold}}
size_threshold = {{report.parameters.size_threshold}}
hashing_depth = {{report.parameters.hashing_depth}}
clusterize_using_hash = {{report.parameters.clusterize_using_hash}}
clusterize_using_dcup = {{report.parameters.clusterize_using_dcup}}

{% for clone in report.clones %}

{{clone.name}}
Distance between two fragments = {{clone.distance}}
Clone size = {{clone.size}} {% for snippet in clone.snippets %}{% endfor %} {% for snippet in clone.snippets %}{% endfor %}
Source file "{{snippet.filename}}"
The first line is {{snippet.first_line}}
{{snippet.text}}


{% endfor %} orphanblack finds cloned regions of source code across all the files in a project. This HTML file is a human-readable representation of the results, which can also be viewed via the CLI, or via plugins using the API (e.g. SublimeCloneDetector-orphanblack)
orphanblack is a heavy refactor of CloneDigger © 2008 Peter Bulychev. The CLI / API design is heavily inspired by coverage.py © 2009-2012 Ned Batchelder.