aws-samples / open-source-medical-imaging-tools-on-aws
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
  • 78% duplication:
    • 4,342 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 3,418 duplicated lines
  • 344 duplicates
system78% (3,418 lines)
Duplication per Extension
yml89% (3,192 lines)
yaml29% (226 lines)
Duplication per Component (primary)
dcm4chee89% (3,192 lines)
orthanc29% (226 lines)

Duplication Between Components (50+ lines)

G dcm4chee dcm4chee orthanc orthanc dcm4chee--orthanc 693

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 344 duplicates...
Size#FoldersFilesLinesCode
404 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-acmdns.yml
dcm4chee-arc-ec2-psql.yml
695:1101 (37%)
640:1046 (39%)
view
247 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-acmdns.yml
dcm4chee-arc-ec2-psql.yml
318:567 (22%)
301:551 (23%)
view
238 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-acmdns.yml
dcm4chee-arc-ec2-psql.yml
67:308 (21%)
59:300 (23%)
view
149 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-acmdns.yml
dcm4chee-arc-ec2-psql-keycloak.yml
129:280 (13%)
138:289 (10%)
view
149 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-keycloak.yml
dcm4chee-arc-ec2-psql.yml
138:289 (10%)
121:272 (14%)
view
123 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-keycloak.yml
dcm4chee-arc-ec2-psql.yml
700:822 (8%)
593:715 (11%)
view
84 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-acmdns.yml
dcm4chee-arc-ec2-psql-keycloak.yml
973:1056 (7%)
1090:1173 (5%)
view
84 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-keycloak.yml
dcm4chee-arc-ec2-psql.yml
1090:1173 (5%)
918:1001 (8%)
view
82 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-acmdns.yml
dcm4chee-arc-ec2-psql-keycloak.yml
801:882 (7%)
868:949 (5%)
view
82 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-keycloak.yml
dcm4chee-arc-ec2-psql.yml
868:949 (5%)
746:827 (7%)
view
79 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-acmdns.yml
dcm4chee-arc-ec2-psql-keycloak.yml
410:489 (7%)
497:576 (5%)
view
79 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-keycloak.yml
dcm4chee-arc-ec2-psql.yml
497:576 (5%)
394:473 (7%)
view
78 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-acmdns.yml
dcm4chee-arc-ec2-psql.yml
602:679 (7%)
562:639 (7%)
view
76 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-keycloak.yml
dcm4chee-arc-ec2-psql.yml
593:669 (5%)
487:563 (7%)
view
76 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-acmdns.yml
dcm4chee-arc-ec2-psql-keycloak.yml
695:770 (7%)
747:822 (5%)
view
65 x 2 dcm4chee
orthanc
dcm4chee-arc-ec2-psql-acmdns.yml
orthanc-rds-template.yaml
187:253 (5%)
218:284 (8%)
view
65 x 2 dcm4chee
orthanc
dcm4chee-arc-ec2-psql.yml
orthanc-rds-template.yaml
179:245 (6%)
218:284 (8%)
view
65 x 2 dcm4chee
orthanc
dcm4chee-arc-ec2-psql-keycloak.yml
orthanc-rds-template.yaml
196:262 (4%)
218:284 (8%)
view
65 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-acmdns.yml
dcm4chee-arc-ec2-psql-keycloak.yml
503:567 (5%)
593:657 (4%)
view
62 x 2 dcm4chee
dcm4chee
dcm4chee-arc-ec2-psql-keycloak.yml
dcm4chee-arc-ec2-psql.yml
952:1013 (4%)
830:891 (6%)
view