netflix / spectator-js
File Size

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

Intro
Learn more...
File Size Overall
0% | 0% | 0% | 14% | 85%
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
ts0% | 0% | 0% | 14% | 85%
mjs0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 0% | 14% | 85%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 27)
File# lines# units
108 1
id.ts
in src/meter
88 5
new_writer.ts
in src/writer
50 2
udp_writer.ts
in src/writer
42 1
memory_writer.ts
in src/writer
39 2
config.ts
in src
36 1
logger.ts
in src/logger
31 1
file_writer.ts
in src/writer
30 1
29 3
index.ts
in src
27 -
24 -
stdout_writer.ts
in src/writer
20 1
stderr_writer.ts
in src/writer
20 1
noop_writer.ts
in src/writer
19 1
18 2
counter.ts
in src/meter
18 1
dist_summary.ts
in src/meter
18 1
gauge.ts
in src/meter
18 1
18 1
age_gauge.ts
in src/meter
16 1
meter.ts
in src/meter
15 2
12 1
max_gauge.ts
in src/meter
12 1
12 1
11 1
timer.ts
in src/meter
11 1
writer.ts
in src/writer
9 1
Files With Most Units (Top 25)
File# lines# units
id.ts
in src/meter
88 5
29 3
18 2
meter.ts
in src/meter
15 2
new_writer.ts
in src/writer
50 2
memory_writer.ts
in src/writer
39 2
logger.ts
in src/logger
31 1
108 1
config.ts
in src
36 1
11 1
timer.ts
in src/meter
11 1
counter.ts
in src/meter
18 1
dist_summary.ts
in src/meter
18 1
gauge.ts
in src/meter
18 1
12 1
age_gauge.ts
in src/meter
16 1
max_gauge.ts
in src/meter
12 1
12 1
18 1
udp_writer.ts
in src/writer
42 1
file_writer.ts
in src/writer
30 1
stdout_writer.ts
in src/writer
20 1
stderr_writer.ts
in src/writer
20 1
writer.ts
in src/writer
9 1
noop_writer.ts
in src/writer
19 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
id.ts
in src/meter
88 5 2
udp_writer.ts
in src/writer
42 1 1
Correlations

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

src/registry.ts x: 3 commits (all time) y: 108 lines of code src/meter/percentile_timer.ts x: 2 commits (all time) y: 11 lines of code src/index.ts x: 3 commits (all time) y: 27 lines of code src/meter/id.ts x: 2 commits (all time) y: 88 lines of code src/writer/file_writer.ts x: 2 commits (all time) y: 30 lines of code src/writer/memory_writer.ts x: 2 commits (all time) y: 39 lines of code src/writer/udp_writer.ts x: 2 commits (all time) y: 42 lines of code eslint.config.mjs x: 1 commits (all time) y: 24 lines of code src/common_tags.ts x: 1 commits (all time) y: 29 lines of code src/config.ts x: 1 commits (all time) y: 36 lines of code src/logger/logger.ts x: 1 commits (all time) y: 31 lines of code src/meter/age_gauge.ts x: 1 commits (all time) y: 16 lines of code src/meter/counter.ts x: 1 commits (all time) y: 18 lines of code src/meter/max_gauge.ts x: 1 commits (all time) y: 12 lines of code src/meter/meter.ts x: 1 commits (all time) y: 15 lines of code src/writer/new_writer.ts x: 1 commits (all time) y: 50 lines of code src/writer/noop_writer.ts x: 1 commits (all time) y: 19 lines of code src/writer/stderr_writer.ts x: 1 commits (all time) y: 20 lines of code src/writer/writer.ts x: 1 commits (all time) y: 9 lines of code
108.0
lines of code
  min: 9.0
  average: 27.81
  25th percentile: 15.0
  median: 19.0
  75th percentile: 31.0
  max: 108.0
0 3.0
commits (all time)
min: 1.0 | average: 1.37 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.0

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

src/registry.ts x: 1 contributors (all time) y: 108 lines of code src/meter/percentile_timer.ts x: 1 contributors (all time) y: 11 lines of code src/index.ts x: 1 contributors (all time) y: 27 lines of code src/meter/id.ts x: 1 contributors (all time) y: 88 lines of code src/writer/file_writer.ts x: 1 contributors (all time) y: 30 lines of code src/writer/memory_writer.ts x: 1 contributors (all time) y: 39 lines of code src/writer/udp_writer.ts x: 1 contributors (all time) y: 42 lines of code eslint.config.mjs x: 1 contributors (all time) y: 24 lines of code src/common_tags.ts x: 1 contributors (all time) y: 29 lines of code src/config.ts x: 1 contributors (all time) y: 36 lines of code src/logger/logger.ts x: 1 contributors (all time) y: 31 lines of code src/meter/age_gauge.ts x: 1 contributors (all time) y: 16 lines of code src/meter/counter.ts x: 1 contributors (all time) y: 18 lines of code src/meter/max_gauge.ts x: 1 contributors (all time) y: 12 lines of code src/meter/meter.ts x: 1 contributors (all time) y: 15 lines of code src/writer/new_writer.ts x: 1 contributors (all time) y: 50 lines of code src/writer/noop_writer.ts x: 1 contributors (all time) y: 19 lines of code src/writer/stderr_writer.ts x: 1 contributors (all time) y: 20 lines of code src/writer/writer.ts x: 1 contributors (all time) y: 9 lines of code
108.0
lines of code
  min: 9.0
  average: 27.81
  25th percentile: 15.0
  median: 19.0
  75th percentile: 31.0
  max: 108.0
