bazelbuild / rules_appengine
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
  • 9% duplication:
    • 664 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 66 duplicated lines
  • 7 duplicates
system9% (66 lines)
Duplication per Extension
bzl9% (66 lines)
Duplication per Component (primary)
appengine9% (66 lines)
Longest Duplicates
The list of 7 longest duplicates.
See data for all 7 duplicates...
Size#FoldersFilesLinesCode
13 x 2 appengine
appengine
appengine.bzl
java_appengine.bzl
1:13 (48%)
1:13 (4%)
view
12 x 2 appengine
appengine
py_appengine.bzl
sdk.bzl
2:13 (5%)
2:13 (12%)
view
12 x 2 appengine
appengine
java_appengine.bzl
py_appengine.bzl
2:13 (3%)
2:13 (5%)
view
12 x 2 appengine
appengine
java_appengine.bzl
sdk.bzl
2:13 (3%)
2:13 (12%)
view
12 x 2 appengine
appengine
appengine.bzl
sdk.bzl
2:13 (44%)
2:13 (12%)
view
12 x 2 appengine
appengine
appengine.bzl
py_appengine.bzl
2:13 (44%)
2:13 (5%)
view
8 x 2 appengine
appengine
java_appengine.bzl
java_appengine.bzl
333:340 (2%)
355:362 (2%)
view