apache / datasketches-postgresql
File Size

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

Intro
Learn more...
File Size Overall
25% | 6% | 39% | 22% | 6%
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
sql60% | 0% | 7% | 28% | 2%
c0% | 16% | 79% | 0% | 4%
cpp0% | 0% | 36% | 63% | 0%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
sql61% | 0% | 7% | 28% | 2%
src0% | 10% | 61% | 18% | 9%
docker-entrypoint-initdb.d0% | 0% | 0% | 0% | 100%
Longest Files (Top 49)
File# lines# units
1079 -
1073 -
534 18
393 15
348 13
336 11
334 11
332 13
332 13
332 13
282 11
271 -
220 10
206 9
173 -
151 10
146 -
143 -
142 6
140 -
134 8
134 8
134 8
134 8
123 8
113 -
101 -
101 -
101 -
85 -
base64.c
in src
75 4
58 7
common.c
in src
45 5
38 -
34 -
29 -
25 -
25 -
24 -
24 -
24 -
24 -
20 -
9 2
9 -
base64.h
in src
7 -
7 -
01_init_datasketches.sql
in docker-entrypoint-initdb.d
1 -
1 -
Files With Most Units (Top 22)
File# lines# units
534 18
393 15
348 13
332 13
332 13
332 13
334 11
282 11
336 11
220 10
151 10
206 9
134 8
134 8
134 8
123 8
134 8
58 7
142 6
common.c
in src
45 5
base64.c
in src
75 4
9 2
Files With Long Lines (Top 21)

There are 21 files with lines longer than 120 characters. In total, there are 72 long lines.

File# lines# units# long lines
334 11 11
220 10 9
142 6 7
1079 - 7
1073 - 7
101 - 6
123 8 4
534 18 3
151 10 3
24 - 2
134 8 2
134 8 2
24 - 1
24 - 1
134 8 1
393 15 1
134 8 1
206 9 1
29 - 1
24 - 1
101 - 1
Correlations

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

sql/datasketches--1.3.0--1.6.0.sql x: 2 commits (all time) y: 1079 lines of code sql/datasketches--1.5.0--1.6.0.sql x: 2 commits (all time) y: 1073 lines of code sql/datasketches_aod_sketch.sql x: 8 commits (all time) y: 173 lines of code sql/datasketches_cpc_sketch.sql x: 13 commits (all time) y: 113 lines of code sql/datasketches_frequent_strings_sketch.sql x: 8 commits (all time) y: 85 lines of code sql/datasketches_hll_sketch.sql x: 5 commits (all time) y: 140 lines of code sql/datasketches_kll_double_sketch.sql x: 5 commits (all time) y: 101 lines of code sql/datasketches_kll_float_sketch.sql x: 15 commits (all time) y: 101 lines of code sql/datasketches_req_float_sketch.sql x: 6 commits (all time) y: 143 lines of code sql/datasketches_theta_sketch.sql x: 18 commits (all time) y: 146 lines of code src/agg_state.h x: 2 commits (all time) y: 9 lines of code src/aod_sketch_c_adapter.cpp x: 10 commits (all time) y: 334 lines of code src/aod_sketch_c_adapter.h x: 7 commits (all time) y: 38 lines of code src/aod_sketch_pg_functions.c x: 15 commits (all time) y: 534 lines of code src/cpc_sketch_c_adapter.cpp x: 30 commits (all time) y: 123 lines of code src/cpc_sketch_pg_functions.c x: 24 commits (all time) y: 282 lines of code src/frequent_strings_sketch_pg_functions.c x: 11 commits (all time) y: 206 lines of code src/hll_sketch_c_adapter.cpp x: 22 commits (all time) y: 142 lines of code src/hll_sketch_pg_functions.c x: 14 commits (all time) y: 336 lines of code src/kll_double_sketch_pg_functions.c x: 6 commits (all time) y: 332 lines of code src/kll_float_sketch_pg_functions.c x: 27 commits (all time) y: 332 lines of code src/quantiles_double_sketch_pg_functions.c x: 8 commits (all time) y: 332 lines of code src/req_float_sketch_pg_functions.c x: 9 commits (all time) y: 348 lines of code src/theta_sketch_c_adapter.cpp x: 28 commits (all time) y: 220 lines of code src/theta_sketch_c_adapter.h x: 20 commits (all time) y: 34 lines of code src/theta_sketch_pg_functions.c x: 33 commits (all time) y: 393 lines of code sql/datasketches--1.3.0--1.4.0.sql x: 3 commits (all time) y: 271 lines of code sql/datasketches--1.4.0--1.5.0.sql x: 2 commits (all time) y: 1 lines of code src/frequent_strings_sketch_c_adapter.cpp x: 28 commits (all time) y: 151 lines of code src/kll_double_sketch_c_adapter.cpp x: 4 commits (all time) y: 134 lines of code src/kll_float_sketch_c_adapter.cpp x: 27 commits (all time) y: 134 lines of code src/req_float_sketch_c_adapter.cpp x: 7 commits (all time) y: 134 lines of code src/kll_double_sketch_c_adapter.h x: 2 commits (all time) y: 24 lines of code src/quantiles_double_sketch_c_adapter.cpp x: 3 commits (all time) y: 134 lines of code src/req_float_sketch_c_adapter.h x: 3 commits (all time) y: 24 lines of code src/allocator.h x: 13 commits (all time) y: 58 lines of code src/cpc_sketch_c_adapter.h x: 13 commits (all time) y: 25 lines of code src/frequent_strings_sketch_c_adapter.h x: 9 commits (all time) y: 29 lines of code src/hll_sketch_c_adapter.h x: 8 commits (all time) y: 25 lines of code src/kll_float_sketch_c_adapter.h x: 15 commits (all time) y: 24 lines of code src/ptr_with_size.h x: 2 commits (all time) y: 7 lines of code src/global_hooks.c x: 4 commits (all time) y: 9 lines of code src/common.c x: 4 commits (all time) y: 45 lines of code src/postgres_h_substitute.h x: 2 commits (all time) y: 20 lines of code src/base64.c x: 2 commits (all time) y: 75 lines of code
1079.0
lines of code
  min: 1.0
  average: 175.63
  25th percentile: 25.0
  median: 123.0
  75th percentile: 245.5
  max: 1079.0
