spotify / spotify-json
File Size

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

Intro
Learn more...
File Size Overall
0% | 0% | 13% | 21% | 64%
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
hpp0% | 0% | 20% | 17% | 61%
cpp0% | 0% | 0% | 30% | 69%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
include0% | 0% | 21% | 18% | 60%
src0% | 0% | 0% | 39% | 60%
benchmark0% | 0% | 0% | 0% | 100%
fuzzers0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
number.hpp
in include/spotify/json/codec
317 29
object.hpp
in include/spotify/json/codec
282 26
array.hpp
in include/spotify/json/codec
164 16
skip_value.cpp
in src/detail
152 8
string.cpp
in src/codec
146 17
encode_integer.cpp
in src/detail
131 6
decode_helpers.hpp
in include/spotify/json/detail
119 20
transform.hpp
in include/spotify/json/codec
117 4
tuple.hpp
in include/spotify/json/codec
103 8
encoded_value.hpp
in include/spotify/json
98 12
escape_common.hpp
in src/detail
86 5
empty_as.hpp
in include/spotify/json/codec
83 3
benchmark_skip.cpp
in benchmark/src
81 2
decode.hpp
in include/spotify/json
81 12
80 3
benchmark_escape.cpp
in benchmark/src
79 2
smart_ptr.hpp
in include/spotify/json/codec
77 9
map.hpp
in include/spotify/json/codec
76 6
boost.hpp
in include/spotify/json/codec
75 7
enumeration.hpp
in include/spotify/json/codec
73 4
one_of.hpp
in include/spotify/json/codec
73 6
benchmark_string.cpp
in benchmark/src
72 2
encode_context.hpp
in include/spotify/json
64 8
number.cpp
in src/codec
63 4
62 2
escape_sse42.cpp
in src/detail
61 2
any_codec.hpp
in include/spotify/json/codec
60 10
macros.hpp
in include/spotify/json/detail
59 -
benchmark_object.cpp
in benchmark/src
58 2
chrono.hpp
in include/spotify/json/codec
58 6
cpuid.hpp
in include/spotify/json/detail
56 2
benchmark_boolean.cpp
in benchmark/src
55 -
benchmark_number.cpp
in benchmark/src
53 -
50 1
eq.hpp
in include/spotify/json/codec
49 4
optional.hpp
in include/spotify/json/codec
48 7
field_registry.hpp
in include/spotify/json/detail
48 5
encode_helpers.hpp
in include/spotify/json/detail
40 3
stack.hpp
in include/spotify/json/detail
40 2
cast.hpp
in include/spotify/json/codec
39 5
null.hpp
in include/spotify/json/codec
39 5
bitset.hpp
in include/spotify/json/detail
39 1
object.cpp
in src/codec
39 2
field_registry.cpp
in src/detail
38 2
encode.hpp
in include/spotify/json
34 4
ignore.hpp
in include/spotify/json/codec
34 5
skip_chars.hpp
in include/spotify/json/detail
33 2
escape.cpp
in src/detail
33 2
any_value.hpp
in include/spotify/json/codec
32 3
omit.hpp
in include/spotify/json/codec
30 4
Files With Most Units (Top 50)
File# lines# units
number.hpp
in include/spotify/json/codec
317 29
object.hpp
in include/spotify/json/codec
282 26
decode_helpers.hpp
in include/spotify/json/detail
119 20
string.cpp
in src/codec
146 17
array.hpp
in include/spotify/json/codec
164 16
encoded_value.hpp
in include/spotify/json
98 12
decode.hpp
in include/spotify/json
81 12
any_codec.hpp
in include/spotify/json/codec
60 10
smart_ptr.hpp
in include/spotify/json/codec
77 9
tuple.hpp
in include/spotify/json/codec
103 8
encode_context.hpp
in include/spotify/json
64 8
skip_value.cpp
in src/detail
152 8
boost.hpp
in include/spotify/json/codec
75 7
optional.hpp
in include/spotify/json/codec
48 7
map.hpp
in include/spotify/json/codec
76 6
chrono.hpp
in include/spotify/json/codec
58 6
one_of.hpp
in include/spotify/json/codec
73 6
encode_integer.cpp
in src/detail
131 6
cast.hpp
in include/spotify/json/codec
39 5
ignore.hpp
in include/spotify/json/codec
34 5
null.hpp
in include/spotify/json/codec
39 5
field_registry.hpp
in include/spotify/json/detail
48 5
escape_common.hpp
in src/detail
86 5
encode.hpp
in include/spotify/json
34 4
enumeration.hpp
in include/spotify/json/codec
73 4
omit.hpp
in include/spotify/json/codec
30 4
transform.hpp
in include/spotify/json/codec
117 4
eq.hpp
in include/spotify/json/codec
49 4
number.cpp
in src/codec
63 4
decode_context.hpp
in include/spotify/json
26 3
any_value.hpp
in include/spotify/json/codec
32 3
empty_as.hpp
in include/spotify/json/codec
83 3
encode_helpers.hpp
in include/spotify/json/detail
40 3
80 3
benchmark_object.cpp
in benchmark/src
58 2
benchmark_string.cpp
in benchmark/src
72 2
benchmark_skip.cpp
in benchmark/src
81 2
benchmark_escape.cpp
in benchmark/src
79 2
boolean.hpp
in include/spotify/json/codec
25 2
string.hpp
in include/spotify/json/codec
26 2
skip_chars.hpp
in include/spotify/json/detail
33 2
cpuid.hpp
in include/spotify/json/detail
56 2
encode_integer.hpp
in include/spotify/json/detail
26 2
stack.hpp
in include/spotify/json/detail
40 2
object.cpp
in src/codec
39 2
any_value.cpp
in src/codec
17 2
boolean.cpp
in src/codec
28 2
escape.cpp
in src/detail
33 2
field_registry.cpp
in src/detail
38 2
escape_sse42.cpp
in src/detail
61 2
Files With Long Lines (Top 3)

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

