angular / dgeni-packages
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
  • 2% duplication:
    • 4,488 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 96 duplicated lines
  • 3 duplicates
system2% (96 lines)
Duplication per Extension
html19% (84 lines)
js<1% (12 lines)
Duplication per Component (primary)
git14% (42 lines)
ngdoc5% (42 lines)
jsdoc<1% (6 lines)
links4% (6 lines)
typescript0% (0 lines)
ROOT0% (0 lines)
nunjucks0% (0 lines)
dgeni0% (0 lines)
post-process-html0% (0 lines)
base0% (0 lines)

Duplication Between Components (50+ lines)

G git git ngdoc ngdoc git--ngdoc 84

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 3 longest duplicates.
See data for all 3 duplicates...
Size#FoldersFilesLinesCode
36 x 2 git/templates/api
ngdoc/templates/api
api.template.html
api.template.html
19:66 (76%)
15:62 (80%)
view
6 x 2 git/templates/api
ngdoc/templates/api
api.template.html
api.template.html
9:14 (12%)
5:10 (13%)
view
6 x 2 jsdoc/mocks
links/mocks
mockPackage.js
mockPackage.js
1:12 (100%)
1:12 (100%)
view
Duplicated Units
The list of top 4 duplicated units.
See data for all 4 unit duplicates...
Size#FoldersFilesLinesCode
7 x 2 jsdoc/tag-defs
jsdoc/tag-defs
property.js
param.js
1:8 
1:8 
view
6 x 3 jsdoc/tag-defs
jsdoc/tag-defs
jsdoc/tag-defs
protected.js
private.js
public.js
1:7 
1:7 
1:7 
view
6 x 2 ngdoc/tag-defs
ngdoc/tag-defs
knownIssue.js
example.js
1:7 
1:7 
view
9 x 3 dgeni/tag-defs
dgeni/tag-defs
dgeni/tag-defs
dgPackage.js
dgProcessor.js
dgService.js
1:10 
1:10 
1:10 
view