File Size Overall
  • There are 13 files with 1,011 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (699 lines of code)
    • 0 small files (0 lines of code)
    • 11 very small files (312 lines of code)
0% | 0% | 69% | 0% | 30%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
rb0% | 0% | 69% | 0% | 30%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib0% | 0% | 69% | 0% | 30%
Longest Files (Top 13)
File# lines# units
percentiles.rb
in lib/spectator/histogram
479 22
registry.rb
in lib/spectator
220 27
meter_id.rb
in lib/spectator
48 8
timer.rb
in lib/spectator
43 6
atomic_number.rb
in lib/spectator
41 8
clock.rb
in lib/spectator
35 6
distribution_summary.rb
in lib/spectator
34 5
counter.rb
in lib/spectator
27 5
http.rb
in lib/spectator
23 2
gauge.rb
in lib/spectator
23 5
19 1
measure.rb
in lib/spectator
16 3
version.rb
in lib/spectator
3 -
Files With Most Units (Top 12)
File# lines# units
registry.rb
in lib/spectator
220 27
percentiles.rb
in lib/spectator/histogram
479 22
atomic_number.rb
in lib/spectator
41 8
meter_id.rb
in lib/spectator
48 8
timer.rb
in lib/spectator
43 6
clock.rb
in lib/spectator
35 6
counter.rb
in lib/spectator
27 5
distribution_summary.rb
in lib/spectator
34 5
gauge.rb
in lib/spectator
23 5
measure.rb
in lib/spectator
16 3
http.rb
in lib/spectator
23 2
19 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): 13 points

lib/spectator/histogram/percentiles.rb x: 2 commits (all time) y: 479 lines of code lib/spectator/registry.rb x: 9 commits (all time) y: 220 lines of code lib/spectator/version.rb x: 10 commits (all time) y: 3 lines of code lib/spectator/counter.rb x: 2 commits (all time) y: 27 lines of code lib/spectator/gauge.rb x: 2 commits (all time) y: 23 lines of code lib/spectator/meter_id.rb x: 6 commits (all time) y: 48 lines of code lib/spectator/timer.rb x: 2 commits (all time) y: 43 lines of code lib/spectator.rb x: 1 commits (all time) y: 19 lines of code lib/spectator/atomic_number.rb x: 3 commits (all time) y: 41 lines of code lib/spectator/clock.rb x: 1 commits (all time) y: 35 lines of code lib/spectator/http.rb x: 1 commits (all time) y: 23 lines of code lib/spectator/measure.rb x: 1 commits (all time) y: 16 lines of code
479.0
lines of code
  min: 3.0
  average: 77.77
  25th percentile: 21.0
  median: 34.0
  75th percentile: 45.5
  max: 479.0
0 10.0
commits (all time)
min: 1.0 | average: 3.15 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.5 | max: 10.0

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

lib/spectator/histogram/percentiles.rb x: 1 contributors (all time) y: 479 lines of code lib/spectator/registry.rb x: 2 contributors (all time) y: 220 lines of code lib/spectator/version.rb x: 2 contributors (all time) y: 3 lines of code lib/spectator/counter.rb x: 1 contributors (all time) y: 27 lines of code lib/spectator/gauge.rb x: 1 contributors (all time) y: 23 lines of code lib/spectator/meter_id.rb x: 2 contributors (all time) y: 48 lines of code lib/spectator/timer.rb x: 1 contributors (all time) y: 43 lines of code lib/spectator.rb x: 1 contributors (all time) y: 19 lines of code lib/spectator/atomic_number.rb x: 1 contributors (all time) y: 41 lines of code lib/spectator/clock.rb x: 1 contributors (all time) y: 35 lines of code lib/spectator/measure.rb x: 1 contributors (all time) y: 16 lines of code
479.0
lines of code
  min: 3.0
  average: 77.77
  25th percentile: 21.0
  median: 34.0
  75th percentile: 45.5
  max: 479.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.23 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.5 | max: 2.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".

About This Analysis
  • 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...