aws-robotics / turtlebot3-description-reduced-mesh
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
  • 91% duplication:
    • 1,388 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 1,275 duplicated lines
  • 190 duplicates
system91% (1,275 lines)
Duplication per Extension
xacro92% (1,275 lines)
Duplication per Component (primary)
urdf92% (1,275 lines)
launch0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 190 duplicates...
Size#FoldersFilesLinesCode
103 x 2 urdf
urdf
xacro
turtlebot3_burger.urdf.xacro
turtlebot3_burger_for_autorace.urdf.x...
6:161 (96%)
6:161 (81%)
view
94 x 2 urdf
urdf
xacro
turtlebot3_waffle.urdf.xacro
turtlebot3_waffle_pi.urdf.xacro
25:169 (59%)
20:164 (66%)
view
85 x 2 urdf
urdf
xacro
turtlebot3_waffle_for_open_manipulato...
turtlebot3_waffle_pi_for_open_manipul...
62:193 (53%)
57:188 (60%)
view
65 x 2 urdf
urdf
xacro
turtlebot3_waffle.gazebo.xacro
turtlebot3_waffle_pi.gazebo.xacro
63:146 (43%)
63:147 (47%)
view
58 x 2 urdf
urdf
xacro
turtlebot3_burger.gazebo.xacro
turtlebot3_burger_for_autorace.gazebo...
4:76 (56%)
5:77 (44%)
view
50 x 2 urdf
urdf
xacro
turtlebot3_burger.gazebo.xacro
turtlebot3_waffle_pi.gazebo.xacro
66:130 (48%)
77:141 (36%)
view
50 x 2 urdf
urdf
xacro
turtlebot3_burger.gazebo.xacro
turtlebot3_waffle.gazebo.xacro
66:130 (48%)
77:141 (33%)
view
48 x 2 urdf
urdf
xacro
turtlebot3_burger_for_autorace.gazebo...
turtlebot3_waffle_pi.gazebo.xacro
78:142 (37%)
89:153 (34%)
view
46 x 2 urdf
urdf
xacro
turtlebot3_waffle.urdf.xacro
turtlebot3_waffle_for_open_manipulato...
94:164 (28%)
94:164 (28%)
view
46 x 2 urdf
urdf
xacro
turtlebot3_waffle_pi.urdf.xacro
turtlebot3_waffle_pi_for_open_manipul...
89:159 (32%)
89:159 (32%)
view
46 x 2 urdf
urdf
xacro
turtlebot3_waffle_for_open_manipulato...
turtlebot3_waffle_pi.urdf.xacro
94:164 (28%)
89:159 (32%)
view
46 x 2 urdf
urdf
xacro
turtlebot3_waffle.urdf.xacro
turtlebot3_waffle_pi_for_open_manipul...
94:164 (28%)
89:159 (32%)
view
45 x 2 urdf
urdf
xacro
turtlebot3_waffle.gazebo.xacro
turtlebot3_waffle_pi.gazebo.xacro
3:61 (30%)
3:61 (32%)
view
44 x 2 urdf
urdf
xacro
turtlebot3_waffle.urdf.xacro
turtlebot3_waffle_pi_for_open_manipul...
25:92 (27%)
20:87 (31%)
view
44 x 2 urdf
urdf
xacro
turtlebot3_waffle_pi.urdf.xacro
turtlebot3_waffle_pi_for_open_manipul...
20:87 (31%)
20:87 (31%)
view
42 x 2 urdf
urdf
xacro
turtlebot3_burger_for_autorace.gazebo...
turtlebot3_waffle.gazebo.xacro
78:136 (32%)
89:146 (28%)
view
41 x 2 urdf
urdf
xacro
turtlebot3_burger.gazebo.xacro
turtlebot3_burger_for_autorace.gazebo...
78:130 (39%)
78:130 (31%)
view
25 x 2 urdf
urdf
xacro
turtlebot3_waffle_pi.urdf.xacro
turtlebot3_waffle_pi_for_open_manipul...
179:215 (17%)
179:215 (17%)
view
23 x 2 urdf
urdf
xacro
turtlebot3_waffle.urdf.xacro
turtlebot3_waffle_for_open_manipulato...
25:60 (14%)
25:60 (14%)
view
23 x 2 urdf
urdf
xacro
turtlebot3_waffle_for_open_manipulato...
turtlebot3_waffle_pi_for_open_manipul...
25:60 (14%)
20:55 (16%)
view