awslabs / aws-crt-php
File Size

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

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 38 files with 3,909 lines of code.
    • 1 very long files (1,612 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,089 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (315 lines of code)
    • 30 very small files (893 lines of code)
41% | 0% | 27% | 8% | 22%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
php63% | 0% | 9% | 0% | 26%
c0% | 0% | 58% | 24% | 17%
h0% | 0% | 76% | 23% | 0%
frag0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT95% | 0% | 0% | 0% | 4%
ext0% | 0% | 61% | 22% | 16%
src/AWS/CRT0% | 0% | 66% | 0% | 33%
src/AWS/CRT/Auth0% | 0% | 0% | 0% | 100%
src/AWS/CRT/HTTP0% | 0% | 0% | 0% | 100%
src/AWS/CRT/IO0% | 0% | 0% | 0% | 100%
src/AWS/CRT/Internal0% | 0% | 0% | 0% | 100%
Longest Files (Top 38)
File# lines# units
gen_stub.php
in root
1612 94
awscrt_arginfo.h
in ext
339 -
signing.c
in ext
275 4
crt.c
in ext
239 13
CRT.php
in src/AWS/CRT
236 71
credentials.c
in ext
109 -
stream.c
in ext
104 5
php_aws_crt.h
in ext
102 -
Message.php
in src/AWS/CRT/HTTP
76 10
awscrt.stub.php
in ext
69 68
SigningConfigAWS.php
in src/AWS/CRT/Auth
64 4
Options.php
in src/AWS/CRT
56 16
frag
Makefile.frag
in root
55 -
logging.c
in ext
48 1
AwsCredentials.php
in src/AWS/CRT/Auth
46 4
Headers.php
in src/AWS/CRT/HTTP
37 7
Log.php
in src/AWS/CRT
35 7
InputStream.php
in src/AWS/CRT/IO
34 6
event_loop.c
in ext
32 -
Signable.php
in src/AWS/CRT/Auth
32 5
Encoding.php
in src/AWS/CRT/Internal
28 4
NativeResource.php
in src/AWS/CRT
26 4
php_util.c
in ext
23 3
EventLoopGroup.php
in src/AWS/CRT/IO
23 3
http.c
in ext
22 -
Request.php
in src/AWS/CRT/HTTP
22 4
crc.c
in ext
21 -
SigningResult.php
in src/AWS/CRT/Auth
21 4
Response.php
in src/AWS/CRT/HTTP
18 4
StaticCredentialsProvider.php
in src/AWS/CRT/Auth
18 2
gen_api.php
in root
16 -
Signing.php
in src/AWS/CRT/Auth
15 2
Extension.php
in src/AWS/CRT/Internal
13 2
CredentialsProvider.php
in src/AWS/CRT/Auth
12 2
SignatureType.php
in src/AWS/CRT/Auth
10 -
awscrt.c
in ext
9 -
SignedBodyHeaderType.php
in src/AWS/CRT/Auth
6 -
SigningAlgorithm.php
in src/AWS/CRT/Auth
6 -
Files With Most Units (Top 20)
File# lines# units
gen_stub.php
in root
1612 94
CRT.php
in src/AWS/CRT
236 71
awscrt.stub.php
in ext
69 68
Options.php
in src/AWS/CRT
56 16
crt.c
in ext
239 13
Message.php
in src/AWS/CRT/HTTP
76 10
Headers.php
in src/AWS/CRT/HTTP
37 7
Log.php
in src/AWS/CRT
35 7
InputStream.php
in src/AWS/CRT/IO
34 6
stream.c
in ext
104 5
Signable.php
in src/AWS/CRT/Auth
32 5
signing.c
in ext
275 4
Encoding.php
in src/AWS/CRT/Internal
28 4
Response.php
in src/AWS/CRT/HTTP
18 4
Request.php
in src/AWS/CRT/HTTP
22 4
SigningConfigAWS.php
in src/AWS/CRT/Auth
64 4
AwsCredentials.php
in src/AWS/CRT/Auth
46 4
SigningResult.php
in src/AWS/CRT/Auth
21 4
NativeResource.php
in src/AWS/CRT
26 4
php_util.c
in ext
23 3
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 42 long lines.

File# lines# units# long lines
awscrt_arginfo.h
in ext
339 - 16
gen_stub.php
in root
1612 94 13
CRT.php
in src/AWS/CRT
236 71 4
awscrt.stub.php
in ext
69 68 3
StaticCredentialsProvider.php
in src/AWS/CRT/Auth
18 2 3
Signing.php
in src/AWS/CRT/Auth
15 2 2
AwsCredentials.php
in src/AWS/CRT/Auth
46 4 1