facebookresearch / detr
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 29 files with 2,963 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,018 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,204 lines of code)
    • 17 very small files (741 lines of code)
0% | 0% | 34% | 40% | 25%
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% | 35% | 41% | 22%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
models0% | 0% | 79% | 0% | 20%
util0% | 0% | 72% | 0% | 27%
datasets0% | 0% | 0% | 80% | 19%
ROOT0% | 0% | 0% | 84% | 15%
d2/detr0% | 0% | 0% | 66% | 33%
d20% | 0% | 0% | 67% | 32%
d2/configs0% | 0% | 0% | 0% | 100%
Longest Files (Top 29)
File# lines# units
misc.py
in util
335 36
segmentation.py
in models
238 13
transformer.py
in models
233 20
detr.py
in models
212 16
main.py
in root
199 2
transforms.py
in datasets
191 26
detr.py
in d2/detr
190 8
coco_eval.py
in datasets
185 13
coco.py
in datasets
118 7
engine.py
in root
117 2
hubconf.py
in root
103 8
train_net.py
in d2
101 5
backbone.py
in models
83 9
plot_utils.py
in util
81 2
run_with_submitit.py
in root
78 8
dataset_mapper.py
in d2/detr
74 3
coco_panoptic.py
in datasets
72 5
position_encoding.py
in models
64 6
converter.py
in d2
49 2
box_ops.py
in util
45 5
detr_segm_256_6_6_torchvision.yaml
in d2/configs
45 -
detr_256_6_6_torchvision.yaml
in d2/configs
45 -
panoptic_eval.py
in datasets
35 4
matcher.py
in models
28 3
config.py
in d2/detr
19 1
__init__.py
in datasets
16 2
__init__.py
in models
3 1
__init__.py
in d2/detr
3 -
__init__.py
in util
1 -
Files With Most Units (Top 20)
File# lines# units
misc.py
in util
335 36
transforms.py
in datasets
191 26
transformer.py
in models
233 20
detr.py
in models
212 16
coco_eval.py
in datasets
185 13
segmentation.py
in models
238 13
backbone.py
in models
83 9
run_with_submitit.py
in root
78 8
detr.py
in d2/detr
190 8
hubconf.py
in root
103 8
coco.py
in datasets
118 7
position_encoding.py
in models
64 6
box_ops.py
in util
45 5
coco_panoptic.py
in datasets
72 5
train_net.py
in d2
101 5
panoptic_eval.py
in datasets
35 4
matcher.py
in models
28 3
dataset_mapper.py
in d2/detr
74 3
plot_utils.py
in util
81 2
__init__.py
in datasets
16 2
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