aws-quickstart / quickstart-uipath-robot
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
  • 29% duplication:
    • 1,426 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 416 duplicated lines
  • 22 duplicates
system29% (416 lines)
Duplication per Extension
yaml39% (392 lines)
ps15% (24 lines)
Duplication per Component (primary)
templates39% (392 lines)
scripts5% (24 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 22 duplicates...
Size#FoldersFilesLinesCode
61 x 2 templates
templates
main.template.yaml
uipath-robot.template.yaml
200:260 (18%)
132:192 (17%)
view
44 x 2 templates
templates
main.template.yaml
uipath-robot.template.yaml
155:198 (13%)
86:129 (12%)
view
21 x 2 templates
templates
main.template.yaml
uipath-robot.template.yaml
27:47 (6%)
19:39 (6%)
view
13 x 2 templates
templates
main.template.yaml
uipath-robot.template.yaml
76:88 (3%)
58:70 (3%)
view
10 x 2 templates
templates
main.template.yaml
uipath-robot.template.yaml
307:316 (3%)
323:332 (2%)
view
9 x 2 templates
templates
main.template.yaml
uipath-robot.template.yaml
267:275 (2%)
304:312 (2%)
view
9 x 2 templates
templates
main.template.yaml
uipath-robot.template.yaml
293:301 (2%)
304:312 (2%)
view
9 x 2 templates
templates
uipath-robot.template.yaml
uipath-robot.template.yaml
213:221 (2%)
304:312 (2%)
view
9 x 2 templates
templates
main.template.yaml
main.template.yaml
267:275 (2%)
293:301 (2%)
view
9 x 2 templates
templates
main.template.yaml
uipath-robot.template.yaml
267:275 (2%)
213:221 (2%)
view
9 x 2 templates
templates
main.template.yaml
uipath-robot.template.yaml
293:301 (2%)
213:221 (2%)
view
8 x 2 templates
templates
uipath-robot.template.yaml
uipath-robot.template.yaml
199:206 (2%)
304:311 (2%)
view
8 x 2 templates
templates
uipath-robot.template.yaml
uipath-robot.template.yaml
199:206 (2%)
213:220 (2%)
view
8 x 2 templates
templates
main.template.yaml
uipath-robot.template.yaml
267:274 (2%)
199:206 (2%)
view
8 x 2 templates
templates
main.template.yaml
uipath-robot.template.yaml
293:300 (2%)
199:206 (2%)
view
8 x 2 templates
templates
lambda-role.template.yaml
server.template.yaml
8:15 (10%)
67:74 (4%)
view
7 x 2 templates
templates
server.template.yaml
uipath-robot.template.yaml
28:34 (4%)
124:130 (2%)
view
7 x 2 templates
templates
main.template.yaml
uipath-robot.template.yaml
1:7 (2%)
1:7 (2%)
view
6 x 2 templates
templates
main.template.yaml
server.template.yaml
193:198 (1%)
28:33 (3%)
view
6 x 2 scripts
scripts
Install-UiPathRobots.ps1
Install-UiPathRobots.ps1
240:245 (1%)
338:343 (1%)
view