bazelbuild / stardoc
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
  • For duplication, we look at places in code where there are 6 or more lines of code that are exactly the same.
  • Before duplication is calculated, the code is cleaned to remove empty lines, comments, and frequently duplicated constructs such as imports.
  • You should aim at having as little as possible (<5%) of duplicated code as high-level of duplication can lead to maintenance difficulties, poor factoring, and logical contradictions.
Learn more...
Duplication Overall
  • 11% duplication:
    • 433 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 50 duplicated lines
  • 6 duplicates
system11% (50 lines)
Duplication per Extension
bzl18% (50 lines)
Duplication per Component (primary)
stardoc11% (25 lines)
ROOT48% (25 lines)
stardoc/proto0% (0 lines)

Duplication Between Components (50+ lines)

G ROOT ROOT stardoc stardoc ROOT--stardoc 50

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 6 longest duplicates.
See data for all 6 duplicates...
Size#FoldersFilesLinesCode
13 x 2 ROOT
stardoc
setup.bzl
html_tables_stardoc.bzl
1:13 (35%)
1:13 (40%)
view
12 x 2 ROOT
ROOT
setup.bzl
version.bzl
2:13 (32%)
2:13 (80%)
view
12 x 2 stardoc
ROOT
html_tables_stardoc.bzl
version.bzl
2:13 (37%)
2:13 (80%)
view
12 x 2 stardoc
ROOT
stardoc.bzl
version.bzl
2:13 (6%)
2:13 (80%)
view
12 x 2 stardoc
stardoc
html_tables_stardoc.bzl
stardoc.bzl
2:13 (37%)
2:13 (6%)
view
12 x 2 ROOT
stardoc
setup.bzl
stardoc.bzl
2:13 (32%)
2:13 (6%)
view