facebookincubator / FioSynth
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 10 files with 1,938 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (718 lines of code)
    • 3 medium size files (1,119 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 6 very small files (101 lines of code)
0% | 37% | 57% | 0% | 5%
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% | 50% | 43% | 0% | 6%
yml0% | 0% | 100% | 0% | 0%
in0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
fiosynth_lib0% | 52% | 45% | 0% | 2%
ROOT0% | 0% | 88% | 0% | 11%
Longest Files (Top 10)
File# lines# units
fiosynth.py
in fiosynth_lib
718 36
500 -
fio_json_parser.py
in fiosynth_lib
403 15
flash_config.py
in fiosynth_lib
216 13
setup.py
in root
48 1
health_tools.py
in fiosynth_lib
34 3
in
8 -
__init__.py
in fiosynth_lib
4 -
cfg
setup.cfg
in root
4 -
3 -
Files With Most Units (Top 5)
File# lines# units
fiosynth.py
in fiosynth_lib
718 36
fio_json_parser.py
in fiosynth_lib
403 15
flash_config.py
in fiosynth_lib
216 13
health_tools.py
in fiosynth_lib
34 3
setup.py
in root
48 1
Files With Long Lines (Top 1)

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

File# lines# units# long lines
fiosynth.py
in fiosynth_lib
718 36 2
Correlations

File Size vs. Commits (all time): 10 points

fiosynth_lib/fio_json_parser.py x: 5 commits (all time) y: 403 lines of code fiosynth_lib/fiosynth.py x: 17 commits (all time) y: 718 lines of code packman.yml x: 10 commits (all time) y: 500 lines of code fiosynth.py x: 3 commits (all time) y: 3 lines of code fiosynth_lib/flash_config.py x: 3 commits (all time) y: 216 lines of code fiosynth_lib/health_tools.py x: 3 commits (all time) y: 34 lines of code setup.py x: 4 commits (all time) y: 48 lines of code MANIFEST.in x: 1 commits (all time) y: 8 lines of code setup.cfg x: 1 commits (all time) y: 4 lines of code fiosynth_lib/__init__.py x: 2 commits (all time) y: 4 lines of code
718.0
lines of code
  min: 3.0
  average: 193.8
  25th percentile: 4.0
  median: 41.0
  75th percentile: 427.25
  max: 718.0
0 17.0
commits (all time)
min: 1.0 | average: 4.9 | 25th percentile: 1.75 | median: 3.0 | 75th percentile: 6.25 | max: 17.0

File Size vs. Contributors (all time): 10 points

fiosynth_lib/fio_json_parser.py x: 4 contributors (all time) y: 403 lines of code fiosynth_lib/fiosynth.py x: 5 contributors (all time) y: 718 lines of code packman.yml x: 3 contributors (all time) y: 500 lines of code fiosynth.py x: 3 contributors (all time) y: 3 lines of code fiosynth_lib/flash_config.py x: 2 contributors (all time) y: 216 lines of code fiosynth_lib/health_tools.py x: 2 contributors (all time) y: 34 lines of code setup.py x: 3 contributors (all time) y: 48 lines of code MANIFEST.in x: 1 contributors (all time) y: 8 lines of code setup.cfg x: 1 contributors (all time) y: 4 lines of code
718.0
lines of code
  min: 3.0
  average: 193.8
  25th percentile: 4.0
  median: 41.0
  75th percentile: 427.25
  max: 718.0
0 5.0
contributors (all time)
min: 1.0 | average: 2.5 | 25th percentile: 1.0 | median: 2.5 | 75th percentile: 3.25 | max: 5.0

File Size vs. Commits (30 days): 2 points

fiosynth_lib/fio_json_parser.py x: 1 commits (30d) y: 403 lines of code fiosynth_lib/fiosynth.py x: 3 commits (30d) y: 718 lines of code
718.0
lines of code
  min: 403.0
  average: 560.5
  25th percentile: 403.0
  median: 560.5
  75th percentile: 718.0
  max: 718.0
0 3.0
commits (30d)
min: 1.0 | average: 2.0 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 3.0

File Size vs. Contributors (30 days): 2 points

fiosynth_lib/fio_json_parser.py x: 1 contributors (30d) y: 403 lines of code fiosynth_lib/fiosynth.py x: 2 contributors (30d) y: 718 lines of code
718.0
lines of code
  min: 403.0
  average: 560.5
  25th percentile: 403.0
  median: 560.5
  75th percentile: 718.0
  max: 718.0
0 2.0
contributors (30d)
min: 1.0 | average: 1.5 | 25th percentile: 1.0 | median: 1.5 | 75th percentile: 2.0 | max: 2.0

File Size vs. Commits (90 days): 3 points

fiosynth_lib/fio_json_parser.py x: 1 commits (90d) y: 403 lines of code fiosynth_lib/fiosynth.py x: 4 commits (90d) y: 718 lines of code packman.yml x: 1 commits (90d) y: 500 lines of code
718.0
lines of code
  min: 403.0
  average: 540.33
  25th percentile: 403.0
  median: 500.0
  75th percentile: 718.0
  max: 718.0
0 4.0
commits (90d)
min: 1.0 | average: 2.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 4.0 | max: 4.0

File Size vs. Contributors (90 days): 3 points

fiosynth_lib/fio_json_parser.py x: 1 contributors (90d) y: 403 lines of code fiosynth_lib/fiosynth.py x: 3 contributors (90d) y: 718 lines of code packman.yml x: 1 contributors (90d) y: 500 lines of code
718.0
lines of code
  min: 403.0
  average: 540.33
  25th percentile: 403.0
  median: 500.0
  75th percentile: 718.0
  max: 718.0
0 3.0
contributors (90d)
min: 1.0 | average: 1.67 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 3.0