facebookresearch / DensePose
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 108 files with 13,614 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (2,215 lines of code)
    • 18 medium size files (5,387 lines of codeclsfd_ftr_w_mp_ins)
    • 20 small files (2,910 lines of code)
    • 67 very small files (3,102 lines of code)
0% | 16% | 39% | 21% | 22%
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% | 19% | 40% | 23% | 16%
cmake0% | 0% | 74% | 0% | 25%
cu0% | 0% | 84% | 0% | 15%
pyx0% | 0% | 0% | 78% | 21%
yaml0% | 0% | 0% | 0% | 100%
m0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
cc0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
challenge/2019_COCO_DensePose0% | 100% | 0% | 0% | 0%
detectron/datasets0% | 25% | 51% | 15% | 7%
detectron/core0% | 48% | 51% | 0% | <1%
detectron/modeling0% | 0% | 70% | 18% | 11%
detectron/utils0% | 0% | 23% | 40% | 35%
cmake/legacy0% | 0% | 77% | 0% | 22%
detectron/ops0% | 0% | 42% | 0% | 58%
detectron/roi_data0% | 0% | 17% | 57% | 24%
tools0% | 0% | 0% | 81% | 18%
configs0% | 0% | 0% | 0% | 100%
challenge0% | 0% | 0% | 0% | 100%
PoseTrack/configs0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
cmake0% | 0% | 0% | 0% | 100%
detectron0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
densepose_cocoeval.py
in challenge/2019_COCO_DensePose
918 24
densepose_cocoeval.py
in detectron/datasets
670 17
test.py
in detectron/core
627 26
config.py
in detectron/core
472 13
model_builder.py
in detectron/modeling
426 48
json_dataset_evaluator.py
in detectron/datasets
420 18
FPN.py
in detectron/modeling
395 17
json_dataset.py
in detectron/datasets
387 12
detector.py
in detectron/modeling
340 22
task_evaluation.py
in detectron/datasets
318 23
vis.py
in detectron/utils
304 9
model_convert_utils.py
in detectron/utils
277 24
cmake
Utils.cmake
in cmake/legacy
257 -
ResNet.py
in detectron/modeling
256 15
retinanet_heads.py
in detectron/modeling
245 3
cu
pool_points_interp.cu
in detectron/ops
231 -
dataset_catalog.py
in detectron/datasets
227 7
mask_rcnn_heads.py
in detectron/modeling
224 10
cmake
Cuda.cmake
in cmake/legacy
206 -
rpn_generator.py
in detectron/core
201 7
loader.py
in detectron/roi_data
201 15
net.py
in detectron/utils
196 9
boxes.py
in detectron/utils
191 16
rpn.py
in detectron/roi_data
188 3
segms.py
in detectron/utils
170 9
keypoints.py
in detectron/utils
168 9
fast_rcnn.py
in detectron/roi_data
164 5
retinanet.py
in detectron/roi_data
164 3
infer.py
in tools
152 4
body_uv_rcnn_heads.py
in detectron/modeling
147 4
body_uv_rcnn.py
in detectron/roi_data
142 1
voc_dataset_evaluator.py
in detectron/datasets
141 6
pyx
cython_nms.pyx
in detectron/utils
141 2
keypoint_rcnn_heads.py
in detectron/modeling
132 4
roidb.py
in detectron/datasets
130 6
voc_eval.py
in detectron/datasets
125 3
train.py
in detectron/utils
118 6
fast_rcnn_heads.py
in detectron/modeling
117 5
infer_simple.py
in tools
113 2
visualize_results.py
in tools
106 2
rpn_heads.py
in detectron/modeling
105 3
densepose_methods.py
in detectron/utils
95 6
colormap.py
in detectron/utils
93 1
generate_proposals.py
in detectron/ops
92 4
subprocess.py
in detectron/utils
90 2
train_net.py
in tools
84 3
DensePoseKeyPointsMask_ResNet50_FPN_s1x-e2e.yaml
in configs
84 -
encode_results_for_competition.py
in challenge
81 5
io.py
in detectron/utils
79 7
blob.py
in detectron/utils
78 9
Files With Most Units (Top 20)
File# lines# units
model_builder.py
in detectron/modeling
426 48
test.py
in detectron/core
627 26
model_convert_utils.py
in detectron/utils
277 24
densepose_cocoeval.py
in challenge/2019_COCO_DensePose
918 24
task_evaluation.py
in detectron/datasets
318 23
detector.py
in detectron/modeling
340 22
json_dataset_evaluator.py
in detectron/datasets
420 18
densepose_cocoeval.py
in detectron/datasets
670 17
FPN.py
in detectron/modeling
395 17
boxes.py
in detectron/utils
191 16
ResNet.py
in detectron/modeling
256 15
loader.py
in detectron/roi_data
201 15
config.py
in detectron/core
472 13
c2.py
in detectron/utils
76 13
json_dataset.py
in detectron/datasets
387 12
mask_rcnn_heads.py
in detectron/modeling
224 10
net.py
in detectron/utils
196 9
vis.py
in detectron/utils
304 9
keypoints.py
in detectron/utils
168 9
segms.py
in detectron/utils
170 9
Files With Long Lines (Top 13)

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

File# lines# units# long lines
body_uv_rcnn_heads.py
in detectron/modeling
147 4 6
densepose_methods.py
in detectron/utils
95 6 4
densepose_cocoeval.py
in challenge/2019_COCO_DensePose
918 24 4
cmake
Utils.cmake
in cmake/legacy
257 - 3
cmake
Cuda.cmake
in cmake/legacy
206 - 2
densepose_cocoeval.py
in detectron/datasets
670 17 2
body_uv_rcnn.py
in detectron/roi_data
142 1 2
rpn.py
in detectron/roi_data
188 3 1
DensePose_ResNet50_FPN_s1x.yaml
in configs
59 - 1
DensePose_ResNet50_FPN_single_GPU.yaml
in configs
59 - 1
rpn_densepose_only_R-50-FPN_1x.yaml
in configs
33 - 1
DensePose_ResNet101_FPN_s1x.yaml
in configs
59 - 1
rpn_densepose_only_X-101-32x8d-FPN_1x.yaml
in configs
38 - 1