tensorflow / toolchains
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
  • 85% duplication:
    • 17,183 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 14,631 duplicated lines
  • 5,513 duplicates
system85% (14,631 lines)
Duplication per Extension
bzl88% (13,517 lines)
tpl57% (1,114 lines)
Duplication per Component (primary)
toolchains/win100% (12,053 lines)
tmp_windows/tf_win_08062020100% (1,334 lines)
toolchains/cpus66% (568 lines)
toolchains/embedded70% (448 lines)
toolchains/clang620% (116 lines)
toolchains/remote_config22% (112 lines)
ROOT0% (0 lines)
macros0% (0 lines)
toolchains0% (0 lines)
toolchains/remote0% (0 lines)

Duplication Between Components (50+ lines)

G tmp_windows/tf_win_08062020 tmp_windows/tf_win_08062020 toolchains/win toolchains/win tmp_windows/tf_win_08062020--toolchains/win 13317 toolchains/cpus toolchains/cpus tmp_windows/tf_win_08062020--toolchains/cpus 347 toolchains/embedded toolchains/embedded tmp_windows/tf_win_08062020--toolchains/embedded 264 toolchains/cpus--toolchains/win 971 toolchains/cpus--toolchains/embedded 995 toolchains/embedded--toolchains/win 888

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 5,513 duplicates...
Size#FoldersFilesLinesCode
1285 x 2 toolchains/win/tf_win_01242022
toolchains/win/tf_win_01252022
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
1:1367 (100%)
1:1367 (100%)
view
1261 x 2 toolchains/win/tf_win_06212021
toolchains/win/tf_win_06242021
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
1:1343 (100%)
1:1343 (100%)
view
1261 x 2 toolchains/win/tf_win_06152021
toolchains/win/tf_win_06212021
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
1:1343 (100%)
1:1343 (100%)
view
1261 x 2 toolchains/win/tf_win_06152021
toolchains/win/tf_win_06242021
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
1:1343 (100%)
1:1343 (100%)
view
1260 x 2 toolchains/win/bazel_211
toolchains/win/tf_win_08062020
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
1:1342 (100%)
1:1342 (100%)
view
1259 x 2 tmp_windows/tf_win_08062020
toolchains/win/tf_win_08062020
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
2:1342 (99%)
2:1342 (99%)
view
1259 x 2 tmp_windows/tf_win_08062020
toolchains/win/bazel_211
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
2:1342 (99%)
2:1342 (99%)
view
1257 x 2 toolchains/win/tf_win_01072022
toolchains/win/tf_win_01122022
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
1:1339 (100%)
1:1339 (100%)
view
1097 x 2 toolchains/win/tf_win_01072022
toolchains/win/tf_win_01252022
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
1:1168 (87%)
1:1168 (85%)
view
1097 x 2 toolchains/win/tf_win_01122022
toolchains/win/tf_win_01252022
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
1:1168 (87%)
1:1168 (85%)
view
1097 x 2 toolchains/win/tf_win_01122022
toolchains/win/tf_win_01242022
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
1:1168 (87%)
1:1168 (85%)
view
1097 x 2 toolchains/win/tf_win_01072022
toolchains/win/tf_win_01242022
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
1:1168 (87%)
1:1168 (85%)
view
773 x 2 toolchains/win/tf_win_06242021
toolchains/win/tf_win_08062020
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
502:1327 (61%)
502:1327 (61%)
view
773 x 2 toolchains/win/bazel_211
toolchains/win/tf_win_06242021
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
502:1327 (61%)
502:1327 (61%)
view
773 x 2 tmp_windows/tf_win_08062020
toolchains/win/tf_win_06212021
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
502:1327 (61%)
502:1327 (61%)
view
773 x 2 toolchains/win/bazel_211
toolchains/win/tf_win_06212021
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
502:1327 (61%)
502:1327 (61%)
view
773 x 2 tmp_windows/tf_win_08062020
toolchains/win/tf_win_06242021
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
502:1327 (61%)
502:1327 (61%)
view
773 x 2 toolchains/win/tf_win_06212021
toolchains/win/tf_win_08062020
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
502:1327 (61%)
502:1327 (61%)
view
773 x 2 tmp_windows/tf_win_08062020
toolchains/win/tf_win_06152021
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
502:1327 (61%)
502:1327 (61%)
view
773 x 2 toolchains/win/tf_win_06152021
toolchains/win/tf_win_08062020
windows_cc_toolchain_config.bzl
windows_cc_toolchain_config.bzl
502:1327 (61%)
502:1327 (61%)
view