facebook / PathPicker
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 24 files with 2,328 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (573 lines of code)
    • 3 medium size files (725 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (433 lines of code)
    • 17 very small files (597 lines of code)
0% | 24% | 31% | 18% | 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% | 31% | 26% | 13% | 29%
css0% | 0% | 100% | 0% | 0%
html0% | 0% | 0% | 100% | 0%
toml0% | 0% | 0% | 0% | 100%
rb0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/pathpicker0% | 34% | 28% | 14% | 22%
assets0% | 0% | 100% | 0% | 0%
ROOT0% | 0% | 0% | 76% | 23%
src0% | 0% | 0% | 0% | 100%
Longest Files (Top 24)
File# lines# units
screen_control.py
in src/pathpicker
573 66
parse.py
in src/pathpicker
258 6
243 -
line_format.py
in src/pathpicker
224 31
index.html
in root
194 -
output.py
in src/pathpicker
134 18
screen_flags.py
in src/pathpicker
105 9
formatted_text.py
in src/pathpicker
91 7
choose.py
in src
84 4
73 5
screen.py
in src/pathpicker
53 17
usage_strings.py
in src/pathpicker
47 -
color_printer.py
in src/pathpicker
47 6
curses_api.py
in src/pathpicker
46 16
44 -
state_files.py
in src/pathpicker
35 6
logger.py
in src/pathpicker
32 5
fpp.rb
in root
16 1
key_bindings.py
in src/pathpicker
14 1
char_code_mapping.py
in src/pathpicker
8 -
3 -
2 -
__init__.py
in src/pathpicker
1 -
repos.py
in src/pathpicker
1 -
Files With Most Units (Top 15)
File# lines# units
screen_control.py
in src/pathpicker
573 66
line_format.py
in src/pathpicker
224 31
output.py
in src/pathpicker
134 18
screen.py
in src/pathpicker
53 17
curses_api.py
in src/pathpicker
46 16
screen_flags.py
in src/pathpicker
105 9
formatted_text.py
in src/pathpicker
91 7
state_files.py
in src/pathpicker
35 6
color_printer.py
in src/pathpicker
47 6
parse.py
in src/pathpicker
258 6
logger.py
in src/pathpicker
32 5
73 5
choose.py
in src
84 4
fpp.rb
in root
16 1
key_bindings.py
in src/pathpicker
14 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 18 long lines.

File# lines# units# long lines
index.html
in root
194 - 9
243 - 8
44 - 1
Correlations

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

index.html x: 50 commits (all time) y: 194 lines of code src/version.py x: 17 commits (all time) y: 3 lines of code assets/launch_page.css x: 24 commits (all time) y: 243 lines of code src/pathpicker/usage_strings.py x: 5 commits (all time) y: 47 lines of code src/pathpicker/screen.py x: 2 commits (all time) y: 53 lines of code src/pathpicker/screen_control.py x: 28 commits (all time) y: 573 lines of code pyproject.toml x: 24 commits (all time) y: 44 lines of code src/pathpicker/screen_flags.py x: 11 commits (all time) y: 105 lines of code src/process_input.py x: 16 commits (all time) y: 73 lines of code src/pathpicker/output.py x: 19 commits (all time) y: 134 lines of code src/pathpicker/key_bindings.py x: 9 commits (all time) y: 14 lines of code src/pathpicker/parse.py x: 15 commits (all time) y: 258 lines of code src/pathpicker/formatted_text.py x: 11 commits (all time) y: 91 lines of code src/pathpicker/line_format.py x: 13 commits (all time) y: 224 lines of code src/choose.py x: 64 commits (all time) y: 84 lines of code src/pathpicker/color_printer.py x: 9 commits (all time) y: 47 lines of code src/pathpicker/curses_api.py x: 7 commits (all time) y: 46 lines of code src/pathpicker/logger.py x: 12 commits (all time) y: 32 lines of code src/pathpicker/char_code_mapping.py x: 4 commits (all time) y: 8 lines of code src/pathpicker/state_files.py x: 4 commits (all time) y: 35 lines of code src/print_help.py x: 2 commits (all time) y: 2 lines of code fpp.rb x: 37 commits (all time) y: 16 lines of code
573.0
lines of code
  min: 1.0
  average: 97.0
  25th percentile: 14.5
  median: 47.0
  75th percentile: 126.75
  max: 573.0
0 64.0
commits (all time)
min: 2.0 | average: 16.13 | 25th percentile: 4.25 | median: 11.5 | 75th percentile: 22.75 | max: 64.0

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

index.html x: 8 contributors (all time) y: 194 lines of code src/version.py x: 7 contributors (all time) y: 3 lines of code assets/launch_page.css x: 7 contributors (all time) y: 243 lines of code src/pathpicker/usage_strings.py x: 3 contributors (all time) y: 47 lines of code src/pathpicker/screen.py x: 1 contributors (all time) y: 53 lines of code src/pathpicker/screen_control.py x: 2 contributors (all time) y: 573 lines of code pyproject.toml x: 1 contributors (all time) y: 44 lines of code src/pathpicker/screen_flags.py x: 3 contributors (all time) y: 105 lines of code src/process_input.py x: 3 contributors (all time) y: 73 lines of code src/pathpicker/output.py x: 3 contributors (all time) y: 134 lines of code src/pathpicker/key_bindings.py x: 2 contributors (all time) y: 14 lines of code src/pathpicker/parse.py x: 2 contributors (all time) y: 258 lines of code src/pathpicker/formatted_text.py x: 2 contributors (all time) y: 91 lines of code src/pathpicker/line_format.py x: 1 contributors (all time) y: 224 lines of code src/choose.py x: 14 contributors (all time) y: 84 lines of code src/pathpicker/color_printer.py x: 2 contributors (all time) y: 47 lines of code src/pathpicker/logger.py x: 2 contributors (all time) y: 32 lines of code src/pathpicker/char_code_mapping.py x: 2 contributors (all time) y: 8 lines of code src/pathpicker/state_files.py x: 2 contributors (all time) y: 35 lines of code src/print_help.py x: 2 contributors (all time) y: 2 lines of code fpp.rb x: 6 contributors (all time) y: 16 lines of code
573.0
lines of code
  min: 1.0
  average: 97.0
  25th percentile: 14.5
  median: 47.0
  75th percentile: 126.75
  max: 573.0
0 14.0
contributors (all time)
min: 1.0 | average: 3.38 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 14.0

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

index.html x: 2 commits (30d) y: 194 lines of code
194.0
lines of code
  min: 194.0
  average: 194.0
  25th percentile: 194.0
  median: 194.0
  75th percentile: 194.0
  max: 194.0
0 2.0
commits (30d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

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

index.html x: 2 contributors (30d) y: 194 lines of code
194.0
lines of code
  min: 194.0
  average: 194.0
  25th percentile: 194.0
  median: 194.0
  75th percentile: 194.0
  max: 194.0
0 2.0
contributors (30d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

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

index.html x: 6 commits (90d) y: 194 lines of code src/version.py x: 1 commits (90d) y: 3 lines of code assets/launch_page.css x: 1 commits (90d) y: 243 lines of code
243.0
lines of code
  min: 3.0
  average: 146.67
  25th percentile: 3.0
  median: 194.0
  75th percentile: 243.0
  max: 243.0
0 6.0
commits (90d)
min: 1.0 | average: 2.67 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 6.0 | max: 6.0

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

index.html x: 2 contributors (90d) y: 194 lines of code src/version.py x: 1 contributors (90d) y: 3 lines of code assets/launch_page.css x: 1 contributors (90d) y: 243 lines of code
243.0
lines of code
  min: 3.0
  average: 146.67
  25th percentile: 3.0
  median: 194.0
  75th percentile: 243.0
  max: 243.0
0 2.0
contributors (90d)
min: 1.0 | average: 1.33 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.0