bazelbuild / rules_sass
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
  • 12% duplication:
    • 505 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 64 duplicated lines
  • 10 duplicates
system12% (64 lines)
Duplication per Extension
bzl13% (64 lines)
Duplication per Component (primary)
sass9% (38 lines)
ROOT25% (26 lines)

Duplication Between Components (50+ lines)

G ROOT ROOT sass sass ROOT--sass 64

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 10 longest duplicates.
See data for all 10 duplicates...
Size#FoldersFilesLinesCode
13 x 2 ROOT
sass
defs.bzl
sass_repositories.bzl
1:13 (41%)
1:13 (43%)
view
13 x 2 ROOT
ROOT
defs.bzl
package.bzl
1:13 (41%)
1:13 (18%)
view
13 x 2 ROOT
sass
package.bzl
sass.bzl
1:13 (18%)
1:13 (4%)
view
13 x 2 ROOT
sass
defs.bzl
sass.bzl
1:13 (41%)
1:13 (4%)
view
13 x 2 sass
sass
sass.bzl
sass_repositories.bzl
1:13 (4%)
1:13 (43%)
view
13 x 2 ROOT
sass
package.bzl
sass_repositories.bzl
1:13 (18%)
1:13 (43%)
view
12 x 2 ROOT
sass
defs.bzl
npm_sass_library.bzl
2:13 (38%)
2:13 (16%)
view
12 x 2 sass
sass
npm_sass_library.bzl
sass.bzl
2:13 (16%)
2:13 (4%)
view
12 x 2 sass
sass
npm_sass_library.bzl
sass_repositories.bzl
2:13 (16%)
2:13 (40%)
view
12 x 2 ROOT
sass
package.bzl
npm_sass_library.bzl
2:13 (17%)
2:13 (16%)
view