facebook / prophet
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
  • 17% duplication:
    • 4,075 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 710 duplicated lines
  • 83 duplicates
system17% (710 lines)
Duplication per Extension
py9% (316 lines)
stan70% (276 lines)
ipynb40% (118 lines)
Duplication per Component (primary)
python/prophet9% (286 lines)
notebooks40% (118 lines)
python/stan/unix95% (116 lines)
R/inst/stan95% (116 lines)
python/stan/win29% (44 lines)
python12% (30 lines)
python/scripts0% (0 lines)
R/inst/include0% (0 lines)
python_shim0% (0 lines)
python_shim/fbprophet0% (0 lines)

Duplication Between Components (50+ lines)

G R/inst/stan R/inst/stan python/stan/unix python/stan/unix R/inst/stan--python/stan/unix 232 python/stan/win python/stan/win R/inst/stan--python/stan/win 60 python/stan/unix--python/stan/win 60

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 50 longest duplicates.
See data for all 83 duplicates...
Size#FoldersFilesLinesCode
116 x 2 R/inst/stan
python/stan/unix
1:133 (95%)
1:136 (95%)
view
15 x 2 python
python
51:65 (6%)
81:95 (6%)
view
13 x 2 notebooks
notebooks
20:32 (4%)
54:66 (4%)
view
12 x 2 R/inst/stan
python/stan/win
16:29 (9%)
16:29 (8%)
view
12 x 2 python/prophet
python/prophet
970:981 (1%)
1420:1431 (1%)
view
12 x 2 python/prophet
python/prophet
984:995 (1%)
1157:1168 (1%)
view
12 x 2 python/stan/unix
python/stan/win
16:29 (9%)
16:29 (8%)
view
11 x 2 notebooks
notebooks
71:81 (3%)
162:172 (3%)
view
10 x 2 R/inst/stan
python/stan/win
121:132 (8%)
162:173 (6%)
view
10 x 2 python/prophet
python/prophet
400:411 (1%)
857:868 (1%)
view
10 x 2 python/stan/unix
python/stan/win
124:135 (8%)
162:173 (6%)
view
10 x 2 python/prophet
python/prophet
348:360 (1%)
1149:1161 (1%)
view
9 x 2 python/prophet
python/prophet
356:364 (1%)
546:554 (1%)
view
9 x 2 python/prophet
python/prophet
795:803 (1%)
823:831 (1%)
view
8 x 2 R/inst/stan
python/stan/win
38:45 (6%)
42:49 (5%)
view
8 x 2 python/prophet
python/prophet
1178:1185 (<1%)
1400:1407 (<1%)
view
8 x 2 python/prophet
python/prophet
212:219 (3%)
226:233 (3%)
view
8 x 2 python/stan/unix
python/stan/win
39:46 (6%)
42:49 (5%)
view
8 x 2 notebooks
notebooks
99:106 (2%)
117:124 (2%)
view
7 x 2 python/stan/win
python/stan/win
57:63 (4%)
80:86 (4%)
view
6 x 2 python/prophet
python/prophet
110:116 (2%)
271:277 (2%)
view
6 x 2 python/prophet
python/prophet
1264:1273 (<1%)
1327:1336 (<1%)
view
6 x 2 notebooks
notebooks
133:138 (2%)
256:261 (2%)
view
6 x 2 python/prophet
python/prophet
45:70 (<1%)
478:517 (<1%)
view
6 x 2 notebooks
notebooks
133:138 (2%)
140:145 (2%)
view
6 x 2 notebooks
notebooks
133:138 (2%)
247:252 (2%)
view
6 x 2 python/prophet
python/prophet
480:485 (<1%)
1148:1153 (<1%)
view
6 x 2 notebooks
notebooks
61:66 (2%)
156:161 (2%)
view
6 x 2 notebooks
notebooks
192:197 (2%)
247:252 (2%)
view
6 x 2 python/prophet
python/prophet
1247:1252 (<1%)
1281:1286 (<1%)
view
6 x 2 notebooks
notebooks
110:115 (2%)
247:252 (2%)
view
6 x 2 notebooks
notebooks
88:93 (2%)
110:115 (2%)
view
6 x 2 notebooks
notebooks
110:115 (2%)
256:261 (2%)
view
6 x 2 notebooks
notebooks
110:115 (2%)
133:138 (2%)
view
6 x 2 notebooks
notebooks
192:197 (2%)
256:261 (2%)
view
6 x 2 python/prophet
python/prophet
188:193 (<1%)
1434:1439 (<1%)
view
6 x 2 python/prophet
python/prophet
1178:1183 (<1%)
1426:1431 (<1%)
view
6 x 2 notebooks
notebooks
88:93 (2%)
247:252 (2%)
view
6 x 2 notebooks
notebooks
110:115 (2%)
140:145 (2%)
view
6 x 2 notebooks
notebooks
183:188 (2%)
192:197 (2%)
view
6 x 2 python/prophet
python/prophet
1171:1176 (<1%)
1420:1425 (<1%)
view
6 x 2 python/prophet
python/prophet
1163:1168 (<1%)
1400:1405 (<1%)
view
6 x 2 notebooks
notebooks
140:145 (2%)
183:188 (2%)
view
6 x 2 notebooks
notebooks
133:138 (2%)
192:197 (2%)
view
6 x 2 notebooks
notebooks
183:188 (2%)
247:252 (2%)
view
6 x 2 python/prophet
python/prophet
1163:1168 (<1%)
1178:1183 (<1%)
view
6 x 2 notebooks
notebooks
133:138 (2%)
183:188 (2%)
view
6 x 2 notebooks
notebooks
183:188 (2%)
256:261 (2%)
view
6 x 2 python/prophet
python/prophet
976:981 (<1%)
1163:1168 (<1%)
view
6 x 2 notebooks
notebooks
140:145 (2%)
192:197 (2%)
view