aws / aws-iot-device-sdk-cpp-v2
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 171 files with 20,320 lines of code.
    • 3 very long files (11,287 lines of code)
    • 3 long files (2,079 lines of code)
    • 3 medium size files (1,113 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (870 lines of code)
    • 156 very small files (4,971 lines of code)
55% | 10% | 5% | 4% | 24%
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
cpp55% | 11% | 8% | 3% | 21%
h55% | 7% | 0% | 6% | 30%
cmake0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
greengrass_ipc94% | 0% | 4% | 0% | 1%
eventstream_rpc71% | 27% | 0% | 0% | 1%
shadow0% | 34% | 0% | 6% | 58%
jobs0% | 23% | 0% | 9% | 67%
identity0% | 0% | 34% | 0% | 65%
secure_tunneling0% | 0% | 42% | 18% | 39%
discovery0% | 0% | 0% | 38% | 61%
devicedefender0% | 0% | 0% | 59% | 40%
iotdevicecommon0% | 0% | 0% | 0% | 100%
utils0% | 0% | 0% | 0% | 100%
docsrc0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
GreengrassCoreIpcModel.cpp
in greengrass_ipc/source
6283 653
GreengrassCoreIpcModel.h
in greengrass_ipc/include/aws/greengrass
3668 319
EventStreamClient.cpp
in eventstream_rpc/source
1336 44
IotShadowClient.cpp
in shadow/source
959 24
IotJobsClient.cpp
in jobs/source
596 16
EventStreamClient.h
in eventstream_rpc/include/aws/eventstreamrpc
524 19
GreengrassCoreIpcClient.cpp
in greengrass_ipc/source
455 50
IotIdentityClient.cpp
in identity/source
380 11
SecureTunnel.cpp
in secure_tunneling/source
278 14
IotShadowClient.h
in shadow/include/aws/iotshadow
179 -
DiscoveryClient.cpp
in discovery/source
171 2
DeviceDefender.cpp
in devicedefender/source
156 5
IotJobsClient.h
in jobs/include/aws/iotjobs
125 -
SecureTunnel.h
in secure_tunneling/include/aws/iotsecuretunneling
123 -
JobExecutionData.cpp
in jobs/source
116 2
UpdateJobExecutionRequest.cpp
in jobs/source
100 2
GreengrassCoreIpcClient.h
in greengrass_ipc/include/aws/greengrass
99 1
GetPendingJobExecutionsResponse.cpp
in jobs/source
95 2
RejectedErrorCode.cpp
in jobs/source
91 1
IotIdentityClient.h
in identity/include/aws/iotidentity
86 -
JobStatus.cpp
in jobs/source
84 1
DeviceDefender.h
in devicedefender/include/aws/iotdevicedefender
83 1
SecureTunnelingNotifyResponse.cpp
in secure_tunneling/source
75 2
JobExecutionsChangedEvent.cpp
in jobs/source
70 2
JobExecutionSummary.cpp
in jobs/source
70 2
UpdateShadowResponse.cpp
in shadow/source
66 2
GetShadowResponse.cpp
in shadow/source
66 2
StartNextPendingJobExecutionRequest.cpp
in jobs/source
65 2
RejectedError.cpp
in jobs/source
64 2
IotSecureTunnelingClient.cpp
in secure_tunneling/source
61 3
JobExecutionState.cpp
in jobs/source
60 2
CreateKeysAndCertificateResponse.cpp
in identity/source
59 2
UpdateJobExecutionResponse.cpp
in jobs/source
56 2
ShadowDeltaUpdatedEvent.cpp
in shadow/source
54 2
ErrorResponse.cpp
in shadow/source
54 2
RegisterThingResponse.cpp
in identity/source
54 2
StartNextJobExecutionResponse.cpp
in jobs/source
53 2
DescribeJobExecutionResponse.cpp
in jobs/source
53 2
RegisterThingRequest.cpp
in identity/source
52 2
DescribeJobExecutionRequest.cpp
in jobs/source
51 2
CreateCertificateFromCsrResponse.cpp
in identity/source
51 2
ShadowUpdatedSnapshot.cpp
in shadow/source
50 2
ShadowUpdatedEvent.cpp
in shadow/source
50 2
UpdateShadowRequest.cpp
in shadow/source
48 2
UpdateNamedShadowRequest.cpp
in shadow/source
48 2
DeleteShadowResponse.cpp
in shadow/source
46 2
ShadowStateWithDelta.cpp
in shadow/source
46 2
ErrorResponse.cpp
in identity/source
46 2
NextJobExecutionChangedEvent.cpp
in jobs/source
45 2
DiscoveryClient.h
in discovery/include/aws/discovery
40 -
Files With Most Units (Top 20)
File# lines# units
GreengrassCoreIpcModel.cpp
in greengrass_ipc/source
6283 653
GreengrassCoreIpcModel.h
in greengrass_ipc/include/aws/greengrass
3668 319
GreengrassCoreIpcClient.cpp
in greengrass_ipc/source
455 50
EventStreamClient.cpp
in eventstream_rpc/source
1336 44
IotShadowClient.cpp
in shadow/source
959 24
EventStreamClient.h
in eventstream_rpc/include/aws/eventstreamrpc
524 19
IotJobsClient.cpp
in jobs/source
596 16
SecureTunnel.cpp
in secure_tunneling/source
278 14
IotIdentityClient.cpp
in identity/source
380 11
DeviceDefender.cpp
in devicedefender/source
156 5
IotSecureTunnelingClient.cpp
in secure_tunneling/source
61 3
SubscribeToTunnelsNotifyRequest.cpp
in secure_tunneling/source
24 2
SecureTunnelingNotifyResponse.cpp
in secure_tunneling/source
75 2
DiscoveryClient.cpp
in discovery/source
171 2
StartNextPendingJobExecutionSubscriptionRequest.cpp
in jobs/source
29 2
GetPendingJobExecutionsSubscriptionRequest.cpp
in jobs/source
28 2
NextJobExecutionChangedEvent.cpp
in jobs/source
45 2
JobExecutionsChangedEvent.cpp
in jobs/source
70 2
DescribeJobExecutionRequest.cpp
in jobs/source
51 2
JobExecutionsChangedSubscriptionRequest.cpp
in jobs/source
28 2
Files With Long Lines (Top 1)

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

File# lines# units# long lines
parse_cert_set_result.py
in utils
37 - 2