facebook / chef-utils
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 5 files with 906 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (860 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 4 very small files (46 lines of code)
0% | 94% | 0% | 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
rb0% | 94% | 0% | 0% | 5%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 100% | 0% | 0% | 0%
sample_hooks0% | 0% | 0% | 0% | 100%
sample_configs0% | 0% | 0% | 0% | 100%
Longest Files (Top 5)
File# lines# units
chefctl.rb
in chefctl/src
860 57
custom_attrs.rb
in chefctl/sample_hooks
28 4
retry_on_log_message.rb
in chefctl/sample_hooks
14 1
chefctl_hooks.rb
in chefctl/sample_hooks
3 -
chefctl-config.rb
in chefctl/sample_configs
1 -
Files With Most Units (Top 3)
File# lines# units
chefctl.rb
in chefctl/src
860 57
custom_attrs.rb
in chefctl/sample_hooks
28 4
retry_on_log_message.rb
in chefctl/sample_hooks
14 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): 5 points

chefctl/src/chefctl.rb x: 20 commits (all time) y: 860 lines of code chefctl/sample_configs/chefctl-config.rb x: 3 commits (all time) y: 1 lines of code chefctl/sample_hooks/custom_attrs.rb x: 4 commits (all time) y: 28 lines of code chefctl/sample_hooks/retry_on_log_message.rb x: 3 commits (all time) y: 14 lines of code
860.0
lines of code
  min: 1.0
  average: 181.2
  25th percentile: 2.0
  median: 14.0
  75th percentile: 444.0
  max: 860.0
0 20.0
commits (all time)
min: 3.0 | average: 6.6 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 12.0 | max: 20.0

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

chefctl/src/chefctl.rb x: 12 contributors (all time) y: 860 lines of code chefctl/sample_configs/chefctl-config.rb x: 1 contributors (all time) y: 1 lines of code chefctl/sample_hooks/custom_attrs.rb x: 3 contributors (all time) y: 28 lines of code chefctl/sample_hooks/retry_on_log_message.rb x: 3 contributors (all time) y: 14 lines of code
860.0
lines of code
  min: 1.0
  average: 181.2
  25th percentile: 2.0
  median: 14.0
  75th percentile: 444.0
  max: 860.0
0 12.0
contributors (all time)
min: 1.0 | average: 4.0 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 7.5 | max: 12.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): 1 points

chefctl/src/chefctl.rb x: 1 commits (90d) y: 860 lines of code
860.0
lines of code
  min: 860.0
  average: 860.0
  25th percentile: 860.0
  median: 860.0
  75th percentile: 860.0
  max: 860.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

chefctl/src/chefctl.rb x: 1 contributors (90d) y: 860 lines of code
860.0
lines of code
  min: 860.0
  average: 860.0
  25th percentile: 860.0
  median: 860.0
  75th percentile: 860.0
  max: 860.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