facebookresearch / curiosity
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 3,090 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 8 medium size files (2,358 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (262 lines of code)
    • 12 very small files (470 lines of code)
0% | 0% | 76% | 8% | 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% | 90% | 0% | 9%
jsonnet0% | 0% | 0% | 63% | 36%
yaml0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
curiosity0% | 0% | 90% | 0% | 9%
configs0% | 0% | 0% | 63% | 36%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
models.py
in curiosity
355 11
baseline_reader.py
in curiosity
311 8
baseline_models.py
in curiosity
310 11
stats.py
in curiosity
302 14
paraphrase_models.py
in curiosity
298 14
reader.py
in curiosity
295 11
db.py
in curiosity
249 18
cli.py
in curiosity
238 8
model.jsonnet
in configs
131 -
baseline_model.jsonnet
in configs
131 -
metrics.py
in curiosity
95 8
paraphrase_wow_seq2seq.jsonnet
in configs
78 -
paraphrase_curiosity_seq2seq.jsonnet
in configs
74 -
bert.py
in curiosity
46 3
predictors.py
in curiosity
43 2
similarity.py
in curiosity
30 5
toml
pyproject.toml
in root
24 -
nn.py
in curiosity
23 3
environment_gpu.yaml
in root
20 -
environment.yaml
in root
19 -
util.py
in curiosity
17 1
__init__.py
in curiosity
1 -
Files With Most Units (Top 14)
File# lines# units
db.py
in curiosity
249 18
stats.py
in curiosity
302 14
paraphrase_models.py
in curiosity
298 14
models.py
in curiosity
355 11
baseline_models.py
in curiosity
310 11
reader.py
in curiosity
295 11
metrics.py
in curiosity
95 8
cli.py
in curiosity
238 8
baseline_reader.py
in curiosity
311 8
similarity.py
in curiosity
30 5
nn.py
in curiosity
23 3
bert.py
in curiosity
46 3
predictors.py
in curiosity
43 2
util.py
in curiosity
17 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 3 long lines.

File# lines# units# long lines
cli.py
in curiosity
238 8 3