facebook / homebrew-fb
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 6 files with 198 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 6 very small files (198 lines of code)
0% | 0% | 0% | 0% | 100%
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
rb0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 6)
File# lines# units
60 1
buck.rb
in root
55 1
29 2
23 2
xar.rb
in root
16 1
15 1
Files With Most Units (Top 6)
File# lines# units
23 2
29 2
buck.rb
in root
55 1
60 1
15 1
xar.rb
in root
16 1
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
Correlations

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

idb-companion.rb x: 29 commits (all time) y: 29 lines of code watchman.rb x: 3 commits (all time) y: 23 lines of code buck.rb x: 72 commits (all time) y: 55 lines of code fbsimctl.rb x: 17 commits (all time) y: 15 lines of code fbthrift-compiler.rb x: 5 commits (all time) y: 60 lines of code xar.rb x: 5 commits (all time) y: 16 lines of code
60.0
lines of code
  min: 15.0
  average: 33.0
  25th percentile: 15.75
  median: 26.0
  75th percentile: 56.25
  max: 60.0
0 72.0
commits (all time)
min: 3.0 | average: 21.83 | 25th percentile: 4.5 | median: 11.0 | 75th percentile: 39.75 | max: 72.0

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

idb-companion.rb x: 6 contributors (all time) y: 29 lines of code watchman.rb x: 3 contributors (all time) y: 23 lines of code buck.rb x: 20 contributors (all time) y: 55 lines of code fbsimctl.rb x: 8 contributors (all time) y: 15 lines of code fbthrift-compiler.rb x: 5 contributors (all time) y: 60 lines of code xar.rb x: 3 contributors (all time) y: 16 lines of code
60.0
lines of code
  min: 15.0
  average: 33.0
  25th percentile: 15.75
  median: 26.0
  75th percentile: 56.25
  max: 60.0
0 20.0
contributors (all time)
min: 3.0 | average: 7.5 | 25th percentile: 3.0 | median: 5.5 | 75th percentile: 11.0 | max: 20.0

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

idb-companion.rb x: 1 commits (30d) y: 29 lines of code
29.0
lines of code
  min: 29.0
  average: 29.0
  25th percentile: 29.0
  median: 29.0
  75th percentile: 29.0
  max: 29.0
0 1.0
commits (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

idb-companion.rb x: 1 contributors (30d) y: 29 lines of code
29.0
lines of code
  min: 29.0
  average: 29.0
  25th percentile: 29.0
  median: 29.0
  75th percentile: 29.0
  max: 29.0
0 1.0
contributors (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

idb-companion.rb x: 2 commits (90d) y: 29 lines of code watchman.rb x: 1 commits (90d) y: 23 lines of code buck.rb x: 1 commits (90d) y: 55 lines of code
55.0
lines of code
  min: 23.0
  average: 35.67
  25th percentile: 23.0
  median: 29.0
  75th percentile: 55.0
  max: 55.0
0 2.0
commits (90d)
min: 1.0 | average: 1.33 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.0

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

idb-companion.rb x: 1 contributors (90d) y: 29 lines of code watchman.rb x: 1 contributors (90d) y: 23 lines of code buck.rb x: 1 contributors (90d) y: 55 lines of code
55.0
lines of code
  min: 23.0
  average: 35.67
  25th percentile: 23.0
  median: 29.0
  75th percentile: 55.0
  max: 55.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0