gitlab-org / omnibus-gitlab
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
9% | 12% | 22% | 20% | 34%
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
rb5% | 14% | 23% | 21% | 35%
erb35% | 0% | 22% | 12% | 28%
hcl0% | 0% | 0% | 100% | 0%
rake0% | 0% | 0% | 18% | 81%
css0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
spec9% | 16% | 31% | 20% | 21%
files11% | 10% | 17% | 19% | 41%
config0% | 0% | 6% | 13% | 80%
lib0% | 0% | 0% | 27% | 72%
support0% | 0% | 0% | 88% | 11%
resources0% | 0% | 0% | 0% | 100%
docker0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
redis.conf.erb
in files/gitlab-cookbooks/redis/templates/default
1804 -
gitlab-rails_spec.rb
in spec/chef/cookbooks/gitlab/recipes
1688 -
gitaly_spec.rb
in spec/chef/cookbooks/gitaly/recipes
1481 -
gitlab.yml.erb
in files/gitlab-cookbooks/gitlab/templates/default
1083 -
default.rb
in files/gitlab-cookbooks/gitlab/attributes
910 -
nginx_spec.rb
in spec/chef/cookbooks/gitlab/recipes
868 1
postgresql_spec.rb
in spec/chef/cookbooks/postgresql/recipes
802 -
pg-upgrade.rb
in files/gitlab-ctl-commands
735 44
gitlab-workhorse_spec.rb
in spec/chef/cookbooks/gitlab/recipes
708 -
gitlab-kas_spec.rb
in spec/chef/cookbooks/gitlab-kas/recipes
677 2
patroni_spec.rb
in spec/chef/cookbooks/patroni/recipes
675 -
deprecations.rb
in files/gitlab-cookbooks/package/libraries
601 17
prometheus.rb
in files/gitlab-cookbooks/monitoring/libraries
580 27
prometheus_spec.rb
in spec/chef/cookbooks/monitoring/recipes
565 -
redis_spec.rb
in spec/chef/cookbooks/redis/recipes
521 -
registry_spec.rb
in spec/chef/cookbooks/registry/recipes
516 -
gitlab-rails.rb
in files/gitlab-cookbooks/gitlab/recipes
486 -
consul_spec.rb
in spec/chef/cookbooks/consul/recipes
444 -
omnibus_helper_spec.rb
in spec/chef/cookbooks/package/libraries
444 -
geo-secondary_spec.rb
in spec/chef/cookbooks/gitlab-ee/recipes
435 -
praefect_spec.rb
in spec/chef/cookbooks/praefect/recipes
425 -
promote_spec.rb
in spec/chef/gitlab-ctl-commands-ee/lib/geo
405 9
git_spec.rb
in spec/lib/gitlab/build/info
404 -
pgbouncer_spec.rb
in spec/chef/cookbooks/pgbouncer/recipes
390 -
puma_spec.rb
in spec/chef/cookbooks/gitlab/recipes
388 -
postgres-queries.yaml.erb
in files/gitlab-cookbooks/monitoring/templates
373 -
postgresql.conf.erb
in files/gitlab-cookbooks/postgresql/templates/default
373 -
gitlab-pages_spec.rb
in spec/chef/cookbooks/gitlab-pages/recipes
372 -
geo-postgresql_spec.rb
in spec/chef/cookbooks/gitlab-ee/recipes
366 -
default_spec.rb
in spec/chef/cookbooks/gitlab/recipes
348 -
sentinel.conf.erb
in files/gitlab-cookbooks/gitlab-ee/templates/default
345 -
gitlab-shell_spec.rb
in spec/chef/cookbooks/gitlab/recipes
341 -
provider_runit_service.rb
in files/gitlab-cookbooks/runit/libraries
333 -
mailroom_spec.rb
in spec/chef/cookbooks/gitlab/recipes
315 -
nginx.rb
in files/gitlab-cookbooks/gitlab/recipes
311 -
gitlab_spec.rb
in spec/chef/cookbooks/gitlab/recipes/gitlab-rails/gitlab_yml
306 -
patroni.rb
in files/gitlab-ctl-commands-ee/lib
302 28
pgbouncer.ini.erb
in files/gitlab-cookbooks/pgbouncer/templates/default
297 -
mattermost_spec.rb
in spec/chef/cookbooks/mattermost/recipes
296 -
database_yml_spec.rb
in spec/chef/cookbooks/gitlab/recipes/gitlab-rails
292 -
base_pg_helper_spec.rb
in spec/chef/cookbooks/gitlab/libraries/helpers
291 -
version_spec.rb
in spec/lib/gitlab
288 2
gitlab_rails.rb
in files/gitlab-cookbooks/gitlab/libraries
283 34
check_spec.rb
in spec/lib/gitlab/build
282 -
upgrade.rb
in files/gitlab-ctl-commands
272 18
services_spec.rb
in spec/chef/cookbooks/package/libraries/config
262 -
gitlab_ctl_backup_spec.rb
in spec/chef/gitlab-ctl-commands/lib
261 -
package_repository_spec.rb
in spec/lib/gitlab
257 4
sentinel_spec.rb
in spec/chef/cookbooks/gitlab-ee/recipes
256 -
secrets_helper_spec.rb
in spec/chef/cookbooks/package/libraries
252 1
Files With Most Units (Top 50)
File# lines# units
base_pg_helper.rb
in files/gitlab-cookbooks/gitlab/libraries/helpers
244 49
promote.rb
in files/gitlab-ctl-commands-ee/lib/geo
252 45
pg-upgrade.rb
in files/gitlab-ctl-commands
735 44
gitlab_rails.rb
in files/gitlab-cookbooks/gitlab/libraries
283 34
base.rb
in files/gitlab-cookbooks/package/libraries/helpers/redis_helper
134 31
replication.rb
in files/gitlab-ctl-commands-ee/lib/geo
227 30
omnibus_helper.rb
in files/gitlab-cookbooks/package/libraries
175 28
patroni.rb
in files/gitlab-ctl-commands-ee/lib
302 28
prometheus.rb
in files/gitlab-cookbooks/monitoring/libraries
580 27
helpers.rb
in files/gitlab-cookbooks/runit/libraries
132 26
consul_helper.rb
in files/gitlab-cookbooks/consul/libraries
199 24
pg_upgrade.rb
in files/gitlab-ctl-commands/lib/gitlab_ctl
188 24
pgbouncer.rb
in files/gitlab-ctl-commands-ee/lib
166 24
check.rb
in lib/gitlab/build
87 24
macros.rb
in spec/support
101 23
services_helper.rb
in files/gitlab-cookbooks/package/libraries/helpers
107 21
ohai_helper.rb
in lib/gitlab
173 21
account_helper.rb
in files/gitlab-cookbooks/gitlab/libraries
62 19
settings_dsl.rb
in files/gitlab-cookbooks/package/libraries
170 19
gitlab_kas.rb
in files/gitlab-cookbooks/gitlab-kas/libraries
163 18
upgrade.rb
in files/gitlab-ctl-commands
272 18
util.rb
in files/gitlab-ctl-commands/lib/gitlab_ctl
142 18
deprecations.rb
in files/gitlab-cookbooks/package/libraries
601 17
certificate_helper.rb
in files/gitlab-cookbooks/package/libraries
109 16
sentinel_helper.rb
in files/gitlab-cookbooks/gitlab-ee/libraries
107 16
registry_database.rb
in files/gitlab-ctl-commands/lib/registry
141 14
logfiles_helper.rb
in files/gitlab-cookbooks/gitlab/libraries
146 13
version.rb
in lib/gitlab
129 13
selinux_distro_helper.rb
in files/gitlab-cookbooks/package/libraries/helpers
51 12
facts.rb
in lib/gitlab/build
103 12
puma.rb
in files/gitlab-cookbooks/gitlab/libraries
55 11
patroni_helper.rb
in files/gitlab-cookbooks/patroni/libraries
91 11
secrets_helper.rb
in files/gitlab-cookbooks/package/libraries/helpers
133 11
backup.rb
in files/gitlab-ctl-commands/lib/gitlab_ctl
95 11
ci.rb
in lib/gitlab/build/info
74 11
lets_encrypt.rb
in files/gitlab-cookbooks/letsencrypt/libraries
53 10
redis.rb
in files/gitlab-cookbooks/gitlab/libraries
101 10
gitlab_cluster.rb
in files/gitlab-cookbooks/package/libraries
51 10
storage_directory_helper.rb
in files/gitlab-cookbooks/package/libraries
73 10
praefect.rb
in files/gitlab-ctl-commands/lib
176 10
promote_db.rb
in files/gitlab-ctl-commands-ee/lib/geo
70 10
image.rb
in lib/gitlab/build
66 10
aws_helper.rb
in lib/gitlab
167 10
promote_spec.rb
in spec/chef/gitlab-ctl-commands-ee/lib/geo
405 9
registry.rb
in files/gitlab-cookbooks/gitlab/libraries
103 9
gitlab_workhorse.rb
in files/gitlab-cookbooks/gitlab/libraries
105 9
failover_helper.rb
in files/gitlab-cookbooks/consul/libraries
67 9
logging_helper.rb
in files/gitlab-cookbooks/package/libraries/helpers
51 9
gitaly.rb
in files/gitlab-cookbooks/gitaly/libraries
160 9
decomposition_migration.rb
in files/gitlab-ctl-commands/lib/postgresql
100 9
Files With Long Lines (Top 50)

