facebookresearch / clutrr
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 22 files with 2,178 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,121 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (712 lines of code)
    • 13 very small files (345 lines of code)
0% | 0% | 51% | 32% | 15%
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% | 57% | 27% | 14%
yaml0% | 0% | 0% | 76% | 23%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
clutrr/relations0% | 0% | 89% | 0% | 10%
clutrr/utils0% | 0% | 58% | 21% | 20%
clutrr0% | 0% | 42% | 50% | 7%
clutrr/store0% | 0% | 0% | 68% | 31%
clutrr/actors0% | 0% | 0% | 75% | 24%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
builder.py
in clutrr/relations
370 34
data_backend.py
in clutrr/utils
278 25
main.py
in clutrr
252 16
puzzle.py
in clutrr/relations
221 23
generator.py
in clutrr
195 3
relations_store.yaml
in clutrr/store
175 -
ancestry.py
in clutrr/actors
138 8
template_mturk.py
in clutrr
102 2
web.py
in clutrr/utils
102 1
utils.py
in clutrr/utils
95 12
templator.py
in clutrr/relations
71 9
rules_store.yaml
in clutrr/store
47 -
actor.py
in clutrr/actors
44 7
args.py
in clutrr
42 1
store.py
in clutrr/store
24 1
setup.py
in root
9 -
question_store.yaml
in clutrr/store
8 -
__init__.py
in clutrr/relations
1 -
__init__.py
in clutrr
1 -
__init__.py
in clutrr/utils
1 -
__init__.py
in clutrr/actors
1 -
__init__.py
in clutrr/store
1 -
Files With Most Units (Top 13)
File# lines# units
builder.py
in clutrr/relations
370 34
data_backend.py
in clutrr/utils
278 25
puzzle.py
in clutrr/relations
221 23
main.py
in clutrr
252 16
utils.py
in clutrr/utils
95 12
templator.py
in clutrr/relations
71 9
ancestry.py
in clutrr/actors
138 8
actor.py
in clutrr/actors
44 7
generator.py
in clutrr
195 3
template_mturk.py
in clutrr
102 2
web.py
in clutrr/utils
102 1
args.py
in clutrr
42 1
store.py
in clutrr/store
24 1
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 28 long lines.

File# lines# units# long lines
args.py
in clutrr
42 1 8
web.py
in clutrr/utils
102 1 6
builder.py
in clutrr/relations
370 34 5
data_backend.py
in clutrr/utils
278 25 5
generator.py
in clutrr
195 3 2
templator.py
in clutrr/relations
71 9 1
main.py
in clutrr
252 16 1