novifinancial / fastpay
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
  • 7% duplication:
    • 3,369 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 237 duplicated lines
  • 18 duplicates
system7% (237 lines)
Duplication per Extension
rs5% (174 lines)
py21% (63 lines)
Duplication per Component (primary)
fastpay/src6% (112 lines)
scripts21% (63 lines)
fastpay_core/src4% (62 lines)
ROOT0% (0 lines)
fastpay0% (0 lines)
fastpay_core0% (0 lines)
Longest Duplicates
The list of 18 longest duplicates.
See data for all 18 duplicates...
Size#FoldersFilesLinesCode
14 x 2 scripts
scripts
38:53 (15%)
89:104 (12%)
view
10 x 2 fastpay_core/src
fastpay_core/src
253:262 (2%)
280:289 (2%)
view
9 x 2 fastpay_core/src
fastpay_core/src
184:192 (3%)
219:227 (3%)
view
8 x 2 scripts
scripts
98:106 (8%)
166:174 (7%)
view
7 x 2 scripts
scripts
23:29 (25%)
166:172 (6%)
view
7 x 2 fastpay/src
fastpay/src
332:338 (2%)
343:349 (2%)
view
7 x 2 fastpay/src
fastpay/src
221:227 (2%)
232:238 (2%)
view
7 x 2 scripts
scripts
98:104 (7%)
23:29 (25%)
view
6 x 2 fastpay/src
fastpay/src
16:21 (3%)
69:74 (3%)
view
6 x 2 fastpay/src
fastpay/src
14:19 (1%)
27:32 (1%)
view
6 x 2 fastpay_core/src
fastpay_core/src
325:330 (2%)
343:348 (2%)
view
6 x 2 fastpay/src
fastpay/src
165:170 (3%)
144:149 (1%)
view
6 x 2 fastpay/src
fastpay/src
73:78 (3%)
89:94 (3%)
view
6 x 2 fastpay/src
fastpay/src
175:180 (2%)
311:316 (2%)
view
6 x 2 scripts
scripts
73:78 (6%)
136:141 (5%)
view
6 x 2 fastpay/src
fastpay/src
176:181 (3%)
189:194 (3%)
view
6 x 2 fastpay_core/src
fastpay_core/src
264:271 (1%)
291:298 (1%)
view
6 x 2 fastpay/src
fastpay/src
132:137 (3%)
49:54 (3%)
view