facebookincubator / contest
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 161 files with 12,945 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 16 medium size files (4,465 lines of codeclsfd_ftr_w_mp_ins)
    • 26 small files (3,735 lines of code)
    • 119 very small files (4,745 lines of code)
0% | 0% | 34% | 28% | 36%
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
go0% | 0% | 35% | 29% | 35%
sql0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pkg/xcontext0% | 0% | 37% | 4% | 57%
plugins/teststeps0% | 0% | 39% | 34% | 26%
plugins/storage0% | 0% | 56% | 30% | 13%
pkg/runner0% | 0% | 64% | 34% | 1%
plugins/targetlocker0% | 0% | 58% | 35% | 6%
db/rdbms0% | 0% | 69% | 0% | 30%
cmds/contest0% | 0% | 85% | 0% | 14%
pkg/jobmanager0% | 0% | 29% | 37% | 32%
plugins/listeners0% | 0% | 100% | 0% | 0%
pkg/api0% | 0% | 48% | 0% | 51%
cmds/exec_agent0% | 0% | 0% | 74% | 25%
pkg/transport0% | 0% | 0% | 91% | 8%
cmds/clients0% | 0% | 0% | 60% | 39%
plugins/targetmanagers0% | 0% | 0% | 72% | 27%
pkg/pluginregistry0% | 0% | 0% | 58% | 41%
pkg/lib0% | 0% | 0% | 100% | 0%
pkg/userfunctions0% | 0% | 0% | 92% | 7%
cmds/contest-generator0% | 0% | 0% | 65% | 34%
pkg/event0% | 0% | 0% | 43% | 56%
pkg/storage0% | 0% | 0% | 30% | 69%
plugins/testfetchers0% | 0% | 0% | 72% | 27%
pkg/job0% | 0% | 0% | 0% | 100%
tools/migration0% | 0% | 0% | 0% | 100%
plugins/reporters0% | 0% | 0% | 0% | 100%
pkg/logging0% | 0% | 0% | 0% | 100%
pkg/cerrors0% | 0% | 0% | 0% | 100%
pkg/config0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
pkg/types0% | 0% | 0% | 0% | 100%
docker/mariadb0% | 0% | 0% | 0% | 100%
docker/mysql0% | 0% | 0% | 0% | 100%
tools0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
metrics.go
in pkg/xcontext/metrics/prometheus
354 24
job_runner.go
in pkg/runner
353 8
context.go
in pkg/xcontext
337 28
events.go
in plugins/storage/rdbms
332 24
dblocker.go
in plugins/targetlocker/dblocker
327 17
306 11
memory.go
in plugins/storage/memory
282 22
event_handler.go
in pkg/xcontext
271 20
server.go
in cmds/contest/server
265 3
jobmanager.go
in pkg/jobmanager
263 13
sshcmd.go
in plugins/teststeps/sshcmd
256 6
ssh_process_async.go
in plugins/teststeps/exec/transport
255 10
waitport.go
in plugins/teststeps/waitport
223 8
httplistener.go
in plugins/listeners/httplistener
220 7
s3fileupload.go
in plugins/teststeps/s3fileupload
218 10
api.go
in pkg/api
203 12
inmemory.go
in plugins/targetlocker/inmemory
197 9
init.go
in plugins/storage/rdbms
193 15
job_status.go
in pkg/runner
187 5
http.go
in pkg/transport/http
170 7
ocp_parser.go
in plugins/teststeps/exec
167 6
verbs.go
in cmds/clients/contestcli/cli
166 3
cmd.go
in plugins/teststeps/cmd
165 7
csvfile.go
in plugins/targetmanagers/csvtargetmanager
163 6
pluginregistry.go
in pkg/pluginregistry
157 10
monitor.go
in cmds/exec_agent
156 13
comparison.go
in pkg/lib/comparison
152 14
ocp.go
in pkg/userfunctions/ocp
151 1
teststeps.go
in plugins/teststeps
150 3
ssh_transport.go
in plugins/teststeps/exec/transport
148 7
verbs.go
in cmds/exec_agent
148 5
config.go
in cmds/contest-generator
148 8
report.go
in plugins/storage/rdbms
135 2
metrics.go
in pkg/xcontext/metrics/simplemetrics
118 7
status.go
in pkg/jobmanager
115 1
job.go
in pkg/jobmanager
113 4
test.go
in pkg/event/testevent
112 20
start.go
in pkg/jobmanager
111 3
runner.go
in plugins/teststeps/exec
107 4
events.go
in pkg/storage
104 12
terminalexpect.go
in plugins/teststeps/terminalexpect
101 7
uri.go
in plugins/testfetchers/uri
101 4
bundles.go
in pkg/pluginregistry
100 5
response.go
in pkg/api
98 6
ssh_process.go
in plugins/teststeps/exec/transport
95 7
targetsuccess.go
in plugins/reporters/targetsuccess
95 7
request.go
in plugins/storage/rdbms
90 2
job.go
in pkg/job
90 2
main.go
in tools/migration/rdbms
88 2
sleep.go
in plugins/teststeps/sleep
83 6
Files With Most Units (Top 50)
File# lines# units
context.go
in pkg/xcontext
337 28
events.go
in plugins/storage/rdbms
332 24
metrics.go
in pkg/xcontext/metrics/prometheus
354 24
memory.go
in plugins/storage/memory
282 22
event_handler.go
in pkg/xcontext
271 20
test.go
in pkg/event/testevent
112 20
dblocker.go
in plugins/targetlocker/dblocker
327 17
init.go
in plugins/storage/rdbms
193 15
uncompact.go
in pkg/xcontext/logger/internal
61 14
comparison.go
in pkg/lib/comparison
152 14
monitor.go
in cmds/exec_agent
156 13
jobmanager.go
in pkg/jobmanager
263 13
events.go
in pkg/storage
104 12
api.go
in pkg/api
203 12
framework.go
in pkg/event/frameworkevent
71 12
logger.go
in pkg/logging
56 12
306 11
extend_wrapper.go
in pkg/xcontext/logger/internal
71 11
job_query.go
in pkg/storage
67 11
ssh_process_async.go
in plugins/teststeps/exec/transport
255 10
s3fileupload.go
in plugins/teststeps/s3fileupload
218 10
limits.go
in pkg/storage/limits
48 10
pluginregistry.go
in pkg/pluginregistry
157 10
inmemory.go
in plugins/targetlocker/inmemory
197 9
waitport.go
in plugins/teststeps/waitport
223 8
local_transport.go
in plugins/teststeps/exec/transport
59 8
config.go
in cmds/contest-generator
148 8
job_runner.go
in pkg/runner
353 8
cmd.go
in plugins/teststeps/cmd
165 7
ssh_process.go
in plugins/teststeps/exec/transport
95 7
ssh_transport.go
in plugins/teststeps/exec/transport
148 7
terminalexpect.go
in plugins/teststeps/terminalexpect
101 7
noop.go
in plugins/reporters/noop
31 7
targetsuccess.go
in plugins/reporters/targetsuccess
95 7
httplistener.go
in plugins/listeners/httplistener
220 7
options.go
in pkg/jobmanager
52 7
http.go
in pkg/transport/http
170 7
metrics.go
in pkg/xcontext/metrics/simplemetrics
118 7
wrapper.go
in pkg/xcontext/logger/logadapter/zap
63 7
wrapper.go
in pkg/xcontext/logger/logadapter/logrus
72 7
sleep.go
in plugins/teststeps/sleep
83 6
example.go
in plugins/teststeps/example
71 6
sshcmd.go
in plugins/teststeps/sshcmd
256 6
exec.go
in plugins/teststeps/exec
55 6
ocp_parser.go
in plugins/teststeps/exec
167 6
noop.go
in plugins/targetlocker/noop
36 6
targetlist.go
in plugins/targetmanagers/targetlist
62 6
csvfile.go
in plugins/targetmanagers/csvtargetmanager
163 6
sync.go
in cmds/exec_agent
47 6
cerrors.go
in pkg/cerrors
45 6
Files With Long Lines (Top 46)

