bazelbuild / emacs-bazel-mode
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
  • 4% duplication:
    • 4,243 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 193 duplicated lines
  • 25 duplicates
system4% (193 lines)
Duplication per Extension
el4% (193 lines)
Duplication per Component (primary)
ROOT2% (124 lines)
obsolete77% (69 lines)

Duplication Between Components (50+ lines)

G obsolete obsolete ROOT ROOT obsolete--ROOT 75

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 20 longest duplicates.
See data for all 25 duplicates...
Size#FoldersFilesLinesCode
17 x 2 obsolete
obsolete
el
bazel-util.el
bazelrc-mode.el
3:23 (85%)
8:28 (68%)
view
17 x 2 obsolete
obsolete
el
bazel-build.el
bazel-mode.el
3:23 (85%)
8:28 (70%)
view
14 x 2 ROOT
ROOT
el
bazel.el
bazel.el
885:898 (<1%)
1864:1877 (<1%)
view
13 x 2 obsolete
ROOT
el
bazel-util.el
test.el
4:17 (65%)
4:17 (<1%)
view
13 x 2 obsolete
ROOT
el
bazelrc-mode.el
test.el
9:22 (52%)
4:17 (<1%)
view
12 x 2 ROOT
obsolete
el
bazel.el
bazel-mode.el
9:21 (<1%)
9:21 (50%)
view
12 x 2 ROOT
obsolete
el
bazel.el
bazel-build.el
9:21 (<1%)
4:16 (60%)
view
11 x 2 obsolete
obsolete
el
bazel-mode.el
bazelrc-mode.el
14:28 (45%)
15:29 (44%)
view
11 x 2 obsolete
obsolete
el
bazel-build.el
bazelrc-mode.el
9:23 (55%)
15:29 (44%)
view
10 x 2 obsolete
obsolete
el
bazel-build.el
bazel-util.el
9:22 (50%)
10:23 (50%)
view
10 x 2 obsolete
obsolete
el
bazel-mode.el
bazel-util.el
14:27 (41%)
10:23 (50%)
view
9 x 2 ROOT
ROOT
el
test.el
test.el
1171:1179 (<1%)
1191:1199 (<1%)
view
7 x 2 ROOT
obsolete
el
bazel.el
bazelrc-mode.el
14:21 (<1%)
15:22 (28%)
view
7 x 2 obsolete
ROOT
el
bazel-mode.el
test.el
14:21 (29%)
10:17 (<1%)
view
7 x 2 obsolete
ROOT
el
bazel-build.el
test.el
9:16 (35%)
10:17 (<1%)
view
7 x 2 ROOT
ROOT
el
test.el
test.el
922:928 (<1%)
939:945 (<1%)
view
7 x 2 ROOT
obsolete
el
bazel.el
bazel-util.el
14:21 (<1%)
10:17 (35%)
view
7 x 2 ROOT
ROOT
el
test.el
test.el
922:928 (<1%)
959:965 (<1%)
view
7 x 2 ROOT
ROOT
el
bazel.el
test.el
14:21 (<1%)
10:17 (<1%)
view
7 x 2 ROOT
ROOT
el
test.el
test.el
939:945 (<1%)
959:965 (<1%)
view