facebookresearch / WyPR
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 70 files with 5,493 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 6 medium size files (1,587 lines of codeclsfd_ftr_w_mp_ins)
    • 14 small files (2,071 lines of code)
    • 50 very small files (1,835 lines of code)
0% | 0% | 28% | 37% | 33%
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% | 30% | 39% | 29%
cu0% | 0% | 45% | 29% | 25%
cpp0% | 0% | 0% | 38% | 61%
yaml0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
wypr/modeling0% | 0% | 44% | 17% | 37%
wypr/utils0% | 0% | 47% | 24% | 27%
wypr/dataset0% | 0% | 19% | 66% | 14%
gss0% | 0% | 0% | 72% | 27%
wypr/evaluation0% | 0% | 0% | 45% | 54%
shape_det0% | 0% | 0% | 51% | 48%
wypr/tools0% | 0% | 0% | 0% | 100%
wypr/config0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
wypr0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
pc_util.py
in wypr/utils
338 27
pointnet2_modules.py
in wypr/modeling/backbone/pointnet2
331 13
box_util.py
in wypr/utils
237 17
pytorch_utils.py
in wypr/modeling/backbone/pointnet2
237 13
vis.py
in wypr/dataset/scannet
232 8
cu
sampling_gpu.cu
in wypr/modeling/backbone/pointnet2/_ext-src/src
212 -
s3dis.py
in wypr/dataset/s3dis
200 5
scannet.py
in wypr/dataset/scannet
190 5
pointnet2_utils.py
in wypr/modeling/backbone/pointnet2
165 18
ap_helper.py
in wypr/evaluation
160 10
region_growing_on_point_set_3.cpp
in shape_det
156 2
features3d.py
in gss
151 26
eval_det.py
in wypr/utils
151 8
preprocess_scannet_all_points.py
in wypr/dataset/scannet
140 5
nms.py
in wypr/utils
139 5
cu
interpolate_gpu.cu
in wypr/modeling/backbone/pointnet2/_ext-src/src
136 -
process.py
in wypr/dataset/s3dis
131 8
util.py
in wypr/dataset/scannet
131 9
utils.py
in gss
115 9
selective_search_3d_run.py
in gss
106 3
preprocess.py
in shape_det
98 5
metric_util.py
in wypr/utils
94 4
eval_prop.py
in wypr/utils
90 3
cf_matrix.py
in wypr/evaluation
87 1
interpolate.cpp
in wypr/modeling/backbone/pointnet2/_ext-src/src
84 3
backbone_pointnet2.py
in wypr/modeling/backbone
82 3
config.yaml
in wypr/config
78 -
prepare_all_points.py
in wypr/dataset/s3dis
77 3
selective_search_3d_eval.py
in gss
71 -
sampling.cpp
in wypr/modeling/backbone/pointnet2/_ext-src/src
71 3
cu
group_points_gpu.cu
in wypr/modeling/backbone/pointnet2/_ext-src/src
68 -
preprocess_for_gss.py
in wypr/dataset/s3dis
63 3
iou_helper.py
in wypr/evaluation
58 3
nn_distance.py
in wypr/utils
54 3
meta_arch.py
in wypr/modeling/models
53 9
cu
ball_query_gpu.cu
in wypr/modeling/backbone/pointnet2/_ext-src/src
52 -
generate_scripts.py
in shape_det
51 3
group_points.cpp
in wypr/modeling/backbone/pointnet2/_ext-src/src
50 2
eval.py
in wypr/tools
48 2
tf_logger.py
in wypr/utils
45 4
ar_helper.py
in wypr/evaluation
45 4
train.py
in wypr/tools
38 1
selective_search_3d_ensemble.py
in gss
37 -
color_space_3d.py
in gss
36 7
setup.py
in wypr/modeling/backbone/pointnet2
34 -
cuda_utils.h
in wypr/modeling/backbone/pointnet2/_ext-src/include
31 2
vis.py
in wypr/dataset/s3dis
30 1
tf_visualizer.py
in wypr/utils
27 5
ball_query.cpp
in wypr/modeling/backbone/pointnet2/_ext-src/src
26 1
train_utils.py
in wypr/utils
25 4
Files With Most Units (Top 20)
File# lines# units
pc_util.py
in wypr/utils
338 27
features3d.py
in gss
151 26
pointnet2_utils.py
in wypr/modeling/backbone/pointnet2
165 18
box_util.py
in wypr/utils
237 17
pytorch_utils.py
in wypr/modeling/backbone/pointnet2
237 13
pointnet2_modules.py
in wypr/modeling/backbone/pointnet2
331 13
ap_helper.py
in wypr/evaluation
160 10
utils.py
in gss
115 9
util.py
in wypr/dataset/scannet
131 9
meta_arch.py
in wypr/modeling/models
53 9
process.py
in wypr/dataset/s3dis
131 8
vis.py
in wypr/dataset/scannet
232 8
eval_det.py
in wypr/utils
151 8
color_space_3d.py
in gss
36 7
preprocess.py
in shape_det
98 5
s3dis.py
in wypr/dataset/s3dis
200 5
preprocess_scannet_all_points.py
in wypr/dataset/scannet
140 5
scannet.py
in wypr/dataset/scannet
190 5
nms.py
in wypr/utils
139 5
tf_visualizer.py
in wypr/utils
27 5
Files With Long Lines (Top 19)

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

File# lines# units# long lines
features3d.py
in gss
151 26 4
preprocess.py
in shape_det
98 5 2
s3dis.py
in wypr/dataset/s3dis
200 5 2
preprocess_for_gss.py
in wypr/dataset/s3dis
63 3 2
vis.py
in wypr/dataset/scannet
232 8 2
eval_det.py
in wypr/utils
151 8 2
pc_util.py
in wypr/utils
338 27 2
meta_arch.py
in wypr/modeling/models
53 9 2
ap_helper.py
in wypr/evaluation
160 10 2
utils.py
in gss
115 9 1
selective_search_3d_eval.py
in gss
71 - 1
region_growing_on_point_set_3.cpp
in shape_det
156 2 1
eval.py
in wypr/tools
48 2 1
preprocess_scannet_all_points.py
in wypr/dataset/scannet
140 5 1
eval_prop.py
in wypr/utils
90 3 1
pointnet2_utils.py
in wypr/modeling/backbone/pointnet2
165 18 1
backbone_pointnet2.py
in wypr/modeling/backbone
82 3 1
iou_helper.py
in wypr/evaluation
58 3 1
ar_helper.py
in wypr/evaluation
45 4 1