There are 46 files with lines longer than 120 characters. In total, there are 132 long lines.

File# lines# units# long lines
306 11 11
dblocker.go
in plugins/targetlocker/dblocker
327 17 8
job_status.go
in pkg/runner
187 5 8
targetsuccess.go
in plugins/reporters/targetsuccess
95 7 7
job_runner.go
in pkg/runner
353 8 7
cmd.go
in plugins/teststeps/cmd
165 7 5
report.go
in plugins/storage/rdbms
135 2 5
server.go
in cmds/contest/server
265 3 5
bundles.go
in pkg/pluginregistry
100 5 5
teststeps.go
in plugins/teststeps
150 3 4
events.go
in plugins/storage/rdbms
332 24 4
inmemory.go
in plugins/targetlocker/inmemory
197 9 4
cli.go
in cmds/clients/contestcli/cli
64 2 4
bundles.go
in pkg/jobmanager
75 3 4
job.go
in pkg/jobmanager
113 4 4
events.go
in pkg/storage
104 12 4
request.go
in plugins/storage/rdbms
90 2 3
csvfile.go
in plugins/targetmanagers/csvtargetmanager
163 6 3
waitport.go
in plugins/teststeps/waitport
223 8 2
sshcmd.go
in plugins/teststeps/sshcmd
256 6 2
ssh_transport.go
in plugins/teststeps/exec/transport
148 7 2
memory.go
in plugins/storage/memory
282 22 2
targetlist.go
in plugins/targetmanagers/targetlist
62 6 2
noop.go
in plugins/reporters/noop
31 7 2
start.go
in pkg/jobmanager
111 3 2
storage.go
in pkg/storage
75 5 2
reporting.go
in pkg/job
50 1 2
27 - 1
echo.go
in plugins/teststeps/echo
44 5 1
randecho.go
in plugins/teststeps/randecho
57 5 1
sleep.go
in plugins/teststeps/sleep
83 6 1
example.go
in plugins/teststeps/example
71 6 1
ssh_process.go
in plugins/teststeps/exec/transport
95 7 1
exec.go
in plugins/teststeps/exec
55 6 1
events.go
in plugins/teststeps/exec
78 1 1
terminalexpect.go
in plugins/teststeps/terminalexpect
101 7 1
s3fileupload.go
in plugins/teststeps/s3fileupload
218 10 1
noop.go
in plugins/targetlocker/noop
36 6 1
uri.go
in plugins/testfetchers/uri
101 4 1
verbs.go
in cmds/clients/contestcli/cli
166 3 1
main.go
in cmds/contest-generator
61 2 1
resume.go
in pkg/jobmanager
64 2 1
status.go
in pkg/jobmanager
115 1 1
jobmanager.go
in pkg/jobmanager
263 13 1
http.go
in pkg/transport/http
170 7 1
common.go
in pkg/event
19 1 1
Correlations

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

