aws-samples / aws-iot-securetunneling-localproxy
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 18 files with 3,403 lines of code.
    • 1 very long files (1,701 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (597 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (501 lines of code)
    • 12 very small files (604 lines of code)
49% | 0% | 17% | 14% | 17%
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
cpp61% | 0% | 21% | 11% | 6%
h0% | 0% | 0% | 31% | 68%
proto0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src53% | 0% | 18% | 10% | 17%
src/config0% | 0% | 0% | 89% | 10%
resources0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
TcpAdapterProxy.cpp
in src
1701 58
main.cpp
in src
337 6
WebSocketStream.cpp
in src
260 14
TcpAdapterProxy.h
in src
185 2
ConfigFile.cpp
in src/config
160 5
WebProxyAdapter.cpp
in src
156 4
WebProxyAdapter.h
in src
97 2
Url.cpp
in src
95 2
ProxySettings.cpp
in src
76 2
WebSocketStream.h
in src
74 -
LocalproxyConfig.h
in src
53 -
ProxySettings.h
in src
48 -
TcpConnection.h
in src
45 1
TcpServer.h
in src
32 1
TcpClient.h
in src
26 1
proto
Message.proto
in resources
22 -
ConfigFile.h
in src/config
19 -
Url.h
in src
17 -
Files With Most Units (Top 12)
File# lines# units
TcpAdapterProxy.cpp
in src
1701 58
WebSocketStream.cpp
in src
260 14
main.cpp
in src
337 6
ConfigFile.cpp
in src/config
160 5
WebProxyAdapter.cpp
in src
156 4
Url.cpp
in src
95 2
ProxySettings.cpp
in src
76 2
TcpAdapterProxy.h
in src
185 2
WebProxyAdapter.h
in src
97 2
TcpClient.h
in src
26 1
TcpServer.h
in src
32 1
TcpConnection.h
in src
45 1
Files With Long Lines (Top 11)

There are 11 files with lines longer than 120 characters. In total, there are 248 long lines.

File# lines# units# long lines
TcpAdapterProxy.cpp
in src
1701 58 176
main.cpp
in src
337 6 25
TcpAdapterProxy.h
in src
185 2 15
WebSocketStream.cpp
in src
260 14 10
WebProxyAdapter.cpp
in src
156 4 7
ConfigFile.cpp
in src/config
160 5 5
WebSocketStream.h
in src
74 - 2
TcpClient.h
in src
26 1 2
ProxySettings.cpp
in src
76 2 2
TcpServer.h
in src
32 1 2
TcpConnection.h
in src
45 1 2