openai / chatkit-python
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
  • 5% duplication:
    • 3,160 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 176 duplicated lines
  • 18 duplicates
system5% (176 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
py5% (176 lines)
Duplication per Component (primary)
chatkit5% (176 lines)
Longest Duplicates
The list of 18 longest duplicates.
See data for all 18 duplicates...
Size#FoldersFilesLinesCode
14 x 2 chatkit
chatkit
922:935 (1%)
946:959 (1%)
view
11 x 2 chatkit
chatkit
696:708 (1%)
734:746 (1%)
view
10 x 2 chatkit
chatkit
950:959 (1%)
975:984 (1%)
view
10 x 2 chatkit
chatkit
926:935 (1%)
975:984 (1%)
view
10 x 2 chatkit
chatkit
656:666 (1%)
768:778 (1%)
view
9 x 2 chatkit
chatkit
976:984 (<1%)
1037:1045 (<1%)
view
9 x 2 chatkit
chatkit
951:959 (<1%)
1037:1045 (<1%)
view
9 x 2 chatkit
chatkit
576:592 (1%)
930:946 (1%)
view
9 x 2 chatkit
chatkit
561:569 (1%)
575:583 (1%)
view
9 x 2 chatkit
chatkit
927:935 (<1%)
1037:1045 (<1%)
view
7 x 2 chatkit
chatkit
949:955 (<1%)
1007:1013 (<1%)
view
7 x 2 chatkit
chatkit
925:931 (<1%)
1007:1013 (<1%)
view
7 x 2 chatkit
chatkit
1105:1111 (<1%)
1133:1139 (<1%)
view
6 x 2 chatkit
chatkit
440:450 (1%)
936:946 (1%)
view
6 x 2 chatkit
chatkit
785:795 (1%)
876:886 (1%)
view
6 x 2 chatkit
chatkit
975:980 (<1%)
1008:1013 (<1%)
view
6 x 2 chatkit
chatkit
440:450 (1%)
582:592 (1%)
view
6 x 2 chatkit
chatkit
54:59 (<1%)
31:36 (<1%)
view
Most Frequent Duplicates
The list of 7 most frequently found duplicates.
Size#FoldersFilesLinesCode
6 x 4 chatkit
chatkit
chatkit
chatkit
930:935 (<1%)
954:959 (<1%)
979:984 (<1%)
1040:1045 (<1%)
view
6 x 4 chatkit
chatkit
chatkit
chatkit
928:933 (<1%)
952:957 (<1%)
977:982 (<1%)
1038:1043 (<1%)
view
6 x 4 chatkit
chatkit
chatkit
chatkit
926:931 (<1%)
950:955 (<1%)
975:980 (<1%)
1008:1013 (<1%)
view
6 x 4 chatkit
chatkit
chatkit
chatkit
929:934 (<1%)
953:958 (<1%)
978:983 (<1%)
1039:1044 (<1%)
view
6 x 4 chatkit
chatkit
chatkit
chatkit
927:932 (<1%)
951:956 (<1%)
976:981 (<1%)
1037:1042 (<1%)
view
6 x 3 chatkit
chatkit
chatkit
440:450 (1%)
582:592 (1%)
936:946 (1%)
view
6 x 3 chatkit
chatkit
chatkit
925:930 (<1%)
949:954 (<1%)
1007:1012 (<1%)
view