aws / aws-cdi-sdk
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 121 files with 20,154 lines of code.
    • 1 very long files (1,013 lines of code)
    • 10 long files (7,128 lines of code)
    • 25 medium size files (7,021 lines of codeclsfd_ftr_w_mp_ins)
    • 15 small files (2,299 lines of code)
    • 70 very small files (2,693 lines of code)
5% | 35% | 34% | 11% | 13%
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
c7% | 49% | 32% | 7% | 3%
vcxproj0% | 0% | 65% | 34% | 0%
h0% | 0% | 21% | 21% | 56%
cpp0% | 0% | 62% | 11% | 26%
filters0% | 0% | 67% | 0% | 32%
html0% | 0% | 0% | 0% | 100%
props0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/common/src27% | 47% | 25% | 0% | <1%
src/cdi0% | 43% | 35% | 12% | 8%
proj0% | 0% | 64% | 23% | 11%
include0% | 0% | 45% | 0% | 54%
aws-cpp-sdk-cdi/source/model0% | 0% | 56% | 0% | 43%
aws-cpp-sdk-cdi/include/aws/cdi/model0% | 0% | 0% | 41% | 58%
src/common/include0% | 0% | 0% | 45% | 54%
aws-cpp-sdk-cdi/source0% | 0% | 0% | 52% | 47%
aws-cpp-sdk-cdi/include/aws/cdi0% | 0% | 0% | 0% | 100%
doc0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
os_linux.c
in src/common/src
1013 58
os_windows.c
in src/common/src
958 59
endpoint_manager.c
in src/cdi
859 30
logger.c
in src/common/src
806 35
internal_rx.c
in src/cdi
738 23
adapter.c
in src/cdi
686 25
baseline_profiles_1_00.c
in src/cdi
664 12
baseline_profiles_2_00.c
in src/cdi
645 11
internal.c
in src/cdi
599 24
adapter_efa.c
in src/cdi
590 18
internal_tx.c
in src/cdi
583 17
cloudwatch_sdk_metrics.cpp
in src/cdi
424 14
queue.c
in src/common/src
367 17
pool.c
in src/common/src
367 23
t_digest.c
in src/cdi
358 14
adapter_efa_probe_control.c
in src/cdi
321 11
statistics.c
in src/cdi
319 9
adapter_socket.c
in src/cdi
318 12
adapter_efa_probe_tx.c
in src/cdi
308 6
baseline_profile.c
in src/cdi
297 12
filters
cdi_sdk.vcxproj.filters
in proj
291 -
protocol_v2.c
in src/cdi
290 8
rx_reorder_packets.c
in src/cdi
285 10
vcxproj
cdi_sdk.vcxproj
in proj
284 -
adapter_efa_probe_rx.c
in src/cdi
280 6
protocol_v1.c
in src/cdi
267 8
timeout.c
in src/cdi
243 8
cdi_core_api.h
in include
243 -
adapter_efa_rx.c
in src/cdi
238 11
cloudwatch.c
in src/cdi
232 11
cdi_os_api.h
in include
229 2
vcxproj
cdi_test_min_tx.vcxproj
in proj
222 -
vcxproj
cdi_test_min_rx.vcxproj
in proj
219 -
fifo.c
in src/common/src
208 7
MetricGroup.cpp
in aws-cpp-sdk-cdi/source/model
207 1
private.h
in src/cdi
204 -
adapter_efa_tx.c
in src/cdi
200 11
adapter_api.h
in src/cdi
200 -
vcxproj
pdcurses.vcxproj
in proj
194 -
vcxproj
cdi_test_unit.vcxproj
in proj
181 -
receive_buffer.c
in src/cdi
180 4
payload.c
in src/cdi
171 5
rx_reorder_payloads.c
in src/cdi
160 11
adapter_efa_probe.c
in src/cdi
153 8
cdi_core_api.c
in src/cdi
152 12
protocol.h
in src/cdi
129 -
MetricGroup.h
in aws-cpp-sdk-cdi/include/aws/cdi/model
125 43
cdi_utility_api.c
in src/cdi
120 4
CDIMonitoringClient.cpp
in aws-cpp-sdk-cdi/source
112 6
list_api.h
in src/common/include
112 8
Files With Most Units (Top 20)
File# lines# units
os_windows.c
in src/common/src
958 59
os_linux.c
in src/common/src
1013 58
MetricGroup.h
in aws-cpp-sdk-cdi/include/aws/cdi/model
125 43
logger.c
in src/common/src
806 35
endpoint_manager.c
in src/cdi
859 30
adapter.c
in src/cdi
686 25
internal.c
in src/cdi
599 24
PutMetricGroupsRequest.h
in aws-cpp-sdk-cdi/include/aws/cdi/model
85 23
internal_rx.c
in src/cdi
738 23
pool.c
in src/common/src
367 23
adapter_efa.c
in src/cdi
590 18
internal_tx.c
in src/cdi
583 17
queue.c
in src/common/src
367 17
cloudwatch_sdk_metrics.cpp
in src/cdi
424 14
t_digest.c
in src/cdi
358 14
StatisticSet.h
in aws-cpp-sdk-cdi/include/aws/cdi/model
53 12
cdi_core_api.c
in src/cdi
152 12
adapter_socket.c
in src/cdi
318 12
baseline_profiles_1_00.c
in src/cdi
664 12
baseline_profile.c
in src/cdi
297 12
Files With Long Lines (Top 20)

There are 33 files with lines longer than 120 characters. In total, there are 259 long lines.

File# lines# units# long lines
vcxproj
cdi_test_min_tx.vcxproj
in proj
222 - 35
vcxproj
cdi_test_min_rx.vcxproj
in proj
219 - 35
props
Libfabric.Build.Default.props
in proj
35 - 29
vcxproj
cdi_test_unit.vcxproj
in proj
181 - 28
vcxproj
cdi_sdk.vcxproj
in proj
284 - 25
PutMetricGroupsRequest.h
in aws-cpp-sdk-cdi/include/aws/cdi/model
85 23 17
vcxproj
pdcurses.vcxproj
in proj
194 - 10
CDIMonitoringClient.cpp
in aws-cpp-sdk-cdi/source
112 6 7
CDIMonitoringClient.h
in aws-cpp-sdk-cdi/include/aws/cdi
71 - 7
queue.c
in src/common/src
367 17 7
MetricGroup.h
in aws-cpp-sdk-cdi/include/aws/cdi/model
125 43 6
timeout.c
in src/cdi
243 8 5
adapter_efa_probe_control.c
in src/cdi
321 11 5
internal_tx.c
in src/cdi
583 17 4
adapter_efa.c
in src/cdi
590 18 4
adapter_efa_probe_rx.c
in src/cdi
280 6 4
os_linux.c
in src/common/src
1013 58 4
adapter_efa_rx.c
in src/cdi
238 11 3
adapter_efa_probe_tx.c
in src/cdi
308 6 3
rx_reorder_payloads.c
in src/cdi
160 11 2