File# lines# units# long lines
number.cpp
in src/codec
63 4 2
number.hpp
in include/spotify/json/codec
317 29 1
object.hpp
in include/spotify/json/codec
282 26 1
Correlations

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

include/spotify/json/decode.hpp x: 19 commits (all time) y: 81 lines of code include/spotify/json/codec/number.hpp x: 59 commits (all time) y: 317 lines of code include/spotify/json/codec/transform.hpp x: 25 commits (all time) y: 117 lines of code fuzzers/fuzz_decode.cpp x: 3 commits (all time) y: 25 lines of code src/encode_context.cpp x: 4 commits (all time) y: 50 lines of code include/spotify/json/codec/boost.hpp x: 14 commits (all time) y: 75 lines of code include/spotify/json/codec/codec.hpp x: 8 commits (all time) y: 22 lines of code include/spotify/json/codec/optional.hpp x: 3 commits (all time) y: 48 lines of code include/spotify/json/detail/decode_helpers.hpp x: 19 commits (all time) y: 119 lines of code include/spotify/json/codec/any_codec.hpp x: 4 commits (all time) y: 60 lines of code include/spotify/json/codec/any_value.hpp x: 9 commits (all time) y: 32 lines of code include/spotify/json/codec/array.hpp x: 46 commits (all time) y: 164 lines of code include/spotify/json/codec/boolean.hpp x: 23 commits (all time) y: 25 lines of code include/spotify/json/codec/cast.hpp x: 28 commits (all time) y: 39 lines of code include/spotify/json/codec/empty_as.hpp x: 15 commits (all time) y: 83 lines of code include/spotify/json/codec/enumeration.hpp x: 21 commits (all time) y: 73 lines of code include/spotify/json/codec/eq.hpp x: 24 commits (all time) y: 49 lines of code include/spotify/json/codec/map.hpp x: 39 commits (all time) y: 76 lines of code include/spotify/json/codec/object.hpp x: 87 commits (all time) y: 282 lines of code include/spotify/json/codec/smart_ptr.hpp x: 39 commits (all time) y: 77 lines of code include/spotify/json/codec/string.hpp x: 45 commits (all time) y: 26 lines of code include/spotify/json/decode_context.hpp x: 4 commits (all time) y: 26 lines of code include/spotify/json/decode_exception.hpp x: 16 commits (all time) y: 19 lines of code include/spotify/json/detail/bitset.hpp x: 7 commits (all time) y: 39 lines of code include/spotify/json/detail/encode_helpers.hpp x: 12 commits (all time) y: 40 lines of code include/spotify/json/detail/escape.hpp x: 26 commits (all time) y: 9 lines of code include/spotify/json/detail/field_registry.hpp x: 8 commits (all time) y: 48 lines of code include/spotify/json/encode_context.hpp x: 13 commits (all time) y: 64 lines of code include/spotify/json/encode_exception.hpp x: 6 commits (all time) y: 12 lines of code include/spotify/json/encoded_value.hpp x: 13 commits (all time) y: 98 lines of code src/codec/any_value.cpp x: 2 commits (all time) y: 17 lines of code src/codec/boolean.cpp x: 2 commits (all time) y: 28 lines of code src/codec/number.cpp x: 3 commits (all time) y: 63 lines of code src/codec/object.cpp x: 4 commits (all time) y: 39 lines of code src/codec/string.cpp x: 2 commits (all time) y: 146 lines of code src/decode_context.cpp x: 2 commits (all time) y: 15 lines of code src/decode_exception.cpp x: 2 commits (all time) y: 9 lines of code src/detail/decode_helpers.cpp x: 2 commits (all time) y: 10 lines of code src/detail/escape.cpp x: 8 commits (all time) y: 33 lines of code src/detail/field_registry.cpp x: 7 commits (all time) y: 38 lines of code src/detail/skip_value.cpp x: 13 commits (all time) y: 152 lines of code src/encode_exception.cpp x: 2 commits (all time) y: 6 lines of code src/encoded_value.cpp x: 3 commits (all time) y: 80 lines of code include/spotify/json/codec/ignore.hpp x: 16 commits (all time) y: 34 lines of code include/spotify/json/codec/null.hpp x: 31 commits (all time) y: 39 lines of code include/spotify/json/codec/omit.hpp x: 10 commits (all time) y: 30 lines of code include/spotify/json/codec/tuple.hpp x: 14 commits (all time) y: 103 lines of code src/detail/escape_sse42.cpp x: 14 commits (all time) y: 61 lines of code src/detail/skip_chars_sse42.cpp x: 14 commits (all time) y: 62 lines of code benchmark/src/benchmark_escape.cpp x: 6 commits (all time) y: 79 lines of code benchmark/src/benchmark_skip.cpp x: 11 commits (all time) y: 81 lines of code include/spotify/json/detail/macros.hpp x: 19 commits (all time) y: 59 lines of code include/spotify/json/detail/skip_chars.hpp x: 7 commits (all time) y: 33 lines of code include/spotify/json/detail/stack.hpp x: 4 commits (all time) y: 40 lines of code include/spotify/json/encode.hpp x: 15 commits (all time) y: 34 lines of code include/spotify/json/codec/chrono.hpp x: 13 commits (all time) y: 58 lines of code include/spotify/json/json.hpp x: 7 commits (all time) y: 10 lines of code src/detail/escape_common.hpp x: 4 commits (all time) y: 86 lines of code src/detail/encode_integer.cpp x: 4 commits (all time) y: 131 lines of code benchmark/src/benchmark_number.cpp x: 7 commits (all time) y: 53 lines of code include/spotify/json/detail/cpuid.hpp x: 5 commits (all time) y: 56 lines of code include/spotify/json/detail/skip_value.hpp x: 4 commits (all time) y: 9 lines of code src/detail/skip_chars.cpp x: 8 commits (all time) y: 29 lines of code src/detail/skip_chars_common.hpp x: 5 commits (all time) y: 18 lines of code include/spotify/json/codec.hpp x: 12 commits (all time) y: 2 lines of code include/spotify/json/codec/one_of.hpp x: 27 commits (all time) y: 73 lines of code benchmark/src/benchmark_boolean.cpp x: 6 commits (all time) y: 55 lines of code benchmark/src/benchmark_object.cpp x: 7 commits (all time) y: 58 lines of code benchmark/src/benchmark_string.cpp x: 5 commits (all time) y: 72 lines of code include/spotify/json.hpp x: 24 commits (all time) y: 2 lines of code include/spotify/json/codec/codec_interface.hpp x: 17 commits (all time) y: 17 lines of code benchmark/include/spotify/json/benchmark/benchmark.hpp x: 5 commits (all time) y: 23 lines of code benchmark/src/benchmark_main.cpp x: 4 commits (all time) y: 2 lines of code include/spotify/json/default_codec.hpp x: 8 commits (all time) y: 11 lines of code
317.0
lines of code
  min: 2.0
  average: 55.88
  25th percentile: 22.5
  median: 40.0
  75th percentile: 74.0
  max: 317.0
