File Size Overall
  • There are 6 files with 130 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 code)
    • 0 small files (0 lines of code)
    • 6 very small files (130 lines of code)
0% | 0% | 0% | 0% | 100%
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% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib0% | 0% | 0% | 0% | 100%
Longest Files (Top 6)
File# lines# units
restify_param.rb
in lib/restful/jsonapi
71 6
railtie.rb
in lib/restful/jsonapi
17 -
serializable_errors.rb
in lib/restful/jsonapi
16 1
active_model_serializer.rb
in lib/restful/jsonapi
12 1
jsonapi.rb
in lib/restful
9 -
version.rb
in lib/restful/jsonapi
5 -
Files With Most Units (Top 3)
File# lines# units
restify_param.rb
in lib/restful/jsonapi
71 6
active_model_serializer.rb
in lib/restful/jsonapi
12 1
serializable_errors.rb
in lib/restful/jsonapi
16 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
restify_param.rb
in lib/restful/jsonapi
71 6 1
Correlations

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

lib/restful/jsonapi/version.rb x: 31 commits (all time) y: 5 lines of code lib/restful/jsonapi/restify_param.rb x: 25 commits (all time) y: 71 lines of code lib/restful/jsonapi/railtie.rb x: 7 commits (all time) y: 17 lines of code lib/restful/jsonapi/serializable_errors.rb x: 10 commits (all time) y: 16 lines of code lib/restful/jsonapi.rb x: 3 commits (all time) y: 9 lines of code lib/restful/jsonapi/active_model_serializer.rb x: 2 commits (all time) y: 12 lines of code
71.0
lines of code
  min: 5.0
  average: 21.67
  25th percentile: 8.0
  median: 14.0
  75th percentile: 30.5
  max: 71.0
0 31.0
commits (all time)
min: 2.0 | average: 13.0 | 25th percentile: 2.75 | median: 8.5 | 75th percentile: 26.5 | max: 31.0

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

lib/restful/jsonapi/version.rb x: 12 contributors (all time) y: 5 lines of code lib/restful/jsonapi/restify_param.rb x: 11 contributors (all time) y: 71 lines of code lib/restful/jsonapi/railtie.rb x: 5 contributors (all time) y: 17 lines of code lib/restful/jsonapi/serializable_errors.rb x: 4 contributors (all time) y: 16 lines of code lib/restful/jsonapi.rb x: 2 contributors (all time) y: 9 lines of code lib/restful/jsonapi/active_model_serializer.rb x: 2 contributors (all time) y: 12 lines of code
71.0
lines of code
  min: 5.0
  average: 21.67
  25th percentile: 8.0
  median: 14.0
  75th percentile: 30.5
  max: 71.0
0 12.0
contributors (all time)
min: 2.0 | average: 6.0 | 25th percentile: 2.0 | median: 4.5 | 75th percentile: 11.25 | 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): 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...