cmds/contest-generator/config.go x: 2 commits (all time) y: 148 lines of code plugins/teststeps/waitport/waitport.go x: 4 commits (all time) y: 223 lines of code cmds/contest-generator/core-plugins.yml x: 5 commits (all time) y: 17 lines of code cmds/contest/main.go x: 55 commits (all time) y: 45 lines of code cmds/exec_agent/main.go x: 5 commits (all time) y: 56 lines of code cmds/exec_agent/monitor.go x: 9 commits (all time) y: 156 lines of code cmds/exec_agent/sync.go x: 4 commits (all time) y: 47 lines of code cmds/exec_agent/verbs.go x: 9 commits (all time) y: 148 lines of code plugins/teststeps/exec/events.go x: 2 commits (all time) y: 78 lines of code plugins/teststeps/exec/exec.go x: 10 commits (all time) y: 55 lines of code plugins/teststeps/exec/ocp_parser.go x: 2 commits (all time) y: 167 lines of code plugins/teststeps/exec/runner.go x: 9 commits (all time) y: 107 lines of code plugins/teststeps/exec/transport/local_transport.go x: 7 commits (all time) y: 59 lines of code plugins/teststeps/exec/transport/local_transport_safe.go x: 2 commits (all time) y: 12 lines of code plugins/teststeps/exec/transport/ssh_process.go x: 3 commits (all time) y: 95 lines of code plugins/teststeps/exec/transport/ssh_process_async.go x: 4 commits (all time) y: 255 lines of code plugins/teststeps/exec/transport/ssh_transport.go x: 7 commits (all time) y: 148 lines of code plugins/teststeps/exec/transport/transport.go x: 5 commits (all time) y: 36 lines of code plugins/teststeps/exec/transport/types.go x: 2 commits (all time) y: 60 lines of code pkg/types/types.go x: 12 commits (all time) y: 26 lines of code db/rdbms/migration/0006_add_indices.sql x: 2 commits (all time) y: 8 lines of code plugins/teststeps/s3fileupload/s3fileupload.go x: 3 commits (all time) y: 218 lines of code plugins/teststeps/s3fileupload/s3FileUpload.go x: 1 commits (all time) y: 218 lines of code pkg/jobmanager/bundles.go x: 7 commits (all time) y: 75 lines of code pkg/pluginregistry/bundles.go x: 22 commits (all time) y: 100 lines of code pkg/job/reporting.go x: 8 commits (all time) y: 50 lines of code pkg/runner/job_runner.go x: 79 commits (all time) y: 353 lines of code plugins/reporters/noop/noop.go x: 13 commits (all time) y: 31 lines of code plugins/reporters/targetsuccess/targetsuccess.go x: 16 commits (all time) y: 95 lines of code plugins/teststeps/echo/echo.go x: 17 commits (all time) y: 44 lines of code cmds/contest-generator/main.go x: 1 commits (all time) y: 61 lines of code cmds/contest/server/server.go x: 7 commits (all time) y: 265 lines of code db/rdbms/migration/0002_migrate_descriptor_to_extended_descriptor.go x: 13 commits (all time) y: 306 lines of code plugins/listeners/httplistener/httplistener.go x: 16 commits (all time) y: 220 lines of code docker-compose.mariadb.yml x: 1 commits (all time) y: 27 lines of code docker/mariadb/initdb.sql x: 1 commits (all time) y: 10 lines of code pkg/job/status.go x: 14 commits (all time) y: 53 lines of code pkg/jobmanager/status.go x: 54 commits (all time) y: 115 lines of code pkg/event/frameworkevent/framework.go x: 17 commits (all time) y: 71 lines of code pkg/storage/events.go x: 27 commits (all time) y: 104 lines of code pkg/storage/job.go x: 19 commits (all time) y: 42 lines of code pkg/storage/storage.go x: 35 commits (all time) y: 75 lines of code plugins/teststeps/sleep/sleep.go x: 4 commits (all time) y: 83 lines of code plugins/teststeps/teststeps.go x: 29 commits (all time) y: 150 lines of code pkg/jobmanager/jobmanager.go x: 83 commits (all time) y: 263 lines of code pkg/jobmanager/resume.go x: 6 commits (all time) y: 64 lines of code db/rdbms/migration/0005_event_payload_mediumtext.sql x: 2 commits (all time) y: 4 lines of code plugins/targetlocker/dblocker/dblocker.go x: 19 commits (all time) y: 327 lines of code plugins/teststeps/cmd/cmd.go x: 24 commits (all time) y: 165 lines of code plugins/teststeps/example/example.go x: 21 commits (all time) y: 71 lines of code plugins/teststeps/randecho/randecho.go x: 16 commits (all time) y: 57 lines of code plugins/teststeps/sshcmd/sshcmd.go x: 29 commits (all time) y: 256 lines of code plugins/teststeps/terminalexpect/terminalexpect.go x: 19 commits (all time) y: 101 lines of code pkg/xcontext/logger/logadapter/logrus/wrapper.go x: 4 commits (all time) y: 72 lines of code pkg/xcontext/bundles/logrusctx/new_context.go x: 8 commits (all time) y: 53 lines of code pkg/xcontext/bundles/zapctx/new_context.go x: 8 commits (all time) y: 57 lines of code pkg/xcontext/fields/pending_fields.go x: 4 commits (all time) y: 73 lines of code pkg/xcontext/metrics/interface.go x: 8 commits (all time) y: 24 lines of code pkg/xcontext/metrics/prometheus/count.go x: 3 commits (all time) y: 35 lines of code pkg/xcontext/metrics/prometheus/hacks.go x: 2 commits (all time) y: 24 lines of code pkg/xcontext/metrics/prometheus/metrics.go x: 5 commits (all time) y: 354 lines of code pkg/xcontext/metrics/simplemetrics/count.go x: 3 commits (all time) y: 42 lines of code pkg/xcontext/metrics/simplemetrics/gauge.go x: 2 commits (all time) y: 42 lines of code pkg/xcontext/metrics/simplemetrics/metrics.go x: 3 commits (all time) y: 118 lines of code pkg/xcontext/metrics/tsmetrics/count.go x: 2 commits (all time) y: 22 lines of code pkg/xcontext/metrics/tsmetrics/metrics.go x: 2 commits (all time) y: 53 lines of code plugins/targetmanagers/targetlist/targetlist.go x: 13 commits (all time) y: 62 lines of code cmds/clients/contestcli/cli/cli.go x: 3 commits (all time) y: 64 lines of code cmds/clients/contestcli/cli/verbs.go x: 3 commits (all time) y: 166 lines of code cmds/clients/contestcli/main.go x: 11 commits (all time) y: 12 lines of code pkg/api/api.go x: 25 commits (all time) y: 203 lines of code pkg/cerrors/cerrors.go x: 17 commits (all time) y: 45 lines of code pkg/config/timeouts.go x: 20 commits (all time) y: 8 lines of code pkg/job/events.go x: 9 commits (all time) y: 70 lines of code pkg/jobmanager/options.go x: 9 commits (all time) y: 52 lines of code pkg/jobmanager/start.go x: 41 commits (all time) y: 111 lines of code pkg/transport/http/http.go x: 11 commits (all time) y: 170 lines of code plugins/storage/memory/memory.go x: 39 commits (all time) y: 282 lines of code plugins/storage/rdbms/events.go x: 26 commits (all time) y: 332 lines of code plugins/storage/rdbms/init.go x: 25 commits (all time) y: 193 lines of code plugins/storage/rdbms/list_jobs.go x: 13 commits (all time) y: 61 lines of code plugins/storage/rdbms/report.go x: 24 commits (all time) y: 135 lines of code plugins/targetlocker/inmemory/inmemory.go x: 24 commits (all time) y: 197 lines of code plugins/targetlocker/noop/noop.go x: 9 commits (all time) y: 36 lines of code plugins/targetmanagers/csvtargetmanager/csvfile.go x: 17 commits (all time) y: 163 lines of code pkg/xcontext/context.go x: 18 commits (all time) y: 337 lines of code pkg/xcontext/event_handler.go x: 8 commits (all time) y: 271 lines of code pkg/xcontext/context_atomic.go x: 8 commits (all time) y: 11 lines of code pkg/api/event.go x: 12 commits (all time) y: 81 lines of code pkg/jobmanager/list.go x: 14 commits (all time) y: 29 lines of code pkg/storage/job_query.go x: 7 commits (all time) y: 67 lines of code pkg/job/job.go x: 34 commits (all time) y: 90 lines of code pkg/jobmanager/job.go x: 9 commits (all time) y: 113 lines of code pkg/runner/job_status.go x: 21 commits (all time) y: 187 lines of code pkg/xcontext/done_errors.go x: 6 commits (all time) y: 8 lines of code pkg/logging/default_options.go x: 5 commits (all time) y: 10 lines of code pkg/xcontext/bundles/logrusctx/compact_text_formatter.go x: 6 commits (all time) y: 47 lines of code pkg/xcontext/context_logger.go x: 4 commits (all time) y: 23 lines of code pkg/xcontext/dummy_tracer.go x: 4 commits (all time) y: 25 lines of code pkg/xcontext/values_handler.go x: 4 commits (all time) y: 51 lines of code pkg/xcontext/fields/fields.go x: 2 commits (all time) y: 2 lines of code pkg/xcontext/logger/internal/interfaces.go x: 4 commits (all time) y: 37 lines of code pkg/xcontext/bundles/options.go x: 5 commits (all time) y: 53 lines of code pkg/xcontext/logger/log_level.go x: 4 commits (all time) y: 18 lines of code pkg/event/testevent/test.go x: 22 commits (all time) y: 112 lines of code pkg/jobmanager/steps.go x: 4 commits (all time) y: 35 lines of code pkg/jobmanager/stop.go x: 11 commits (all time) y: 28 lines of code pkg/pluginregistry/pluginregistry.go x: 5 commits (all time) y: 157 lines of code pkg/xcontext/buildinfo/vars.go x: 2 commits (all time) y: 6 lines of code pkg/xcontext/logger/internal/extend_wrapper.go x: 2 commits (all time) y: 71 lines of code pkg/xcontext/logger/internal/log_level.go x: 2 commits (all time) y: 67 lines of code pkg/xcontext/logger/internal/minimal_logger.go x: 2 commits (all time) y: 26 lines of code pkg/xcontext/logger/internal/wrap_minimal_logger_compact.go x: 2 commits (all time) y: 10 lines of code pkg/xcontext/logger/logadapter/logrus/adapter.go x: 2 commits (all time) y: 57 lines of code pkg/xcontext/logger/logadapter/logrus/fix_caller_hook.go x: 2 commits (all time) y: 37 lines of code pkg/xcontext/logger/logadapter/zap/adapter.go x: 2 commits (all time) y: 59 lines of code pkg/xcontext/logger/logger.go x: 3 commits (all time) y: 41 lines of code plugins/storage/rdbms/request.go x: 19 commits (all time) y: 90 lines of code plugins/testfetchers/literal/literal.go x: 6 commits (all time) y: 39 lines of code plugins/testfetchers/uri/uri.go x: 5 commits (all time) y: 101 lines of code tools/migration/rdbms/main.go x: 5 commits (all time) y: 88 lines of code tools/migration/rdbms/migrate/migrate.go x: 7 commits (all time) y: 23 lines of code pkg/job/request.go x: 9 commits (all time) y: 14 lines of code pkg/job/tags.go x: 2 commits (all time) y: 45 lines of code db/rdbms/migration/0003_add_jobs_state_column.sql x: 4 commits (all time) y: 48 lines of code db/rdbms/migration/0004_add_job_tags_table.sql x: 4 commits (all time) y: 16 lines of code pkg/api/response.go x: 8 commits (all time) y: 98 lines of code pkg/transport/transport.go x: 8 commits (all time) y: 15 lines of code cmds/clients/contestcli/descriptors/start-literal.yaml x: 1 commits (all time) y: 31 lines of code tools/migration/rdbms/migrationlib/version.go x: 4 commits (all time) y: 50 lines of code db/rdbms/migration/0001_add_extended_descriptor.sql x: 6 commits (all time) y: 1 lines of code pkg/userfunctions/donothing/donothing.go x: 3 commits (all time) y: 13 lines of code pkg/userfunctions/ocp/ocp.go x: 3 commits (all time) y: 151 lines of code pkg/logging/logger.go x: 7 commits (all time) y: 56 lines of code pkg/api/options.go x: 3 commits (all time) y: 30 lines of code db/rdbms/schema/v0/create_contest_db.sql x: 3 commits (all time) y: 58 lines of code pkg/config/db.go x: 3 commits (all time) y: 2 lines of code pkg/storage/limits/limits.go x: 8 commits (all time) y: 48 lines of code pkg/event/common.go x: 3 commits (all time) y: 19 lines of code pkg/runner/event.go x: 7 commits (all time) y: 10 lines of code pkg/event/errors.go x: 2 commits (all time) y: 18 lines of code pkg/lib/comparison/comparison.go x: 2 commits (all time) y: 152 lines of code
354.0
lines of code
  min: 1.0
  average: 82.14
  25th percentile: 24.25
  median: 54.0
  75th percentile: 106.25
  max: 354.0
