gitlab-org / pg_query
File Size

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

Intro
Learn more...
File Size Overall
55% | 11% | 13% | 8% | 10%
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
c75% | 10% | 8% | 3% | 1%
h34% | 12% | 19% | 13% | 19%
rb74% | 0% | 5% | 3% | 16%
cc0% | 0% | 0% | 100% | 0%
gemspec0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ext55% | 11% | 14% | 8% | 10%
spec84% | 0% | 0% | 0% | 15%
lib67% | 0% | 10% | 5% | 15%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
pg_query_deparse.c
in ext/pg_query
8710 254
5400 27
4996 1
4115 -
3104 -
xxhash.h
in ext/pg_query/include
2707 57
xxhash.h
in ext/pg_query/include/xxhash
2707 57
protobuf-c.c
in ext/pg_query
2655 3
pg_query_readfuncs_defs.c
in ext/pg_query/include
2654 -
fmgrprotos.h
in ext/pg_query/include/utils
2625 -
fmgroids.h
in ext/pg_query/include/utils
2624 -
pg_query_enum_defs.c
in ext/pg_query/include
2290 -
pg_query_outfuncs_defs.c
in ext/pg_query/include
2213 -
parsenodes.h
in ext/pg_query/include/nodes
1938 -
deparse_spec.rb
in spec/lib/pg_query
1570 -
json_field_names.rb
in lib/pg_query
1402 -
execnodes.h
in ext/pg_query/include/nodes
1158 -
src_common_wchar.c
in ext/pg_query
1150 -
1053 3
kwlist_d.h
in ext/pg_query/include
1044 -
src_common_kwlist_d.h
in ext/pg_query
1044 -
src_port_snprintf.c
in ext/pg_query
1028 1
gram.h
in ext/pg_query/include/parser
1016 -
pg_query_fingerprint_conds.c
in ext/pg_query/include
871 -
pathnodes.h
in ext/pg_query/include/nodes
830 -
pgstat.h
in ext/pg_query/include
826 -
plpgsql.h
in ext/pg_query/include
801 -
767 1
plerrcodes.h
in ext/pg_query/include
741 -
741 1
698 2
pg_query_outfuncs_conds.c
in ext/pg_query/include
684 -
tableam.h
in ext/pg_query/include/access
637 -
619 -
simplehash.h
in ext/pg_query/include/lib
612 -
primnodes.h
in ext/pg_query/include/nodes
598 -
c.h
in ext/pg_query/include
595 2
nodes.h
in ext/pg_query/include/nodes
566 -
560 1
537 1
s_lock.h
in ext/pg_query/include/storage
498 -
487 2
plannodes.h
in ext/pg_query/include/nodes
481 -
kwlist.h
in ext/pg_query/include/parser
450 -
437 -
427 1
fmgr.h
in ext/pg_query/include
418 -
htup_details.h
in ext/pg_query/include/access
394 1
executor.h
in ext/pg_query/include/executor
387 -
pg_list.h
in ext/pg_query/include/nodes
345 1
Files With Most Units (Top 45)
File# lines# units
pg_query_deparse.c
in ext/pg_query
8710 254
xxhash.h
in ext/pg_query/include
2707 57
xxhash.h
in ext/pg_query/include/xxhash
2707 57
5400 27
pg_query_ruby.c
in ext/pg_query
160 12
parse.rb
in lib/pg_query
227 12
fingerprint.rb
in lib/pg_query
123 11
pg_query.c
in ext/pg_query
69 7
310 6
88 5
pg_query_parse.c
in ext/pg_query
106 5
pg_query_normalize.c
in ext/pg_query
268 4
pg_query_fingerprint.c
in ext/pg_query
232 4
node.rb
in lib/pg_query
22 4
deparse.rb
in lib/pg_query
16 4
1053 3
pg_query_split.c
in ext/pg_query
175 3
protobuf-c.c
in ext/pg_query
2655 3
pg_query_scan.c
in ext/pg_query
129 2
c.h
in ext/pg_query/include
595 2
698 2
185 2
487 2
scan.rb
in lib/pg_query
19 2
filter_columns.rb
in lib/pg_query
89 2
truncate.rb
in lib/pg_query
70 2
treewalker.rb
in lib/pg_query
30 2
param_refs.rb
in lib/pg_query
40 2
23 1
537 1
77 1
src_port_snprintf.c
in ext/pg_query
1028 1
htup_details.h
in ext/pg_query/include/access
394 1
pg_list.h
in ext/pg_query/include/nodes
345 1
arch-x86.h
in ext/pg_query/include/port/atomics
143 1
560 1
80 1
188 1
334 1
427 1
767 1
40 1
4996 1
741 1
parse_error.rb
in lib/pg_query
9 1
Files With Long Lines (Top 32)

There are 32 files with lines longer than 120 characters. In total, there are 345 long lines.

File# lines# units# long lines
pg_query_outfuncs_defs.c
in ext/pg_query/include
2213 - 66
pg_query_outfuncs_conds.c
in ext/pg_query/include
684 - 65
pg_query_readfuncs_conds.c
in ext/pg_query/include
220 - 65
indexing.h
in ext/pg_query/include/catalog
251 - 44
deparse_spec.rb
in spec/lib/pg_query
1570 - 20
pg_query_deparse.c
in ext/pg_query
8710 254 13
pg_query_readfuncs_defs.c
in ext/pg_query/include
2654 - 11
4996 1 10
xxhash.h
in ext/pg_query/include
2707 57 6
xxhash.h
in ext/pg_query/include/xxhash
2707 57 6
truncate.rb
in lib/pg_query
70 2 6
parse.rb
in lib/pg_query
227 12 6
88 5 4
5400 27 3
xlog.h
in ext/pg_query/include/access
240 - 2
pg_query_fingerprint.c
in ext/pg_query
232 4 2
truncate_spec.rb
in spec/lib
39 - 1
deparse_bad_tree_spec.rb
in spec/lib/pg_query
29 - 1
310 6 1
537 1 1
acl.h
in ext/pg_query/include/utils
188 - 1
pg_config.h
in ext/pg_query/include
201 - 1
user.h
in ext/pg_query/include/commands
19 - 1
rmgrlist.h
in ext/pg_query/include/access
22 - 1
simplehash.h
in ext/pg_query/include/lib
612 - 1
s_lock.h
in ext/pg_query/include/storage
498 - 1
pg_proc.h
in ext/pg_query/include/catalog
87 - 1
pg_authid.h
in ext/pg_query/include/catalog
23 - 1
pg_attribute.h
in ext/pg_query/include/catalog
43 - 1
extconf.rb
in ext/pg_query
13 - 1
treewalker.rb
in lib/pg_query
30 2 1
deparse.rb
in lib/pg_query
16 4 1