facebook / taste-tester
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 19 files with 2,257 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,293 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (518 lines of code)
    • 10 very small files (446 lines of code)
0% | 0% | 57% | 22% | 19%
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% | 59% | 24% | 16%
ps10% | 0% | 0% | 0% | 100%
gemspec0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/taste_tester0% | 0% | 50% | 29% | 19%
spec0% | 0% | 100% | 0% | 0%
scripts0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
host.rb
in lib/taste_tester
318 15
commands.rb
in lib/taste_tester
308 13
client.rb
in lib/taste_tester
246 7
215 -
206 -
server.rb
in lib/taste_tester
171 16
tunnel.rb
in lib/taste_tester
126 6
state.rb
in lib/taste_tester
115 22
config.rb
in lib/taste_tester
106 9
ssh_util.rb
in lib/taste_tester
95 7
78 -
windows.rb
in lib/taste_tester
47 3
logging.rb
in lib/taste_tester
45 6
locallink.rb
in lib/taste_tester
41 6
noop.rb
in lib/taste_tester
37 7
ssh.rb
in lib/taste_tester
35 5
hooks.rb
in lib/taste_tester
30 1
22 -
exceptions.rb
in lib/taste_tester
16 1
Files With Most Units (Top 15)
File# lines# units
state.rb
in lib/taste_tester
115 22
server.rb
in lib/taste_tester
171 16
host.rb
in lib/taste_tester
318 15
commands.rb
in lib/taste_tester
308 13
config.rb
in lib/taste_tester
106 9
noop.rb
in lib/taste_tester
37 7
client.rb
in lib/taste_tester
246 7
ssh_util.rb
in lib/taste_tester
95 7
locallink.rb
in lib/taste_tester
41 6
tunnel.rb
in lib/taste_tester
126 6
logging.rb
in lib/taste_tester
45 6
ssh.rb
in lib/taste_tester
35 5
windows.rb
in lib/taste_tester
47 3
exceptions.rb
in lib/taste_tester
16 1
hooks.rb
in lib/taste_tester
30 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): 19 points

lib/taste_tester/client.rb x: 39 commits (all time) y: 246 lines of code lib/taste_tester/ssh_util.rb x: 6 commits (all time) y: 95 lines of code lib/taste_tester/tunnel.rb x: 44 commits (all time) y: 126 lines of code spec/tunnel_spec.rb x: 4 commits (all time) y: 215 lines of code lib/taste_tester/commands.rb x: 76 commits (all time) y: 308 lines of code lib/taste_tester/config.rb x: 56 commits (all time) y: 106 lines of code lib/taste_tester/ssh.rb x: 34 commits (all time) y: 35 lines of code spec/ssh_spec.rb x: 2 commits (all time) y: 206 lines of code lib/taste_tester/hooks.rb x: 28 commits (all time) y: 30 lines of code lib/taste_tester/host.rb x: 51 commits (all time) y: 318 lines of code scripts/taste-untester.ps1 x: 4 commits (all time) y: 78 lines of code taste_tester.gemspec x: 47 commits (all time) y: 22 lines of code lib/taste_tester/server.rb x: 52 commits (all time) y: 171 lines of code lib/taste_tester/state.rb x: 25 commits (all time) y: 115 lines of code lib/taste_tester/locallink.rb x: 10 commits (all time) y: 41 lines of code lib/taste_tester/noop.rb x: 6 commits (all time) y: 37 lines of code lib/taste_tester/windows.rb x: 5 commits (all time) y: 47 lines of code lib/taste_tester/exceptions.rb x: 8 commits (all time) y: 16 lines of code lib/taste_tester/logging.rb x: 10 commits (all time) y: 45 lines of code
318.0
lines of code
  min: 16.0
  average: 118.79
  25th percentile: 37.0
  median: 95.0
  75th percentile: 206.0
  max: 318.0
0 76.0
commits (all time)
min: 2.0 | average: 26.68 | 25th percentile: 6.0 | median: 25.0 | 75th percentile: 47.0 | max: 76.0

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

lib/taste_tester/client.rb x: 13 contributors (all time) y: 246 lines of code lib/taste_tester/ssh_util.rb x: 3 contributors (all time) y: 95 lines of code lib/taste_tester/tunnel.rb x: 15 contributors (all time) y: 126 lines of code spec/tunnel_spec.rb x: 1 contributors (all time) y: 215 lines of code lib/taste_tester/commands.rb x: 16 contributors (all time) y: 308 lines of code lib/taste_tester/config.rb x: 19 contributors (all time) y: 106 lines of code lib/taste_tester/ssh.rb x: 13 contributors (all time) y: 35 lines of code spec/ssh_spec.rb x: 1 contributors (all time) y: 206 lines of code lib/taste_tester/hooks.rb x: 11 contributors (all time) y: 30 lines of code lib/taste_tester/host.rb x: 15 contributors (all time) y: 318 lines of code scripts/taste-untester.ps1 x: 2 contributors (all time) y: 78 lines of code taste_tester.gemspec x: 9 contributors (all time) y: 22 lines of code lib/taste_tester/server.rb x: 12 contributors (all time) y: 171 lines of code lib/taste_tester/state.rb x: 12 contributors (all time) y: 115 lines of code lib/taste_tester/locallink.rb x: 6 contributors (all time) y: 41 lines of code lib/taste_tester/noop.rb x: 4 contributors (all time) y: 37 lines of code lib/taste_tester/windows.rb x: 4 contributors (all time) y: 47 lines of code lib/taste_tester/exceptions.rb x: 6 contributors (all time) y: 16 lines of code lib/taste_tester/logging.rb x: 5 contributors (all time) y: 45 lines of code
318.0
lines of code
  min: 16.0
  average: 118.79
  25th percentile: 37.0
  median: 95.0
  75th percentile: 206.0
  max: 318.0
0 19.0
contributors (all time)
min: 1.0 | average: 8.79 | 25th percentile: 4.0 | median: 9.0 | 75th percentile: 13.0 | max: 19.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".