0 1.0
contributors (all time)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Commits (30 days): 1 points

src/registry.ts x: 1 commits (30d) y: 108 lines of code
108.0
lines of code
  min: 108.0
  average: 108.0
  25th percentile: 108.0
  median: 108.0
  75th percentile: 108.0
  max: 108.0
0 1.0
commits (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (30 days): 1 points

src/registry.ts x: 1 contributors (30d) y: 108 lines of code
108.0
lines of code
  min: 108.0
  average: 108.0
  25th percentile: 108.0
  median: 108.0
  75th percentile: 108.0
  max: 108.0
0 1.0
contributors (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Commits (90 days): 27 points

src/registry.ts x: 3 commits (90d) y: 108 lines of code src/meter/percentile_timer.ts x: 2 commits (90d) y: 11 lines of code src/index.ts x: 3 commits (90d) y: 27 lines of code src/meter/id.ts x: 2 commits (90d) y: 88 lines of code src/writer/file_writer.ts x: 2 commits (90d) y: 30 lines of code src/writer/memory_writer.ts x: 2 commits (90d) y: 39 lines of code src/writer/udp_writer.ts x: 2 commits (90d) y: 42 lines of code eslint.config.mjs x: 1 commits (90d) y: 24 lines of code src/common_tags.ts x: 1 commits (90d) y: 29 lines of code src/config.ts x: 1 commits (90d) y: 36 lines of code src/logger/logger.ts x: 1 commits (90d) y: 31 lines of code src/meter/age_gauge.ts x: 1 commits (90d) y: 16 lines of code src/meter/counter.ts x: 1 commits (90d) y: 18 lines of code src/meter/max_gauge.ts x: 1 commits (90d) y: 12 lines of code src/meter/meter.ts x: 1 commits (90d) y: 15 lines of code src/writer/new_writer.ts x: 1 commits (90d) y: 50 lines of code src/writer/noop_writer.ts x: 1 commits (90d) y: 19 lines of code src/writer/stderr_writer.ts x: 1 commits (90d) y: 20 lines of code src/writer/writer.ts x: 1 commits (90d) y: 9 lines of code
108.0
lines of code
  min: 9.0
  average: 27.81
  25th percentile: 15.0
  median: 19.0
  75th percentile: 31.0
  max: 108.0
0 3.0
commits (90d)
min: 1.0 | average: 1.37 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.0

File Size vs. Contributors (90 days): 27 points

src/registry.ts x: 1 contributors (90d) y: 108 lines of code src/meter/percentile_timer.ts x: 1 contributors (90d) y: 11 lines of code src/index.ts x: 1 contributors (90d) y: 27 lines of code src/meter/id.ts x: 1 contributors (90d) y: 88 lines of code src/writer/file_writer.ts x: 1 contributors (90d) y: 30 lines of code src/writer/memory_writer.ts x: 1 contributors (90d) y: 39 lines of code src/writer/udp_writer.ts x: 1 contributors (90d) y: 42 lines of code eslint.config.mjs x: 1 contributors (90d) y: 24 lines of code src/common_tags.ts x: 1 contributors (90d) y: 29 lines of code src/config.ts x: 1 contributors (90d) y: 36 lines of code src/logger/logger.ts x: 1 contributors (90d) y: 31 lines of code src/meter/age_gauge.ts x: 1 contributors (90d) y: 16 lines of code src/meter/counter.ts x: 1 contributors (90d) y: 18 lines of code src/meter/max_gauge.ts x: 1 contributors (90d) y: 12 lines of code src/meter/meter.ts x: 1 contributors (90d) y: 15 lines of code src/writer/new_writer.ts x: 1 contributors (90d) y: 50 lines of code src/writer/noop_writer.ts x: 1 contributors (90d) y: 19 lines of code src/writer/stderr_writer.ts x: 1 contributors (90d) y: 20 lines of code src/writer/writer.ts x: 1 contributors (90d) y: 9 lines of code
108.0
lines of code
  min: 9.0
  average: 27.81
  25th percentile: 15.0
  median: 19.0
  75th percentile: 31.0
  max: 108.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0