JetBrains / phpstorm-stubs
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 0% | 1% | 1% | 97%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
php0% | 0% | 1% | 1% | 97%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
elastic_apm0% | 0% | 58% | 0% | 41%
xmlwriter0% | 0% | 38% | 0% | 61%
xml0% | 0% | 50% | 0% | 50%
json0% | 0% | 76% | 0% | 23%
openssl0% | 0% | 12% | 0% | 87%
standard0% | 0% | 0% | 6% | 93%
pgsql0% | 0% | 0% | 18% | 81%
ftp0% | 0% | 0% | 45% | 54%
leveldb0% | 0% | 0% | 35% | 64%
sysvmsg0% | 0% | 0% | 89% | 10%
amqp0% | 0% | 0% | 9% | 90%
date0% | 0% | 0% | 7% | 92%
ldap0% | 0% | 0% | 7% | 92%
relay0% | 0% | 0% | 0% | 100%
swoole0% | 0% | 0% | 0% | 100%
intl0% | 0% | 0% | 0% | 100%
redis0% | 0% | 0% | 0% | 100%
imagick0% | 0% | 0% | 0% | 100%
couchbase0% | 0% | 0% | 0% | 100%
cassandra0% | 0% | 0% | 0% | 100%
yaf0% | 0% | 0% | 0% | 100%
http0% | 0% | 0% | 0% | 100%
SPL0% | 0% | 0% | 0% | 100%
dom0% | 0% | 0% | 0% | 100%
solr0% | 0% | 0% | 0% | 100%
mongodb0% | 0% | 0% | 0% | 100%
pdflib0% | 0% | 0% | 0% | 100%
couchbase_v20% | 0% | 0% | 0% | 100%
Reflection0% | 0% | 0% | 0% | 100%
mapscript0% | 0% | 0% | 0% | 100%
mysqli0% | 0% | 0% | 0% | 100%
libsodium0% | 0% | 0% | 0% | 100%
ds0% | 0% | 0% | 0% | 100%
mongo0% | 0% | 0% | 0% | 100%
libvirt-php0% | 0% | 0% | 0% | 100%
gmagick0% | 0% | 0% | 0% | 100%
gearman0% | 0% | 0% | 0% | 100%
oci80% | 0% | 0% | 0% | 100%
gd0% | 0% | 0% | 0% | 100%
event0% | 0% | 0% | 0% | 100%
Core0% | 0% | 0% | 0% | 100%
ncurses0% | 0% | 0% | 0% | 100%
xlswriter0% | 0% | 0% | 0% | 100%
mysql_xdevapi0% | 0% | 0% | 0% | 100%
ming0% | 0% | 0% | 0% | 100%
sodium0% | 0% | 0% | 0% | 100%
fann0% | 0% | 0% | 0% | 100%
SaxonC0% | 0% | 0% | 0% | 100%
uv0% | 0% | 0% | 0% | 100%
PDO0% | 0% | 0% | 0% | 100%
imap0% | 0% | 0% | 0% | 100%
Phar0% | 0% | 0% | 0% | 100%
rdkafka0% | 0% | 0% | 0% | 100%
winbinder0% | 0% | 0% | 0% | 100%
Ev0% | 0% | 0% | 0% | 100%
geos0% | 0% | 0% | 0% | 100%
svn0% | 0% | 0% | 0% | 100%
cubrid0% | 0% | 0% | 0% | 100%
zip0% | 0% | 0% | 0% | 100%
interbase0% | 0% | 0% | 0% | 100%
zend0% | 0% | 0% | 0% | 100%
mbstring0% | 0% | 0% | 0% | 100%
pq0% | 0% | 0% | 0% | 100%
simple_kafka_client0% | 0% | 0% | 0% | 100%
SQLite0% | 0% | 0% | 0% | 100%
aerospike0% | 0% | 0% | 0% | 100%
stats0% | 0% | 0% | 0% | 100%
uri0% | 0% | 0% | 0% | 100%
mysql0% | 0% | 0% | 0% | 100%
memcached0% | 0% | 0% | 0% | 100%
tidy0% | 0% | 0% | 0% | 100%
eio0% | 0% | 0% | 0% | 100%
ibm_db20% | 0% | 0% | 0% | 100%
gnupg0% | 0% | 0% | 0% | 100%
gmp0% | 0% | 0% | 0% | 100%
soap0% | 0% | 0% | 0% | 100%
crypto0% | 0% | 0% | 0% | 100%
sqlite30% | 0% | 0% | 0% | 100%
Parle0% | 0% | 0% | 0% | 100%
grpc0% | 0% | 0% | 0% | 100%
apcu0% | 0% | 0% | 0% | 100%
sockets0% | 0% | 0% | 0% | 100%
xdebug0% | 0% | 0% | 0% | 100%
odbc0% | 0% | 0% | 0% | 100%
curl0% | 0% | 0% | 0% | 100%
session0% | 0% | 0% | 0% | 100%
memcache0% | 0% | 0% | 0% | 100%
SimpleXML0% | 0% | 0% | 0% | 100%
com_dotnet0% | 0% | 0% | 0% | 100%
random0% | 0% | 0% | 0% | 100%
decimal0% | 0% | 0% | 0% | 100%
oauth0% | 0% | 0% | 0% | 100%
posix0% | 0% | 0% | 0% | 100%
pthreads0% | 0% | 0% | 0% | 100%
newrelic0% | 0% | 0% | 0% | 100%
pcntl0% | 0% | 0% | 0% | 100%
FFI0% | 0% | 0% | 0% | 100%
ffmpeg0% | 0% | 0% | 0% | 100%
mcrypt0% | 0% | 0% | 0% | 100%
sqlsrv0% | 0% | 0% | 0% | 100%
zlib0% | 0% | 0% | 0% | 100%
excimer0% | 0% | 0% | 0% | 100%
parallel0% | 0% | 0% | 0% | 100%
zmq0% | 0% | 0% | 0% | 100%
xmlreader0% | 0% | 0% | 0% | 100%
ssh20% | 0% | 0% | 0% | 100%
bcmath0% | 0% | 0% | 0% | 100%
snmp0% | 0% | 0% | 0% | 100%
stomp0% | 0% | 0% | 0% | 100%
hash0% | 0% | 0% | 0% | 100%
mssql0% | 0% | 0% | 0% | 100%
libevent0% | 0% | 0% | 0% | 100%
mosquitto-php0% | 0% | 0% | 0% | 100%
xcache0% | 0% | 0% | 0% | 100%
rrd0% | 0% | 0% | 0% | 100%
rar0% | 0% | 0% | 0% | 100%
uopz0% | 0% | 0% | 0% | 100%
dba0% | 0% | 0% | 0% | 100%
xdiff0% | 0% | 0% | 0% | 100%
sybase0% | 0% | 0% | 0% | 100%
enchant0% | 0% | 0% | 0% | 100%
pcre0% | 0% | 0% | 0% | 100%
wincache0% | 0% | 0% | 0% | 100%
judy0% | 0% | 0% | 0% | 100%
sync0% | 0% | 0% | 0% | 100%
v8js0% | 0% | 0% | 0% | 100%
zookeeper0% | 0% | 0% | 0% | 100%
meta0% | 0% | 0% | 0% | 100%
geoip0% | 0% | 0% | 0% | 100%
LuaSandbox0% | 0% | 0% | 0% | 100%
calendar0% | 0% | 0% | 0% | 100%
mqseries0% | 0% | 0% | 0% | 100%
xsl0% | 0% | 0% | 0% | 100%
blackfire0% | 0% | 0% | 0% | 100%
msgpack0% | 0% | 0% | 0% | 100%
fileinfo0% | 0% | 0% | 0% | 100%
svm0% | 0% | 0% | 0% | 100%
xmlrpc0% | 0% | 0% | 0% | 100%
mailparse0% | 0% | 0% | 0% | 100%
bz20% | 0% | 0% | 0% | 100%
readline0% | 0% | 0% | 0% | 100%
brotli0% | 0% | 0% | 0% | 100%
yar0% | 0% | 0% | 0% | 100%
uuid0% | 0% | 0% | 0% | 100%
zstd0% | 0% | 0% | 0% | 100%
sysvshm0% | 0% | 0% | 0% | 100%
pspell0% | 0% | 0% | 0% | 100%
phpdbg0% | 0% | 0% | 0% | 100%
iconv0% | 0% | 0% | 0% | 100%
dio0% | 0% | 0% | 0% | 100%
apache0% | 0% | 0% | 0% | 100%
expect0% | 0% | 0% | 0% | 100%
win32service0% | 0% | 0% | 0% | 100%
ZendCache0% | 0% | 0% | 0% | 100%
libxml0% | 0% | 0% | 0% | 100%
gettext0% | 0% | 0% | 0% | 100%
tokenizer0% | 0% | 0% | 0% | 100%
Zend OPcache0% | 0% | 0% | 0% | 100%
sysvsem0% | 0% | 0% | 0% | 100%
filter0% | 0% | 0% | 0% | 100%
frankenphp0% | 0% | 0% | 0% | 100%
lua0% | 0% | 0% | 0% | 100%
ast0% | 0% | 0% | 0% | 100%
regex0% | 0% | 0% | 0% | 100%
shmop0% | 0% | 0% | 0% | 100%
opentelemetry0% | 0% | 0% | 0% | 100%
ZendDebugger0% | 0% | 0% | 0% | 100%
pcov0% | 0% | 0% | 0% | 100%
wddx0% | 0% | 0% | 0% | 100%
radius0% | 0% | 0% | 0% | 100%
ZendUtils0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
simdjson0% | 0% | 0% | 0% | 100%
exif0% | 0% | 0% | 0% | 100%
inotify0% | 0% | 0% | 0% | 100%
maxminddb0% | 0% | 0% | 0% | 100%
rpminfo0% | 0% | 0% | 0% | 100%
xhprof0% | 0% | 0% | 0% | 100%
xxtea0% | 0% | 0% | 0% | 100%
lzf0% | 0% | 0% | 0% | 100%
recode0% | 0% | 0% | 0% | 100%
litespeed0% | 0% | 0% | 0% | 100%
SplType0% | 0% | 0% | 0% | 100%
uploadprogress0% | 0% | 0% | 0% | 100%
snappy0% | 0% | 0% | 0% | 100%
igbinary0% | 0% | 0% | 0% | 100%
suhosin0% | 0% | 0% | 0% | 100%
pam0% | 0% | 0% | 0% | 100%
meminfo0% | 0% | 0% | 0% | 100%
jsonpath0% | 0% | 0% | 0% | 100%
fpm0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
41 1 2
35 1 2
32 1 2
30 1 5
23 1 5
23 1 17
19 1 3
19 1 16
19 1 16
18 1 1
17 1 5
17 1 11
16 1 1
16 1 14
14 1 1
13 1 3
13 1 9
12 1 1
11 1 7
10 1 1
10 1 2
10 1 1
10 1 2
10 1 3
10 1 1
9 1 7
9 1 7
9 1 7
9 1 7
9 1 7
9 1 7
9 1 4
9 1 7
9 1 7
9 1 7
9 1 7
9 1 3
9 1 4
8 1 6
8 1 6
8 1 6
8 1 6
8 1 6
8 1 6
8 1 3
8 1 2
8 1 6
8 1 26
8 1 1
8 1 1