awslabs / amazon-polly-tts-for-windows
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:
    • 1,739 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 242 duplicated lines
  • 5 duplicates
system13% (242 lines)
Duplication per Extension
iss77% (208 lines)
c83% (20 lines)
vcxproj5% (14 lines)
Duplication per Component (primary)
ROOT77% (208 lines)
PollyTTSEngine3% (34 lines)
PollyPlayer/Properties0% (0 lines)
PollyPlayer0% (0 lines)
installvoices0% (0 lines)
Longest Duplicates
The list of 5 longest duplicates.
See data for all 5 duplicates...
Size#FoldersFilesLinesCode
65 x 2 ROOT
ROOT
iss
PollyTTSInstaller-x64.iss
PollyTTSInstaller-x86.iss
67:141 (48%)
66:140 (48%)
view
31 x 2 ROOT
ROOT
iss
PollyTTSInstaller-x64.iss
PollyTTSInstaller-x86.iss
5:36 (22%)
5:36 (23%)
view
10 x 2 PollyTTSEngine
PollyTTSEngine
PollyTTSEngine.c
PollyTTSEngine_i.c
25:66 (83%)
24:65 (83%)
view
8 x 2 ROOT
ROOT
iss
PollyTTSInstaller-x64.iss
PollyTTSInstaller-x86.iss
146:155 (5%)
145:154 (5%)
view
7 x 2 PollyTTSEngine
PollyTTSEngine
vcxproj
PollyTTSEngine.vcxproj
PollyTTSEngine.vcxproj
162:169 (2%)
233:240 (2%)
view