0 87.0
commits (all time)
min: 2.0 | average: 13.4 | 25th percentile: 4.0 | median: 8.0 | 75th percentile: 16.5 | max: 87.0

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

include/spotify/json/decode.hpp x: 6 contributors (all time) y: 81 lines of code include/spotify/json/codec/number.hpp x: 8 contributors (all time) y: 317 lines of code include/spotify/json/codec/transform.hpp x: 7 contributors (all time) y: 117 lines of code fuzzers/fuzz_decode.cpp x: 2 contributors (all time) y: 25 lines of code src/encode_context.cpp x: 3 contributors (all time) y: 50 lines of code include/spotify/json/codec/boost.hpp x: 4 contributors (all time) y: 75 lines of code include/spotify/json/codec/codec.hpp x: 3 contributors (all time) y: 22 lines of code include/spotify/json/codec/optional.hpp x: 2 contributors (all time) y: 48 lines of code include/spotify/json/detail/decode_helpers.hpp x: 4 contributors (all time) y: 119 lines of code include/spotify/json/codec/any_codec.hpp x: 2 contributors (all time) y: 60 lines of code include/spotify/json/codec/any_value.hpp x: 2 contributors (all time) y: 32 lines of code include/spotify/json/codec/array.hpp x: 6 contributors (all time) y: 164 lines of code include/spotify/json/codec/boolean.hpp x: 4 contributors (all time) y: 25 lines of code include/spotify/json/codec/cast.hpp x: 6 contributors (all time) y: 39 lines of code include/spotify/json/codec/empty_as.hpp x: 4 contributors (all time) y: 83 lines of code include/spotify/json/codec/enumeration.hpp x: 6 contributors (all time) y: 73 lines of code include/spotify/json/codec/eq.hpp x: 7 contributors (all time) y: 49 lines of code include/spotify/json/codec/map.hpp x: 6 contributors (all time) y: 76 lines of code include/spotify/json/codec/object.hpp x: 10 contributors (all time) y: 282 lines of code include/spotify/json/codec/smart_ptr.hpp x: 7 contributors (all time) y: 77 lines of code include/spotify/json/codec/string.hpp x: 5 contributors (all time) y: 26 lines of code include/spotify/json/decode_context.hpp x: 3 contributors (all time) y: 26 lines of code include/spotify/json/decode_exception.hpp x: 5 contributors (all time) y: 19 lines of code include/spotify/json/detail/bitset.hpp x: 3 contributors (all time) y: 39 lines of code include/spotify/json/detail/encode_helpers.hpp x: 5 contributors (all time) y: 40 lines of code include/spotify/json/detail/escape.hpp x: 4 contributors (all time) y: 9 lines of code include/spotify/json/detail/field_registry.hpp x: 5 contributors (all time) y: 48 lines of code include/spotify/json/encode_context.hpp x: 4 contributors (all time) y: 64 lines of code include/spotify/json/encode_exception.hpp x: 2 contributors (all time) y: 12 lines of code include/spotify/json/encoded_value.hpp x: 4 contributors (all time) y: 98 lines of code src/codec/any_value.cpp x: 2 contributors (all time) y: 17 lines of code src/codec/boolean.cpp x: 2 contributors (all time) y: 28 lines of code src/codec/number.cpp x: 2 contributors (all time) y: 63 lines of code src/codec/object.cpp x: 2 contributors (all time) y: 39 lines of code src/codec/string.cpp x: 2 contributors (all time) y: 146 lines of code src/decode_context.cpp x: 2 contributors (all time) y: 15 lines of code src/decode_exception.cpp x: 2 contributors (all time) y: 9 lines of code src/detail/decode_helpers.cpp x: 2 contributors (all time) y: 10 lines of code src/detail/escape.cpp x: 3 contributors (all time) y: 33 lines of code src/detail/field_registry.cpp x: 5 contributors (all time) y: 38 lines of code src/detail/skip_value.cpp x: 3 contributors (all time) y: 152 lines of code src/encode_exception.cpp x: 2 contributors (all time) y: 6 lines of code src/encoded_value.cpp x: 2 contributors (all time) y: 80 lines of code include/spotify/json/codec/ignore.hpp x: 5 contributors (all time) y: 34 lines of code include/spotify/json/codec/null.hpp x: 5 contributors (all time) y: 39 lines of code include/spotify/json/codec/omit.hpp x: 5 contributors (all time) y: 30 lines of code include/spotify/json/codec/tuple.hpp x: 5 contributors (all time) y: 103 lines of code src/detail/escape_sse42.cpp x: 6 contributors (all time) y: 61 lines of code src/detail/skip_chars_sse42.cpp x: 5 contributors (all time) y: 62 lines of code benchmark/src/benchmark_escape.cpp x: 3 contributors (all time) y: 79 lines of code benchmark/src/benchmark_skip.cpp x: 3 contributors (all time) y: 81 lines of code include/spotify/json/detail/macros.hpp x: 3 contributors (all time) y: 59 lines of code include/spotify/json/detail/skip_chars.hpp x: 2 contributors (all time) y: 33 lines of code include/spotify/json/detail/stack.hpp x: 2 contributors (all time) y: 40 lines of code include/spotify/json/encode.hpp x: 4 contributors (all time) y: 34 lines of code include/spotify/json/codec/chrono.hpp x: 4 contributors (all time) y: 58 lines of code include/spotify/json/json.hpp x: 3 contributors (all time) y: 10 lines of code src/detail/escape_common.hpp x: 3 contributors (all time) y: 86 lines of code src/detail/encode_integer.cpp x: 4 contributors (all time) y: 131 lines of code benchmark/src/benchmark_number.cpp x: 3 contributors (all time) y: 53 lines of code include/spotify/json/detail/cpuid.hpp x: 3 contributors (all time) y: 56 lines of code src/detail/skip_chars.cpp x: 2 contributors (all time) y: 29 lines of code src/detail/skip_chars_common.hpp x: 2 contributors (all time) y: 18 lines of code include/spotify/json/codec.hpp x: 4 contributors (all time) y: 2 lines of code include/spotify/json/codec/one_of.hpp x: 4 contributors (all time) y: 73 lines of code benchmark/src/benchmark_boolean.cpp x: 2 contributors (all time) y: 55 lines of code benchmark/src/benchmark_object.cpp x: 2 contributors (all time) y: 58 lines of code benchmark/src/benchmark_string.cpp x: 2 contributors (all time) y: 72 lines of code include/spotify/json/codec/codec_interface.hpp x: 3 contributors (all time) y: 17 lines of code benchmark/include/spotify/json/benchmark/benchmark.hpp x: 1 contributors (all time) y: 23 lines of code benchmark/src/benchmark_main.cpp x: 1 contributors (all time) y: 2 lines of code
317.0
lines of code
  min: 2.0
  average: 55.88
  25th percentile: 22.5
  median: 40.0
  75th percentile: 74.0
  max: 317.0
0 10.0
contributors (all time)
min: 1.0 | average: 3.6 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 10.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): 2 points

include/spotify/json/decode.hpp x: 1 commits (90d) y: 81 lines of code include/spotify/json/codec/number.hpp x: 1 commits (90d) y: 317 lines of code
317.0
lines of code
  min: 81.0
  average: 199.0
  25th percentile: 81.0
  median: 199.0
  75th percentile: 317.0
  max: 317.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

include/spotify/json/decode.hpp x: 1 contributors (90d) y: 81 lines of code include/spotify/json/codec/number.hpp x: 1 contributors (90d) y: 317 lines of code
317.0
lines of code
  min: 81.0
  average: 199.0
  25th percentile: 81.0
  median: 199.0
  75th percentile: 317.0
  max: 317.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