awslabs / aws-c-http
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 56 files with 21,539 lines of code.
    • 7 very long files (10,337 lines of code)
    • 8 long files (6,605 lines of code)
    • 6 medium size files (1,943 lines of codeclsfd_ftr_w_mp_ins)
    • 11 small files (1,551 lines of code)
    • 24 very small files (1,103 lines of code)
47% | 30% | 9% | 7% | 5%
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
c54% | 34% | 8% | 2% | <1%
h0% | 0% | 10% | 45% | 44%
yml0% | 0% | 0% | 0% | 100%
cmake0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source54% | 34% | 8% | 2% | <1%
include/aws/http0% | 0% | 23% | 54% | 21%
include/aws/http/private0% | 0% | 0% | 38% | 61%
codebuild0% | 0% | 0% | 0% | 100%
cmake0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
h2_connection.c
in source
2157 60
hpack_huffman_static.c
in source
2065 2
h1_connection.c
in source
1417 46
websocket.c
in source
1258 41
proxy_strategy.c
in source
1257 44
proxy_connection.c
in source
1176 38
h2_decoder.c
in source
1007 35
hpack.c
in source
995 27
connection.c
in source
933 35
connection_manager.c
in source
909 27
request_response.c
in source
881 58
h2_stream.c
in source
811 26
h2_frames.c
in source
804 23
h1_encoder.c
in source
662 33
h1_decoder.c
in source
610 26
http.c
in source
478 16
h1_stream.c
in source
393 8
websocket_bootstrap.c
in source
390 9
request_response.h
in include/aws/http
244 -
websocket_encoder.c
in source
223 13
websocket_decoder.c
in source
215 10
proxy.h
in include/aws/http
186 -
h2_frames.h
in include/aws/http/private
171 -
connection_monitor.c
in source
164 4
connection.h
in include/aws/http
160 -
strutil.c
in source
154 9
random_access_set.c
in source
147 8
connection_impl.h
in include/aws/http/private
130 -
h2_connection.h
in include/aws/http/private
120 -
http.h
in include/aws/http
113 -
websocket.h
in include/aws/http
105 -
proxy_impl.h
in include/aws/http/private
101 -
h2_stream.h
in include/aws/http/private
91 -
hpack.h
in include/aws/http/private
89 -
h1_encoder.h
in include/aws/http/private
86 -
h1_connection.h
in include/aws/http/private
75 -
status_code.h
in include/aws/http
67 -
websocket_impl.h
in include/aws/http/private
58 -
h2_decoder.h
in include/aws/http/private
58 -
server.h
in include/aws/http
57 -
connection_manager.h
in include/aws/http
56 -
http_impl.h
in include/aws/http/private
54 -
h1_stream.h
in include/aws/http/private
49 -
request_response_impl.h
in include/aws/http/private
47 -
h1_decoder.h
in include/aws/http/private
45 -
websocket_decoder.h
in include/aws/http/private
40 -
websocket_encoder.h
in include/aws/http/private
38 -
random_access_set.h
in include/aws/http/private
32 -
connection_manager_system_vtable.h
in include/aws/http/private
30 -
linux-integration-tests.yml
in codebuild
23 -
Files With Most Units (Top 20)
File# lines# units
h2_connection.c
in source
2157 60
request_response.c
in source
881 58
h1_connection.c
in source
1417 46
proxy_strategy.c
in source
1257 44
websocket.c
in source
1258 41
proxy_connection.c
in source
1176 38
connection.c
in source
933 35
h2_decoder.c
in source
1007 35
h1_encoder.c
in source
662 33
connection_manager.c
in source
909 27
hpack.c
in source
995 27
h1_decoder.c
in source
610 26
h2_stream.c
in source
811 26
h2_frames.c
in source
804 23
http.c
in source
478 16
websocket_encoder.c
in source
223 13
websocket_decoder.c
in source
215 10
websocket_bootstrap.c
in source
390 9
strutil.c
in source
154 9
h1_stream.c
in source
393 8
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
linux-integration-tests.yml
in codebuild
23 - 1