microsoft / O-CNN
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 288 files with 31,159 lines of code.
    • 3 very long files (4,468 lines of code)
    • 3 long files (2,006 lines of code)
    • 24 medium size files (7,167 lines of codeclsfd_ftr_w_mp_ins)
    • 59 small files (7,878 lines of code)
    • 199 very small files (9,640 lines of code)
14% | 6% | 23% | 25% | 30%
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
cpp21% | 8% | 27% | 21% | 21%
proto100% | 0% | 0% | 0% | 0%
cu0% | 31% | 12% | 15% | 41%
py0% | 0% | 33% | 38% | 28%
cc0% | 0% | 19% | 43% | 37%
h0% | 0% | 0% | 38% | 61%
hpp0% | 0% | 0% | 9% | 90%
yaml0% | 0% | 0% | 0% | 100%
m0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
octree/octree36% | 16% | 22% | 12% | 12%
caffe/src20% | 9% | 11% | 22% | 36%
tensorflow/libs0% | 0% | 29% | 39% | 30%
caffe/tools0% | 0% | 60% | 33% | 5%
tensorflow/script0% | 0% | 19% | 32% | 47%
pytorch/projects0% | 0% | 29% | 37% | 33%
pytorch/cpp0% | 0% | 33% | 31% | 34%
octree/tools0% | 0% | 19% | 31% | 49%
caffe/experiments0% | 0% | 91% | 0% | 8%
pytorch/ocnn0% | 0% | 24% | 31% | 43%
tensorflow/data0% | 0% | 27% | 72% | 0%
caffe/include0% | 0% | 0% | 9% | 90%
tensorflow/util0% | 0% | 0% | 0% | 100%
octree/python0% | 0% | 0% | 0% | 100%
pytorch0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
octree_samples.cpp
in octree/octree
2160 -
proto
caffe.proto
in caffe/src/caffe/proto
1288 -
octree.cpp
in octree/octree
1020 27
octree_nn.cu
in octree/octree
809 -
octree_nn.cpp
in octree/octree
632 31
octree.cpp
in caffe/src/caffe/util
565 20
caffe.cpp
in caffe/tools
468 11
adaptive_octree.cpp
in octree/tools
410 4
transform_octree.cpp
in octree/octree
398 10
prepare_dataset.py
in caffe/experiments
387 13
__init__.py
in tensorflow/libs
386 32
octree_base_conv_layer.cpp
in caffe/src/caffe/layers
374 12
ocnn.py
in tensorflow/script
344 48
mesh.cpp
in octree/octree
334 11
marching_cube_table.cpp
in octree/octree
315 -
octree.cu
in caffe/src/caffe/util
312 -
feature_pooling.cpp
in caffe/tools
312 6
solver.py
in pytorch/projects/solver
303 29
octree_conv.cpp
in octree/octree
296 12
modules.py
in pytorch/ocnn
269 32
octree_property.cpp
in pytorch/cpp
267 5
cls_modelnet.py
in tensorflow/data
236 12
math_functions.cpp
in octree/octree
227 16
octree_conv_op.cc
in tensorflow/libs
227 19
octree_info.cpp
in octree/octree
226 26
octree_conv.cpp
in pytorch/cpp
222 21
points_parser.cpp
in octree/octree
219 14
transform_points_op.cc
in tensorflow/libs
219 6
network_hrnet.py
in tensorflow/script
210 17
scannet.py
in pytorch/projects/tools
206 10
network_ae.py
in tensorflow/script
195 9
octree_nn.h
in octree/octree
193 -
octree_key_op.cc
in tensorflow/libs
189 13
seg_partnet.py
in tensorflow/data
188 11
octree2col.cpp
in pytorch/cpp
186 13
midnet_data.py
in tensorflow/data
183 9
modelnet.py
in pytorch/projects/tools
180 10
tfsolver.py
in tensorflow/script
170 14
octree_parser.cpp
in caffe/src/caffe/util
169 9
chamfer_distance.cpp
in octree/tools
169 9
cmd_flags.h
in octree/octree
163 9
merge_octrees.cpp
in octree/octree
159 7
octree_info.cpp
in caffe/src/caffe/util
156 21
upgrade_octree_database.cpp
in caffe/tools
153 3
octree_grow.cpp
in pytorch/cpp
147 8
completion.py
in tensorflow/data
145 10
resize_image_lmdb.cpp
in caffe/tools
142 5
dataset.py
in tensorflow/script
141 14
octree_parser.cpp
in octree/octree
140 7
octree_max_pool_op.cc
in tensorflow/libs
140 8
Files With Most Units (Top 20)
File# lines# units
ocnn.py
in tensorflow/script
344 48
modules.py
in pytorch/ocnn
269 32
__init__.py
in tensorflow/libs
386 32
octree_nn.cpp
in octree/octree
632 31
octree_info.h
in octree/octree
107 29
solver.py
in pytorch/projects/solver
303 29
octree.cpp
in octree/octree
1020 27
octree_info.cpp
in octree/octree
226 26
octree_info.hpp
in caffe/include/caffe/util
88 23
octree_info.cpp
in caffe/src/caffe/util
156 21
octree_conv.cpp
in pytorch/cpp
222 21
octree.cpp
in caffe/src/caffe/util
565 20
octree_conv_op.cc
in tensorflow/libs
227 19
network_hrnet.py
in tensorflow/script
210 17
math_functions.cpp
in octree/octree
227 16
octree_conv.py
in pytorch/ocnn
126 16
points_parser.cpp
in octree/octree
219 14
octree_pool.py
in pytorch/ocnn
84 14
dataset.py
in tensorflow/script
141 14
tfsolver.py
in tensorflow/script
170 14
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