Duplication Overall
  • 2% duplication:
    • 4,023 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 102 duplicated lines
  • 7 duplicates
system2% (102 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
py6% (46 lines)
js1% (30 lines)
html2% (26 lines)
Duplication per Component (primary)
gemini-live-ephemeral-tokens-websocket2% (56 lines)
command-line16% (46 lines)
gemini-live-genai-python-sdk0% (0 lines)
Longest Duplicates
The list of 7 longest duplicates.
See data for all 7 duplicates...
Size#FoldersFilesLinesCode
10 x 2 command-line/python
command-line/python
89:98 (9%)
126:135 (5%)
view
9 x 2 command-line/python
command-line/python
137:145 (4%)
162:170 (4%)
view
8 x 2 gemini-live-ephemeral-tokens-websocket/frontend
gemini-live-ephemeral-tokens-websocket/frontend
333:343 (2%)
386:396 (2%)
view
7 x 2 gemini-live-ephemeral-tokens-websocket/frontend
gemini-live-ephemeral-tokens-websocket/frontend
213:219 (1%)
277:283 (1%)
view
7 x 2 gemini-live-ephemeral-tokens-websocket/frontend
gemini-live-ephemeral-tokens-websocket/frontend
794:800 (<1%)
820:826 (<1%)
view
6 x 2 command-line/python
command-line/python
124:129 (3%)
149:154 (3%)
view
6 x 2 gemini-live-ephemeral-tokens-websocket/frontend
gemini-live-ephemeral-tokens-websocket/frontend
703:708 (<1%)
751:756 (<1%)
view
About This Analysis
  • 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...