There are 309 files with lines longer than 120 characters. In total, there are 1159 long lines.

File# lines# units# long lines
gitlab-rails_spec.rb
in spec/chef/cookbooks/gitlab/recipes
1688 - 84
default.rb
in files/gitlab-cookbooks/gitlab/attributes
910 - 50
deprecations.rb
in files/gitlab-cookbooks/package/libraries
601 17 43
nginx_spec.rb
in spec/chef/cookbooks/gitlab/recipes
868 1 38
gitaly_spec.rb
in spec/chef/cookbooks/gitaly/recipes
1481 - 25
storage_directory_helper_spec.rb
in spec/chef/cookbooks/package/libraries
93 - 21
gitlab_rails.rb
in files/gitlab-cookbooks/gitlab/libraries
283 34 21
omnibus_helper_spec.rb
in spec/chef/cookbooks/package/libraries
444 - 18
praefect.rb
in files/gitlab-ctl-commands/lib
176 10 18
gitlab-workhorse_spec.rb
in spec/chef/cookbooks/gitlab/recipes
708 - 16
gitlab-kas_spec.rb
in spec/chef/cookbooks/gitlab-kas/recipes
677 2 16
gitlab-shell_spec.rb
in spec/chef/cookbooks/gitlab/recipes
341 - 15
helper_spec.rb
in spec/chef/cookbooks/gitlab/libraries/helpers
215 - 15
deprecations_spec.rb
in spec/chef/cookbooks/package/libraries
215 - 15
promote_spec.rb
in spec/chef/gitlab-ctl-commands-ee/lib/geo
405 9 14
package_repository_spec.rb
in spec/lib/gitlab
257 4 14
gitlab_workhorse.rb
in files/gitlab-cookbooks/gitlab/libraries
105 9 12
remote-syslog_spec.rb
in spec/chef/cookbooks/gitlab/recipes
89 - 11
pg-upgrade.rb
in files/gitlab-ctl-commands
735 44 11
registry_spec.rb
in spec/chef/cookbooks/registry/recipes
516 - 10
consul_spec.rb
in spec/chef/cookbooks/consul/recipes
444 - 9
postgresql_spec.rb
in spec/chef/cookbooks/postgresql/recipes
802 - 9
image_spec.rb
in spec/lib/gitlab/build
174 2 9
gitlab.yml.erb
in files/gitlab-cookbooks/gitlab/templates/default
1083 - 9
postgres-queries.yaml.erb
in files/gitlab-cookbooks/monitoring/templates
373 - 9
patroni_spec.rb
in spec/chef/gitlab-ctl-commands-ee/lib
187 - 8
docker_tasks_spec.rb
in spec/lib/gitlab/tasks
189 - 8
aws_spec.rb
in spec/lib/gitlab/tasks
119 3 8
docker_helper_spec.rb
in spec/lib/gitlab
110 - 8
gitlab-rails.rb
in files/gitlab-cookbooks/gitlab/recipes
486 - 8
replication.rb
in files/gitlab-ctl-commands-ee/lib/geo
227 30 8
decomposition_migration_spec.rb
in spec/chef/gitlab-ctl-commands/lib/postgresql
139 - 7
selinux_spec.rb
in spec/chef/cookbooks/gitlab/recipes
60 - 7
nginx.rb
in files/gitlab-cookbooks/gitlab/recipes
311 - 7
prometheus.rb
in files/gitlab-cookbooks/monitoring/libraries
580 27 7
upgrade.rb
in files/gitlab-ctl-commands
272 18 7
import.rb
in files/gitlab-ctl-commands/lib/registry
72 2 7
cron_jobs_spec.rb
in spec/chef/cookbooks/gitlab/recipes/gitlab-rails/gitlab_yml
71 - 6
runit_systemd_spec.rb
in spec/chef/cookbooks/package/recipes
76 - 6
mattermost_spec.rb
in spec/chef/cookbooks/mattermost/recipes
296 - 6
git_spec.rb
in spec/lib/gitlab/build/info
404 - 6
gitlab-rails.rb
in config/software
180 - 6
default.rb
in files/gitlab-cookbooks/monitoring/attributes
114 - 6
gitaly.rb
in files/gitlab-cookbooks/gitaly/libraries
160 9 6
pg_upgrade.rb
in files/gitlab-ctl-commands/lib/gitlab_ctl
188 24 6
migrate.rb
in files/gitlab-ctl-commands/lib/registry
164 9 6
util_spec.rb
in spec/chef/gitlab-ctl-commands/lib
218 - 5
praefect_spec.rb
in spec/chef/gitlab-ctl-commands/lib
204 - 5
mailroom_spec.rb
in spec/chef/cookbooks/gitlab/recipes
315 - 5
puma_spec.rb
in spec/chef/cookbooks/gitlab/recipes
388 - 5