facebook / tac_plus
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
  • 11% duplication:
    • 24,631 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 2,940 duplicated lines
  • 279 duplicates
system11% (2,940 lines)
Duplication per Extension
h16% (1,819 lines)
c10% (840 lines)
in5% (281 lines)
Duplication per Component (primary)
tacacs-F4.0.4.2811% (2,940 lines)
ROOT0% (0 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 279 duplicates...
Size#FoldersFilesLinesCode
55 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
471:525 (5%)
479:533 (5%)
view
55 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
75:129 (5%)
83:137 (5%)
view
55 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
339:393 (5%)
347:401 (5%)
view
55 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
207:261 (5%)
215:269 (5%)
view
55 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
405:459 (5%)
413:467 (5%)
view
55 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
9:63 (5%)
17:71 (5%)
view
55 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
141:195 (5%)
149:203 (5%)
view
55 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
273:327 (5%)
281:335 (5%)
view
47 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
471:517 (4%)
487:533 (4%)
view
47 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
75:121 (4%)
91:137 (4%)
view
47 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
339:385 (4%)
355:401 (4%)
view
47 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
207:253 (4%)
223:269 (4%)
view
47 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
405:451 (4%)
421:467 (4%)
view
47 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
9:55 (4%)
25:71 (4%)
view
47 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
141:187 (4%)
157:203 (4%)
view
47 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
273:319 (4%)
289:335 (4%)
view
40 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
116:192 (19%)
244:319 (18%)
view
39 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
471:509 (3%)
495:533 (3%)
view
39 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
75:113 (3%)
99:137 (3%)
view
39 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
339:377 (3%)
363:401 (3%)
view
39 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
207:245 (3%)
231:269 (3%)
view
39 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
405:443 (3%)
429:467 (3%)
view
39 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
9:47 (3%)
33:71 (3%)
view
39 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
141:179 (3%)
165:203 (3%)
view
39 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
273:311 (3%)
297:335 (3%)
view
37 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
196:251 (17%)
321:376 (17%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
471:501 (2%)
503:533 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
933:963 (2%)
965:995 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
603:633 (2%)
635:665 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
75:105 (2%)
107:137 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
801:831 (2%)
833:863 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
735:765 (2%)
767:797 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
537:567 (2%)
569:599 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
999:1029 (2%)
1031:1061 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
339:369 (2%)
371:401 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
669:699 (2%)
701:731 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
207:237 (2%)
239:269 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
405:435 (2%)
437:467 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
9:39 (2%)
41:71 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
141:171 (2%)
173:203 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
867:897 (2%)
899:929 (2%)
view
31 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
273:303 (2%)
305:335 (2%)
view
23 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
471:493 (2%)
511:533 (2%)
view
23 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
75:97 (2%)
115:137 (2%)
view
23 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
339:361 (2%)
379:401 (2%)
view
23 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
207:229 (2%)
247:269 (2%)
view
23 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
405:427 (2%)
445:467 (2%)
view
23 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
9:31 (2%)
49:71 (2%)
view
23 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
273:295 (2%)
313:335 (2%)
view
23 x 2 tacacs-F4.0.4.28
tacacs-F4.0.4.28
141:163 (2%)
181:203 (2%)
view