tensorflow / custom-op
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 28 files with 5,246 lines of code.
    • 3 very long files (3,882 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (304 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (768 lines of code)
    • 19 very small files (292 lines of code)
73% | 0% | 5% | 14% | 5%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
tpl80% | 0% | 0% | 17% | 2%
bzl85% | 0% | 0% | 14% | 0%
py0% | 0% | 80% | 0% | 19%
cc0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
gpu/crosstool90% | 0% | 0% | 9% | 0%
gpu79% | 0% | 20% | 0% | 0%
gpu/cuda0% | 0% | 0% | 81% | 18%
tf0% | 0% | 0% | 92% | 7%
tensorflow_time_two/cc0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
tensorflow_zero_out/cc0% | 0% | 0% | 0% | 100%
tensorflow_zero_out/python0% | 0% | 0% | 0% | 100%
tensorflow_time_two/python0% | 0% | 0% | 0% | 100%
tensorflow_zero_out0% | 0% | 0% | 0% | 100%
tensorflow_time_two0% | 0% | 0% | 0% | 100%
Longest Files (Top 28)
File# lines# units
tpl
cc_toolchain_config.bzl.tpl
in gpu/crosstool
1433 -
tpl
CROSSTOOL.tpl
in gpu/crosstool
1304 -
cuda_configure.bzl
in gpu
1145 -
find_cuda_config.py
in gpu
304 26
tf_configure.bzl
in tf
189 -
tpl
msvc_wrapper_for_nvcc.py.tpl
in gpu/crosstool/windows
161 -
tpl
BUILD.tpl
in gpu/cuda
152 -
tpl
BUILD.windows.tpl
in gpu/cuda
138 -
tpl
BUILD.tpl
in gpu/crosstool
128 -
time_two_kernels.cc
in tensorflow_time_two/cc/kernels
52 3
setup.py
in root
51 3
tpl
build_defs.bzl.tpl
in gpu/cuda
49 -
time_two_kernels.cu.cc
in tensorflow_time_two/cc/kernels
28 2
zero_out_kernels.cc
in tensorflow_zero_out/cc/kernels
20 2
tpl
cuda_config.h.tpl
in gpu/cuda
19 -
tpl
BUILD.tpl
in tf
15 -
time_two_ops.cc
in tensorflow_time_two/cc/ops
11 -
time_two.h
in tensorflow_time_two/cc/kernels
11 -
zero_out_ops.cc
in tensorflow_zero_out/cc/ops
10 -
zero_out_ops.py
in tensorflow_zero_out/python/ops
8 -
time_two_ops.py
in tensorflow_time_two/python/ops
8 -
in
MANIFEST.in
in root
2 -
__init__.py
in tensorflow_zero_out
2 -
__init__.py
in tensorflow_time_two
2 -
__init__.py
in tensorflow_zero_out/python/ops
1 -
__init__.py
in tensorflow_zero_out/python
1 -
__init__.py
in tensorflow_time_two/python/ops
1 -
__init__.py
in tensorflow_time_two/python
1 -
Files With Most Units (Top 5)
File# lines# units
find_cuda_config.py
in gpu
304 26
setup.py
in root
51 3
time_two_kernels.cc
in tensorflow_time_two/cc/kernels
52 3
zero_out_kernels.cc
in tensorflow_zero_out/cc/kernels
20 2
time_two_kernels.cu.cc
in tensorflow_time_two/cc/kernels
28 2
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 2 long lines.

File# lines# units# long lines
tf_configure.bzl
in tf
189 - 2