facebook / between-meals
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,066 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (540 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (888 lines of code)
    • 15 very small files (638 lines of code)
0% | 0% | 26% | 42% | 30%
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% | 26% | 43% | 30%
gemspec0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
spec0% | 0% | 36% | 40% | 23%
lib/between_meals0% | 0% | 46% | 24% | 28%
lib/between_meals/repo0% | 0% | 0% | 79% | 20%
lib/between_meals/changes0% | 0% | 0% | 55% | 44%
lib/between_meals/repo/hg0% | 0% | 0% | 0% | 100%
lib/between_meals/repo/svn0% | 0% | 0% | 0% | 100%
lib/between_meals/repo/git0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 24)
File# lines# units
301 1
knife.rb
in lib/between_meals
239 15
git.rb
in lib/between_meals/repo
162 18
hg.rb
in lib/between_meals/repo
161 18
hg_spec.rb
in spec
130 -
repo.rb
in lib/between_meals
127 25
cookbook.rb
in lib/between_meals/changes
105 5
102 -
101 -
98 -
svn.rb
in lib/between_meals/repo
85 10
util.rb
in lib/between_meals
80 7
70 -
cmd.rb
in lib/between_meals/repo/hg
48 8
changeset.rb
in lib/between_meals
39 4
cmd.rb
in lib/between_meals/repo/svn
33 8
cmd.rb
in lib/between_meals/repo/git
31 6
databag.rb
in lib/between_meals/changes
30 3
role.rb
in lib/between_meals/changes
29 3
cmd.rb
in lib/between_meals
29 2
change.rb
in lib/between_meals/changes
26 6
19 -
16 -
5 -
Files With Most Units (Top 16)
File# lines# units
repo.rb
in lib/between_meals
127 25
hg.rb
in lib/between_meals/repo
161 18
git.rb
in lib/between_meals/repo
162 18
knife.rb
in lib/between_meals
239 15
svn.rb
in lib/between_meals/repo
85 10
cmd.rb
in lib/between_meals/repo/svn
33 8
cmd.rb
in lib/between_meals/repo/hg
48 8
util.rb
in lib/between_meals
80 7
change.rb
in lib/between_meals/changes
26 6
cmd.rb
in lib/between_meals/repo/git
31 6
cookbook.rb
in lib/between_meals/changes
105 5
changeset.rb
in lib/between_meals
39 4
role.rb
in lib/between_meals/changes
29 3
databag.rb
in lib/between_meals/changes
30 3
cmd.rb
in lib/between_meals
29 2
301 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): 24 points

between_meals.gemspec x: 33 commits (all time) y: 16 lines of code lib/between_meals/repo.rb x: 33 commits (all time) y: 127 lines of code lib/between_meals/repo/git.rb x: 39 commits (all time) y: 162 lines of code lib/between_meals/cmd.rb x: 17 commits (all time) y: 29 lines of code lib/between_meals/repo/git/cmd.rb x: 6 commits (all time) y: 31 lines of code lib/between_meals/util.rb x: 18 commits (all time) y: 80 lines of code lib/between_meals/knife.rb x: 50 commits (all time) y: 239 lines of code lib/between_meals/repo/hg.rb x: 52 commits (all time) y: 161 lines of code lib/between_meals/repo/svn.rb x: 31 commits (all time) y: 85 lines of code spec/git_spec.rb x: 17 commits (all time) y: 101 lines of code spec/hg_spec.rb x: 15 commits (all time) y: 130 lines of code spec/svn_spec.rb x: 10 commits (all time) y: 98 lines of code lib/between_meals/repo/hg/cmd.rb x: 21 commits (all time) y: 48 lines of code lib/between_meals/changes/cookbook.rb x: 15 commits (all time) y: 105 lines of code spec/cookbook_spec.rb x: 15 commits (all time) y: 301 lines of code spec/databag_spec.rb x: 14 commits (all time) y: 70 lines of code lib/between_meals/changes/change.rb x: 9 commits (all time) y: 26 lines of code lib/between_meals/changes/databag.rb x: 10 commits (all time) y: 30 lines of code lib/between_meals/changes/role.rb x: 14 commits (all time) y: 29 lines of code lib/between_meals/changeset.rb x: 12 commits (all time) y: 39 lines of code lib/between_meals/repo/svn/cmd.rb x: 5 commits (all time) y: 33 lines of code spec/repo_spec.rb x: 15 commits (all time) y: 19 lines of code spec/role_spec.rb x: 15 commits (all time) y: 102 lines of code spec/spec_helper.rb x: 12 commits (all time) y: 5 lines of code
301.0
lines of code
  min: 5.0
  average: 86.08
  25th percentile: 29.25
  median: 75.0
  75th percentile: 121.5
  max: 301.0
0 52.0
commits (all time)
min: 5.0 | average: 19.92 | 25th percentile: 12.0 | median: 15.0 | 75th percentile: 28.5 | max: 52.0

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

between_meals.gemspec x: 10 contributors (all time) y: 16 lines of code lib/between_meals/repo.rb x: 8 contributors (all time) y: 127 lines of code lib/between_meals/repo/git.rb x: 10 contributors (all time) y: 162 lines of code lib/between_meals/cmd.rb x: 8 contributors (all time) y: 29 lines of code lib/between_meals/repo/git/cmd.rb x: 5 contributors (all time) y: 31 lines of code lib/between_meals/util.rb x: 6 contributors (all time) y: 80 lines of code lib/between_meals/knife.rb x: 16 contributors (all time) y: 239 lines of code lib/between_meals/repo/hg.rb x: 15 contributors (all time) y: 161 lines of code lib/between_meals/repo/svn.rb x: 11 contributors (all time) y: 85 lines of code spec/git_spec.rb x: 10 contributors (all time) y: 101 lines of code spec/hg_spec.rb x: 10 contributors (all time) y: 130 lines of code spec/svn_spec.rb x: 9 contributors (all time) y: 98 lines of code lib/between_meals/repo/hg/cmd.rb x: 10 contributors (all time) y: 48 lines of code lib/between_meals/changes/cookbook.rb x: 8 contributors (all time) y: 105 lines of code spec/cookbook_spec.rb x: 8 contributors (all time) y: 301 lines of code spec/databag_spec.rb x: 8 contributors (all time) y: 70 lines of code lib/between_meals/changes/change.rb x: 5 contributors (all time) y: 26 lines of code lib/between_meals/changes/databag.rb x: 5 contributors (all time) y: 30 lines of code lib/between_meals/changes/role.rb x: 7 contributors (all time) y: 29 lines of code lib/between_meals/changeset.rb x: 7 contributors (all time) y: 39 lines of code lib/between_meals/repo/svn/cmd.rb x: 5 contributors (all time) y: 33 lines of code spec/repo_spec.rb x: 7 contributors (all time) y: 19 lines of code spec/role_spec.rb x: 8 contributors (all time) y: 102 lines of code spec/spec_helper.rb x: 6 contributors (all time) y: 5 lines of code
301.0
lines of code
  min: 5.0
  average: 86.08
  25th percentile: 29.25
  median: 75.0
  75th percentile: 121.5
  max: 301.0
0 16.0
contributors (all time)
min: 5.0 | average: 8.42 | 25th percentile: 6.25 | median: 8.0 | 75th percentile: 10.0 | max: 16.0

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

No data for "commits (30d)" vs. "lines of code".

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

No data for "contributors (30d)" vs. "lines of code".


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

No data for "commits (90d)" vs. "lines of code".

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

No data for "contributors (90d)" vs. "lines of code".