awslabs / aws-c-mqtt
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 15 files with 5,289 lines of code.
    • 1 very long files (2,224 lines of code)
    • 3 long files (2,021 lines of code)
    • 1 medium size files (211 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (523 lines of code)
    • 7 very small files (310 lines of code)
42% | 38% | 3% | 9% | 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
c49% | 44% | 0% | 3% | 2%
h0% | 0% | 27% | 46% | 26%
cmake0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source49% | 44% | 0% | 3% | 2%
include/aws/mqtt0% | 0% | 72% | 0% | 27%
include/aws/mqtt/private0% | 0% | 0% | 75% | 24%
cmake0% | 0% | 0% | 0% | 100%
Longest Files (Top 15)
File# lines# units
client.c
in source
2224 62
client_channel_handler.c
in source
753 21
packets.c
in source
665 48
topic_tree.c
in source
603 23
client.h
in include/aws/mqtt
211 -
packets.h
in include/aws/mqtt/private
186 -
client_impl.h
in include/aws/mqtt/private
176 -
mqtt.c
in source
161 6
fixed_header.c
in source
98 6
topic_tree.h
in include/aws/mqtt/private
67 -
mqtt.h
in include/aws/mqtt
62 -
fixed_header.h
in include/aws/mqtt/private
30 -
mqtt_client_test_helper.h
in include/aws/mqtt/private
23 -
exports.h
in include/aws/mqtt
20 -
cmake
aws-c-mqtt-config.cmake
in cmake
10 -
Files With Most Units (Top 6)
File# lines# units
client.c
in source
2224 62
packets.c
in source
665 48
topic_tree.c
in source
603 23
client_channel_handler.c
in source
753 21
mqtt.c
in source
161 6
fixed_header.c
in source
98 6
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
mqtt.c
in source
161 6 1