0 83.0
commits (all time)
min: 1.0 | average: 9.91 | 25th percentile: 2.0 | median: 5.0 | 75th percentile: 12.75 | max: 83.0

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

cmds/contest-generator/config.go x: 1 contributors (all time) y: 148 lines of code plugins/teststeps/waitport/waitport.go x: 2 contributors (all time) y: 223 lines of code cmds/contest-generator/core-plugins.yml x: 2 contributors (all time) y: 17 lines of code cmds/contest/main.go x: 15 contributors (all time) y: 45 lines of code cmds/exec_agent/main.go x: 1 contributors (all time) y: 56 lines of code cmds/exec_agent/monitor.go x: 1 contributors (all time) y: 156 lines of code cmds/exec_agent/sync.go x: 1 contributors (all time) y: 47 lines of code plugins/teststeps/exec/events.go x: 1 contributors (all time) y: 78 lines of code plugins/teststeps/exec/exec.go x: 1 contributors (all time) y: 55 lines of code plugins/teststeps/exec/ocp_parser.go x: 1 contributors (all time) y: 167 lines of code plugins/teststeps/exec/runner.go x: 1 contributors (all time) y: 107 lines of code plugins/teststeps/exec/transport/local_transport.go x: 1 contributors (all time) y: 59 lines of code plugins/teststeps/exec/transport/local_transport_safe.go x: 1 contributors (all time) y: 12 lines of code plugins/teststeps/exec/transport/ssh_process.go x: 1 contributors (all time) y: 95 lines of code plugins/teststeps/exec/transport/ssh_process_async.go x: 1 contributors (all time) y: 255 lines of code plugins/teststeps/exec/transport/transport.go x: 1 contributors (all time) y: 36 lines of code plugins/teststeps/exec/transport/types.go x: 1 contributors (all time) y: 60 lines of code pkg/types/types.go x: 9 contributors (all time) y: 26 lines of code db/rdbms/migration/0006_add_indices.sql x: 1 contributors (all time) y: 8 lines of code plugins/teststeps/s3fileupload/s3fileupload.go x: 1 contributors (all time) y: 218 lines of code pkg/jobmanager/bundles.go x: 5 contributors (all time) y: 75 lines of code pkg/pluginregistry/bundles.go x: 12 contributors (all time) y: 100 lines of code pkg/job/reporting.go x: 8 contributors (all time) y: 50 lines of code pkg/runner/job_runner.go x: 17 contributors (all time) y: 353 lines of code plugins/reporters/noop/noop.go x: 8 contributors (all time) y: 31 lines of code plugins/reporters/targetsuccess/targetsuccess.go x: 9 contributors (all time) y: 95 lines of code plugins/teststeps/echo/echo.go x: 7 contributors (all time) y: 44 lines of code cmds/contest/server/server.go x: 5 contributors (all time) y: 265 lines of code db/rdbms/migration/0002_migrate_descriptor_to_extended_descriptor.go x: 7 contributors (all time) y: 306 lines of code plugins/listeners/httplistener/httplistener.go x: 7 contributors (all time) y: 220 lines of code docker-compose.mariadb.yml x: 1 contributors (all time) y: 27 lines of code docker/mariadb/initdb.sql x: 1 contributors (all time) y: 10 lines of code pkg/job/status.go x: 8 contributors (all time) y: 53 lines of code pkg/jobmanager/status.go x: 14 contributors (all time) y: 115 lines of code pkg/event/frameworkevent/framework.go x: 7 contributors (all time) y: 71 lines of code pkg/storage/events.go x: 11 contributors (all time) y: 104 lines of code pkg/storage/job.go x: 8 contributors (all time) y: 42 lines of code pkg/storage/storage.go x: 13 contributors (all time) y: 75 lines of code plugins/teststeps/sleep/sleep.go x: 3 contributors (all time) y: 83 lines of code plugins/teststeps/teststeps.go x: 11 contributors (all time) y: 150 lines of code pkg/jobmanager/jobmanager.go x: 18 contributors (all time) y: 263 lines of code pkg/jobmanager/resume.go x: 2 contributors (all time) y: 64 lines of code db/rdbms/migration/0005_event_payload_mediumtext.sql x: 2 contributors (all time) y: 4 lines of code plugins/targetlocker/dblocker/dblocker.go x: 5 contributors (all time) y: 327 lines of code plugins/teststeps/cmd/cmd.go x: 11 contributors (all time) y: 165 lines of code plugins/teststeps/example/example.go x: 9 contributors (all time) y: 71 lines of code plugins/teststeps/randecho/randecho.go x: 6 contributors (all time) y: 57 lines of code plugins/teststeps/sshcmd/sshcmd.go x: 12 contributors (all time) y: 256 lines of code plugins/teststeps/terminalexpect/terminalexpect.go x: 10 contributors (all time) y: 101 lines of code pkg/xcontext/logger/logadapter/logrus/wrapper.go x: 2 contributors (all time) y: 72 lines of code pkg/xcontext/bundles/logrusctx/new_context.go x: 1 contributors (all time) y: 53 lines of code pkg/xcontext/fields/pending_fields.go x: 2 contributors (all time) y: 73 lines of code pkg/xcontext/metrics/interface.go x: 2 contributors (all time) y: 24 lines of code pkg/xcontext/metrics/prometheus/hacks.go x: 1 contributors (all time) y: 24 lines of code pkg/xcontext/metrics/prometheus/metrics.go x: 1 contributors (all time) y: 354 lines of code pkg/xcontext/metrics/simplemetrics/count.go x: 1 contributors (all time) y: 42 lines of code pkg/xcontext/metrics/simplemetrics/metrics.go x: 1 contributors (all time) y: 118 lines of code pkg/xcontext/metrics/tsmetrics/count.go x: 1 contributors (all time) y: 22 lines of code plugins/targetmanagers/targetlist/targetlist.go x: 9 contributors (all time) y: 62 lines of code cmds/clients/contestcli/cli/cli.go x: 3 contributors (all time) y: 64 lines of code cmds/clients/contestcli/cli/verbs.go x: 3 contributors (all time) y: 166 lines of code cmds/clients/contestcli/main.go x: 6 contributors (all time) y: 12 lines of code pkg/api/api.go x: 9 contributors (all time) y: 203 lines of code pkg/cerrors/cerrors.go x: 6 contributors (all time) y: 45 lines of code pkg/config/timeouts.go x: 10 contributors (all time) y: 8 lines of code pkg/job/events.go x: 4 contributors (all time) y: 70 lines of code pkg/jobmanager/options.go x: 3 contributors (all time) y: 52 lines of code pkg/jobmanager/start.go x: 11 contributors (all time) y: 111 lines of code pkg/transport/http/http.go x: 6 contributors (all time) y: 170 lines of code plugins/storage/memory/memory.go x: 12 contributors (all time) y: 282 lines of code plugins/storage/rdbms/events.go x: 10 contributors (all time) y: 332 lines of code plugins/storage/rdbms/init.go x: 11 contributors (all time) y: 193 lines of code plugins/storage/rdbms/list_jobs.go x: 4 contributors (all time) y: 61 lines of code plugins/storage/rdbms/report.go x: 8 contributors (all time) y: 135 lines of code plugins/targetlocker/inmemory/inmemory.go x: 8 contributors (all time) y: 197 lines of code plugins/targetlocker/noop/noop.go x: 5 contributors (all time) y: 36 lines of code plugins/targetmanagers/csvtargetmanager/csvfile.go x: 9 contributors (all time) y: 163 lines of code pkg/xcontext/context.go x: 2 contributors (all time) y: 337 lines of code pkg/xcontext/event_handler.go x: 1 contributors (all time) y: 271 lines of code pkg/api/event.go x: 7 contributors (all time) y: 81 lines of code pkg/jobmanager/list.go x: 4 contributors (all time) y: 29 lines of code pkg/storage/job_query.go x: 3 contributors (all time) y: 67 lines of code pkg/job/job.go x: 13 contributors (all time) y: 90 lines of code pkg/jobmanager/job.go x: 4 contributors (all time) y: 113 lines of code pkg/runner/job_status.go x: 9 contributors (all time) y: 187 lines of code pkg/logging/default_options.go x: 3 contributors (all time) y: 10 lines of code pkg/xcontext/bundles/logrusctx/compact_text_formatter.go x: 2 contributors (all time) y: 47 lines of code pkg/xcontext/context_logger.go x: 1 contributors (all time) y: 23 lines of code pkg/xcontext/values_handler.go x: 1 contributors (all time) y: 51 lines of code pkg/xcontext/fields/fields.go x: 2 contributors (all time) y: 2 lines of code pkg/xcontext/logger/internal/interfaces.go x: 2 contributors (all time) y: 37 lines of code pkg/xcontext/logger/log_level.go x: 1 contributors (all time) y: 18 lines of code pkg/event/testevent/test.go x: 10 contributors (all time) y: 112 lines of code pkg/jobmanager/steps.go x: 3 contributors (all time) y: 35 lines of code pkg/jobmanager/stop.go x: 7 contributors (all time) y: 28 lines of code pkg/pluginregistry/pluginregistry.go x: 3 contributors (all time) y: 157 lines of code pkg/xcontext/buildinfo/vars.go x: 1 contributors (all time) y: 6 lines of code pkg/xcontext/logger/internal/extend_wrapper.go x: 1 contributors (all time) y: 71 lines of code pkg/xcontext/logger/internal/log_level.go x: 1 contributors (all time) y: 67 lines of code pkg/xcontext/logger/internal/minimal_logger.go x: 1 contributors (all time) y: 26 lines of code pkg/xcontext/logger/logadapter/logrus/fix_caller_hook.go x: 1 contributors (all time) y: 37 lines of code pkg/xcontext/logger/logger.go x: 1 contributors (all time) y: 41 lines of code plugins/storage/rdbms/request.go x: 10 contributors (all time) y: 90 lines of code plugins/testfetchers/literal/literal.go x: 5 contributors (all time) y: 39 lines of code plugins/testfetchers/uri/uri.go x: 3 contributors (all time) y: 101 lines of code tools/migration/rdbms/main.go x: 3 contributors (all time) y: 88 lines of code tools/migration/rdbms/migrate/migrate.go x: 3 contributors (all time) y: 23 lines of code pkg/job/request.go x: 5 contributors (all time) y: 14 lines of code pkg/job/tags.go x: 2 contributors (all time) y: 45 lines of code db/rdbms/migration/0003_add_jobs_state_column.sql x: 3 contributors (all time) y: 48 lines of code db/rdbms/migration/0004_add_job_tags_table.sql x: 3 contributors (all time) y: 16 lines of code pkg/api/response.go x: 5 contributors (all time) y: 98 lines of code cmds/clients/contestcli/descriptors/start-literal.yaml x: 1 contributors (all time) y: 31 lines of code tools/migration/rdbms/migrationlib/version.go x: 2 contributors (all time) y: 50 lines of code db/rdbms/migration/0001_add_extended_descriptor.sql x: 4 contributors (all time) y: 1 lines of code pkg/userfunctions/donothing/donothing.go x: 1 contributors (all time) y: 13 lines of code pkg/userfunctions/ocp/ocp.go x: 1 contributors (all time) y: 151 lines of code pkg/api/options.go x: 1 contributors (all time) y: 30 lines of code db/rdbms/schema/v0/create_contest_db.sql x: 3 contributors (all time) y: 58 lines of code pkg/config/db.go x: 3 contributors (all time) y: 2 lines of code pkg/storage/limits/limits.go x: 4 contributors (all time) y: 48 lines of code pkg/event/common.go x: 2 contributors (all time) y: 19 lines of code pkg/event/internal/reflecttools/is_zero.go x: 2 contributors (all time) y: 7 lines of code pkg/runner/event.go x: 4 contributors (all time) y: 10 lines of code pkg/pluginregistry/errors.go x: 2 contributors (all time) y: 11 lines of code pkg/event/query.go x: 2 contributors (all time) y: 12 lines of code pkg/lib/comparison/comparison.go x: 2 contributors (all time) y: 152 lines of code
354.0
lines of code
  min: 1.0
  average: 82.14
  25th percentile: 24.25
  median: 54.0
  75th percentile: 106.25
  max: 354.0
0 18.0
contributors (all time)
min: 1.0 | average: 3.98 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 6.0 | max: 18.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".