microsoft / project-ruby-rails-container
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 44 files with 539 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 codeclsfd_ftr_w_mp_ins)
    • 1 small files (120 lines of code)
    • 43 very small files (419 lines of code)
0% | 0% | 0% | 22% | 77%
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
css0% | 0% | 0% | 99% | <1%
html0% | 0% | 0% | 0% | 100%
rb0% | 0% | 0% | 0% | 100%
erb0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
ru0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
app/assets0% | 0% | 0% | 94% | 5%
public0% | 0% | 0% | 0% | 100%
app/views0% | 0% | 0% | 0% | 100%
config/environments0% | 0% | 0% | 0% | 100%
config0% | 0% | 0% | 0% | 100%
config/initializers0% | 0% | 0% | 0% | 100%
app/channels0% | 0% | 0% | 0% | 100%
app/controllers0% | 0% | 0% | 0% | 100%
app/helpers0% | 0% | 0% | 0% | 100%
app/mailers0% | 0% | 0% | 0% | 100%
app/models0% | 0% | 0% | 0% | 100%
app/jobs0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
config/locales0% | 0% | 0% | 0% | 100%
db0% | 0% | 0% | 0% | 100%
Longest Files (Top 44)
File# lines# units
site.css
in app/assets/stylesheets
120 -
404.html
in public
61 -
422.html
in public
61 -
500.html
in public
60 -
home.html.erb
in app/views/pages
46 -
development.rb
in config/environments
22 -
production.rb
in config/environments
22 -
test.rb
in config/environments
15 -
database.yml
in config
13 -
application.html.erb
in app/views/layouts
12 -
mailer.html.erb
in app/views/layouts
12 -
application.rb
in config
8 -
cable.yml
in config
8 -
secrets.yml
in config
6 -
spring.rb
in config
6 -
pages_controller.rb
in app/controllers
5 1
puma.rb
in config
5 -
cable.js
in app/assets/javascripts
4 1
channel.rb
in app/channels/application_cable
4 -
connection.rb
in app/channels/application_cable
4 -
application_mailer.rb
in app/mailers
4 -
routes.rb
in config
4 -
application_controller.rb
in app/controllers
3 -
application_record.rb
in app/models
3 -
assets.rb
in config/initializers
3 -
wrap_parameters.rb
in config/initializers
3 -
application_helper.rb
in app/helpers
2 -
pages_helper.rb
in app/helpers
2 -
application_job.rb
in app/jobs
2 -
ru
config.ru
in root
2 -
boot.rb
in config
2 -
environment.rb
in config
2 -
en.yml
in config/locales
2 -
manifest.js
in app/assets/config
1 -
application.js
in app/assets/javascripts
1 -
application.css
in app/assets/stylesheets
1 -
mailer.text.erb
in app/views/layouts
1 -
application_controller_renderer.rb
in config/initializers
1 -
backtrace_silencers.rb
in config/initializers
1 -
cookies_serializer.rb
in config/initializers
1 -
filter_parameter_logging.rb
in config/initializers
1 -
inflections.rb
in config/initializers
1 -
mime_types.rb
in config/initializers
1 -
seeds.rb
in db
1 -
Files With Most Units (Top 2)
File# lines# units
cable.js
in app/assets/javascripts
4 1
pages_controller.rb
in app/controllers
5 1
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 7 long lines.

File# lines# units# long lines
home.html.erb
in app/views/pages
46 - 5
secrets.yml
in config
6 - 2