facebookresearch / votenet
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 52 files with 5,305 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 8 medium size files (2,052 lines of codeclsfd_ftr_w_mp_ins)
    • 11 small files (1,639 lines of code)
    • 33 very small files (1,614 lines of code)
0% | 0% | 38% | 30% | 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
py0% | 0% | 42% | 34% | 23%
cu0% | 0% | 45% | 29% | 25%
cpp0% | 0% | 0% | 0% | 100%
m0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pointnet20% | 0% | 72% | 24% | 3%
utils0% | 0% | 50% | 27% | 21%
sunrgbd0% | 0% | 65% | 25% | 9%
ROOT0% | 0% | 52% | 30% | 16%
pointnet2/_ext_src/src0% | 0% | 29% | 19% | 51%
models0% | 0% | 0% | 51% | 48%
scannet0% | 0% | 0% | 54% | 45%
sunrgbd/matlab0% | 0% | 0% | 0% | 100%
pointnet2/_ext_src/include0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
pointnet2_modules.py
in pointnet2
325 12
pc_util.py
in utils
322 25
sunrgbd_data.py
in sunrgbd
257 9
train.py
in root
251 7
sunrgbd_utils.py
in sunrgbd
245 28
pytorch_utils.py
in pointnet2
237 13
cu
sampling_gpu.cu
in pointnet2/_ext_src/src
212 -
box_util.py
in utils
203 13
ap_helper.py
in models
196 9
sunrgbd_detection_dataset.py
in sunrgbd
193 6
pointnet2_utils.py
in pointnet2
186 18
eval_det.py
in utils
148 8
eval.py
in root
146 4
scannet_detection_dataset.py
in scannet
146 5
nms.py
in utils
142 5
cu
interpolate_gpu.cu
in pointnet2/_ext_src/src
136 -
loss_helper.py
in models
125 4
dump_helper.py
in models
112 2
load_scannet_data.py
in scannet
109 4
metric_util.py
in utils
96 4
backbone_module.py
in models
90 3
proposal_module.py
in models
88 3
interpolate.cpp
in pointnet2/_ext_src/src
84 3
demo.py
in root
77 1
extract_rgbd_data_v2.m
in sunrgbd/matlab
76 -
votenet.py
in models
72 2
sampling.cpp
in pointnet2/_ext_src/src
70 3
model_util_sunrgbd.py
in sunrgbd
70 6
model_util_scannet.py
in scannet
70 7
cu
group_points_gpu.cu
in pointnet2/_ext_src/src
68 -
loss_helper_boxnet.py
in models
60 2
batch_load_scannet_data.py
in scannet
59 2
boxnet.py
in models
57 2
scannet_utils.py
in scannet
56 4
nn_distance.py
in utils
54 3
cu
ball_query_gpu.cu
in pointnet2/_ext_src/src
52 -
extract_rgbd_data_v1.m
in sunrgbd/matlab
49 -
group_points.cpp
in pointnet2/_ext_src/src
48 2
extract_split.m
in sunrgbd/matlab
43 -
tf_logger.py
in utils
43 4
voting_module.py
in models
39 2
cuda_utils.h
in pointnet2/_ext_src/include
31 2
tf_visualizer.py
in utils
30 5
ball_query.cpp
in pointnet2/_ext_src/src
26 1
data_viz.py
in scannet
25 -
setup.py
in pointnet2
24 -
utils.h
in pointnet2/_ext_src/include
21 -
bindings.cpp
in pointnet2/_ext_src/src
15 -
interpolate.h
in pointnet2/_ext_src/include
8 -
sampling.h
in pointnet2/_ext_src/include
5 -
Files With Most Units (Top 20)
File# lines# units
sunrgbd_utils.py
in sunrgbd
245 28
pc_util.py
in utils
322 25
pointnet2_utils.py
in pointnet2
186 18
pytorch_utils.py
in pointnet2
237 13
box_util.py
in utils
203 13
pointnet2_modules.py
in pointnet2
325 12
sunrgbd_data.py
in sunrgbd
257 9
ap_helper.py
in models
196 9
eval_det.py
in utils
148 8
train.py
in root
251 7
model_util_scannet.py
in scannet
70 7
model_util_sunrgbd.py
in sunrgbd
70 6
sunrgbd_detection_dataset.py
in sunrgbd
193 6
nms.py
in utils
142 5
tf_visualizer.py
in utils
30 5
scannet_detection_dataset.py
in scannet
146 5
metric_util.py
in utils
96 4
tf_logger.py
in utils
43 4
loss_helper.py
in models
125 4
eval.py
in root
146 4
Files With Long Lines (Top 16)

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

File# lines# units# long lines
dump_helper.py
in models
112 2 11
loss_helper.py
in models
125 4 7
ap_helper.py
in models
196 9 5
proposal_module.py
in models
88 3 4
eval.py
in root
146 4 4
model_util_sunrgbd.py
in sunrgbd
70 6 2
eval_det.py
in utils
148 8 2
train.py
in root
251 7 2
pointnet2_utils.py
in pointnet2
186 18 1
sunrgbd_utils.py
in sunrgbd
245 28 1
sunrgbd_data.py
in sunrgbd
257 9 1
extract_rgbd_data_v2.m
in sunrgbd/matlab
76 - 1
extract_rgbd_data_v1.m
in sunrgbd/matlab
49 - 1
pc_util.py
in utils
322 25 1
loss_helper_boxnet.py
in models
60 2 1
backbone_module.py
in models
90 3 1