aws / aws-ops-wheel
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
  • 13% duplication:
    • 3,595 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 485 duplicated lines
  • 138 duplicates
system13% (485 lines)
Duplication per Extension
jsx12% (231 lines)
yml27% (222 lines)
py3% (32 lines)
Duplication per Component (primary)
cloudformation28% (222 lines)
ui/src/components12% (97 lines)
ui/src/components/wheel_table12% (46 lines)
ui/src/components/participant_table8% (46 lines)
ui/src19% (42 lines)
ROOT6% (20 lines)
api3% (12 lines)
utils0% (0 lines)

Duplication Between Components (50+ lines)

G ui/src/components ui/src/components ui/src/components/participant_table ui/src/components/participant_table ui/src/components--ui/src/components/participant_table 130 ui/src/components/wheel_table ui/src/components/wheel_table ui/src/components--ui/src/components/wheel_table 130 ui/src ui/src ui/src/components--ui/src 126 ui/src/components/participant_table--ui/src/components/wheel_table 92 ui/src/components/participant_table--ui/src 84 ui/src/components/wheel_table--ui/src 84

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 20 longest duplicates.
See data for all 138 duplicates...
Size#FoldersFilesLinesCode
16 x 2 ui/src/components/participant_table
ui/src/components/wheel_table
participant_modal.jsx
wheel_modal.jsx
1:17 (12%)
1:17 (14%)
view
15 x 2 ui/src/components/wheel_table
ui/src/components/wheel_table
wheel_modal.jsx
wheel_table.jsx
1:16 (13%)
1:16 (9%)
view
15 x 2 ui/src/components
ui/src/components/participant_table
app.jsx
participant_modal.jsx
1:16 (12%)
1:16 (12%)
view
15 x 2 ui/src/components
ui/src/components/wheel_table
app.jsx
wheel_modal.jsx
1:16 (12%)
1:16 (13%)
view
15 x 2 ui/src/components/participant_table
ui/src/components/wheel_table
participant_modal.jsx
wheel_table.jsx
1:16 (12%)
1:16 (9%)
view
15 x 2 ui/src/components/participant_table
ui/src/components/participant_table
participant_modal.jsx
participant_table.jsx
1:16 (12%)
1:16 (4%)
view
15 x 2 ui/src/components/wheel_table
ui/src/components/wheel_table
wheel_row.jsx
wheel_table.jsx
1:16 (15%)
1:16 (9%)
view
15 x 2 ui/src/components/wheel_table
ui/src/components/wheel_table
wheel_modal.jsx
wheel_row.jsx
1:16 (13%)
1:16 (15%)
view
15 x 2 ui/src/components/participant_table
ui/src/components/wheel_table
participant_table.jsx
wheel_table.jsx
1:16 (4%)
1:16 (9%)
view
15 x 2 ui/src/components/participant_table
ui/src/components/wheel_table
participant_row.jsx
wheel_table.jsx
1:16 (15%)
1:16 (9%)
view
15 x 2 ui/src/components/participant_table
ui/src/components/wheel_table
participant_modal.jsx
wheel_row.jsx
1:16 (12%)
1:16 (15%)
view
15 x 2 ui/src/components
ui/src/components/wheel_table
app.jsx
wheel_row.jsx
1:16 (12%)
1:16 (15%)
view
15 x 2 ui/src/components/participant_table
ui/src/components/wheel_table
participant_table.jsx
wheel_modal.jsx
1:16 (4%)
1:16 (13%)
view
15 x 2 ui/src/components/participant_table
ui/src/components/participant_table
participant_row.jsx
participant_table.jsx
1:16 (15%)
1:16 (4%)
view
15 x 2 ui/src/components/participant_table
ui/src/components/participant_table
participant_modal.jsx
participant_row.jsx
1:16 (12%)
1:16 (15%)
view
15 x 2 ui/src/components/participant_table
ui/src/components/wheel_table
participant_row.jsx
wheel_modal.jsx
1:16 (15%)
1:16 (13%)
view
15 x 2 ui/src/components/participant_table
ui/src/components/wheel_table
participant_row.jsx
wheel_row.jsx
1:16 (15%)
1:16 (15%)
view
15 x 2 ui/src/components/participant_table
ui/src/components/wheel_table
participant_table.jsx
wheel_row.jsx
1:16 (4%)
1:16 (15%)
view
15 x 2 ui/src/components
ui/src/components/participant_table
app.jsx
participant_table.jsx
1:16 (12%)
1:16 (4%)
view
15 x 2 ui/src/components
ui/src/components/wheel_table
app.jsx
wheel_table.jsx
1:16 (12%)
1:16 (9%)
view