0 33.0
commits (all time)
min: 2.0 | average: 10.41 | 25th percentile: 3.0 | median: 8.0 | 75th percentile: 15.0 | max: 33.0

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

sql/datasketches--1.3.0--1.6.0.sql x: 2 contributors (all time) y: 1079 lines of code sql/datasketches--1.5.0--1.6.0.sql x: 2 contributors (all time) y: 1073 lines of code sql/datasketches_aod_sketch.sql x: 2 contributors (all time) y: 173 lines of code sql/datasketches_cpc_sketch.sql x: 3 contributors (all time) y: 113 lines of code sql/datasketches_frequent_strings_sketch.sql x: 4 contributors (all time) y: 85 lines of code sql/datasketches_hll_sketch.sql x: 2 contributors (all time) y: 140 lines of code sql/datasketches_kll_double_sketch.sql x: 2 contributors (all time) y: 101 lines of code sql/datasketches_kll_float_sketch.sql x: 4 contributors (all time) y: 101 lines of code sql/datasketches_req_float_sketch.sql x: 2 contributors (all time) y: 143 lines of code sql/datasketches_theta_sketch.sql x: 3 contributors (all time) y: 146 lines of code src/agg_state.h x: 2 contributors (all time) y: 9 lines of code src/aod_sketch_c_adapter.cpp x: 2 contributors (all time) y: 334 lines of code src/aod_sketch_c_adapter.h x: 2 contributors (all time) y: 38 lines of code src/aod_sketch_pg_functions.c x: 2 contributors (all time) y: 534 lines of code src/cpc_sketch_c_adapter.cpp x: 4 contributors (all time) y: 123 lines of code src/cpc_sketch_pg_functions.c x: 4 contributors (all time) y: 282 lines of code src/frequent_strings_sketch_pg_functions.c x: 4 contributors (all time) y: 206 lines of code src/hll_sketch_c_adapter.cpp x: 3 contributors (all time) y: 142 lines of code src/hll_sketch_pg_functions.c x: 2 contributors (all time) y: 336 lines of code src/kll_float_sketch_pg_functions.c x: 4 contributors (all time) y: 332 lines of code src/req_float_sketch_pg_functions.c x: 2 contributors (all time) y: 348 lines of code src/theta_sketch_c_adapter.cpp x: 3 contributors (all time) y: 220 lines of code src/theta_sketch_pg_functions.c x: 3 contributors (all time) y: 393 lines of code sql/datasketches--1.3.0--1.4.0.sql x: 2 contributors (all time) y: 271 lines of code sql/datasketches--1.4.0--1.5.0.sql x: 2 contributors (all time) y: 1 lines of code src/frequent_strings_sketch_c_adapter.cpp x: 4 contributors (all time) y: 151 lines of code src/kll_double_sketch_c_adapter.cpp x: 2 contributors (all time) y: 134 lines of code src/kll_float_sketch_c_adapter.cpp x: 4 contributors (all time) y: 134 lines of code src/kll_double_sketch_c_adapter.h x: 2 contributors (all time) y: 24 lines of code src/allocator.h x: 3 contributors (all time) y: 58 lines of code src/cpc_sketch_c_adapter.h x: 4 contributors (all time) y: 25 lines of code src/frequent_strings_sketch_c_adapter.h x: 4 contributors (all time) y: 29 lines of code src/ptr_with_size.h x: 2 contributors (all time) y: 7 lines of code src/global_hooks.c x: 3 contributors (all time) y: 9 lines of code src/common.c x: 2 contributors (all time) y: 45 lines of code src/postgres_h_substitute.h x: 2 contributors (all time) y: 20 lines of code src/base64.c x: 2 contributors (all time) y: 75 lines of code
1079.0
lines of code
  min: 1.0
  average: 175.63
  25th percentile: 25.0
  median: 123.0
  75th percentile: 245.5
  max: 1079.0
0 4.0
contributors (all time)
min: 2.0 | average: 2.59 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 4.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): 1 points

sql/datasketches--1.3.0--1.6.0.sql x: 2 commits (90d) y: 1079 lines of code
1079.0
lines of code
  min: 1079.0
  average: 1079.0
  25th percentile: 1079.0
  median: 1079.0
  75th percentile: 1079.0
  max: 1079.0
0 2.0
commits (90d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

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

sql/datasketches--1.3.0--1.6.0.sql x: 2 contributors (90d) y: 1079 lines of code
1079.0
lines of code
  min: 1079.0
  average: 1079.0
  25th percentile: 1079.0
  median: 1079.0
  75th percentile: 1079.0
  max: 1079.0
0 2.0
contributors (90d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0