tensorflow / fold
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 69 files with 11,194 lines of code.
    • 2 very long files (2,336 lines of code)
    • 3 long files (1,962 lines of code)
    • 10 medium size files (3,623 lines of codeclsfd_ftr_w_mp_ins)
    • 10 small files (1,401 lines of code)
    • 44 very small files (1,872 lines of code)
20% | 17% | 32% | 12% | 16%
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
py27% | 18% | 41% | 2% | 10%
cc36% | 19% | 21% | 11% | 10%
h0% | 17% | 35% | 22% | 24%
bzl0% | 0% | 0% | 90% | 9%
proto0% | 0% | 0% | 0% | 100%
inc0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tensorflow_fold/blocks38% | 25% | 32% | 0% | 3%
tensorflow_fold/llgtm/backend61% | 0% | 20% | 5% | 12%
tensorflow_fold/loom0% | 41% | 30% | 16% | 12%
tensorflow_fold/llgtm0% | 17% | 36% | 19% | 26%
tensorflow_fold/loom/benchmarks0% | 0% | 100% | 0% | 0%
tensorflow_fold/util0% | 0% | 54% | 21% | 24%
tensorflow_fold0% | 0% | 0% | 90% | 9%
tensorflow_fold/llgtm/platform0% | 0% | 0% | 88% | 11%
tensorflow_fold/loom/calculator_example0% | 0% | 0% | 0% | 100%
tensorflow_fold/public0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
blocks.py
in tensorflow_fold/blocks
1173 192
eigen_evaluator.cc
in tensorflow_fold/llgtm/backend
1163 64
plan.py
in tensorflow_fold/blocks
786 68
weaver.cc
in tensorflow_fold/loom
637 22
graph.h
in tensorflow_fold/llgtm
539 63
loom.py
in tensorflow_fold/loom
465 38
tensor.h
in tensorflow_fold/llgtm
438 47
tf_evaluator.cc
in tensorflow_fold/llgtm/backend
395 30
tensor_ops_impl.h
in tensorflow_fold/llgtm
373 31
block_compiler.py
in tensorflow_fold/blocks
366 45
layers.py
in tensorflow_fold/blocks
357 41
iclr_2017_benchmark.py
in tensorflow_fold/loom/benchmarks
339 39
tensor_ops.h
in tensorflow_fold/llgtm
327 19
proto_tools.cc
in tensorflow_fold/util
306 4
result_types.py
in tensorflow_fold/blocks
257 62
fold.bzl
in tensorflow_fold
195 -
gradients.h
in tensorflow_fold/llgtm
189 16
dimensions.h
in tensorflow_fold/llgtm
183 22
weaver_op_base.cc
in tensorflow_fold/loom
138 6
layers.cc
in tensorflow_fold/llgtm
125 6
gradients.cc
in tensorflow_fold/llgtm
122 7
setup.py
in tensorflow_fold/util
121 9
eigen_evaluator.h
in tensorflow_fold/llgtm/backend
114 7
weaver.h
in tensorflow_fold/loom
113 4
external.h
in tensorflow_fold/llgtm/platform
101 5
model.py
in tensorflow_fold/loom/calculator_example
99 13
graph_evaluator.h
in tensorflow_fold/llgtm
98 9
variable_initializers.h
in tensorflow_fold/llgtm
90 15
util.h
in tensorflow_fold/llgtm
86 9
proto
test.proto
in tensorflow_fold/util
86 -
trainer.cc
in tensorflow_fold/llgtm
84 6
tensor_opcodes.h
in tensorflow_fold/llgtm
83 1
layers.h
in tensorflow_fold/llgtm
80 9
graph.cc
in tensorflow_fold/llgtm
69 4
proto
loom.proto
in tensorflow_fold/loom
69 -
eval.py
in tensorflow_fold/loom/calculator_example
66 2
train.py
in tensorflow_fold/loom/calculator_example
64 2
trainer.h
in tensorflow_fold/llgtm
59 6
weaver_op_base.h
in tensorflow_fold/loom
59 -
tensor_opcodes.cc
in tensorflow_fold/llgtm
57 2
calculator.py
in tensorflow_fold/loom/calculator_example
55 4
tf_evaluator.h
in tensorflow_fold/llgtm/backend
54 1
util.py
in tensorflow_fold/blocks
52 6
proto
test3.proto
in tensorflow_fold/util
51 -
eigen_graph_implementation.cc
in tensorflow_fold/llgtm/backend
47 1
graph_implementation.h
in tensorflow_fold/llgtm
38 1
deserializing_weaver_op.cc
in tensorflow_fold/loom
37 2
metrics.py
in tensorflow_fold/blocks
35 5
loom_ops.py
in tensorflow_fold/blocks
35 5
tf_evaluator_client.h
in tensorflow_fold/llgtm/backend
31 2
Files With Most Units (Top 20)
File# lines# units
blocks.py
in tensorflow_fold/blocks
1173 192
plan.py
in tensorflow_fold/blocks
786 68
eigen_evaluator.cc
in tensorflow_fold/llgtm/backend
1163 64
graph.h
in tensorflow_fold/llgtm
539 63
result_types.py
in tensorflow_fold/blocks
257 62
tensor.h
in tensorflow_fold/llgtm
438 47
block_compiler.py
in tensorflow_fold/blocks
366 45
layers.py
in tensorflow_fold/blocks
357 41
iclr_2017_benchmark.py
in tensorflow_fold/loom/benchmarks
339 39
loom.py
in tensorflow_fold/loom
465 38
tensor_ops_impl.h
in tensorflow_fold/llgtm
373 31
tf_evaluator.cc
in tensorflow_fold/llgtm/backend
395 30
dimensions.h
in tensorflow_fold/llgtm
183 22
weaver.cc
in tensorflow_fold/loom
637 22
tensor_ops.h
in tensorflow_fold/llgtm
327 19
gradients.h
in tensorflow_fold/llgtm
189 16
variable_initializers.h
in tensorflow_fold/llgtm
90 15
model.py
in tensorflow_fold/loom/calculator_example
99 13
layers.h
in tensorflow_fold/llgtm
80 9
util.h
in tensorflow_fold/llgtm
86 9
Files With Long Lines (Top 0)

There are 0 files with lines longer than 120 characters. In total, there are 0 long lines.

File# lines# units# long lines