apple / swift-nio-transport-services
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 23 files with 2,217 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (560 lines of code)
    • 2 medium size files (526 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (583 lines of code)
    • 16 very small files (548 lines of code)
0% | 25% | 23% | 26% | 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
swift0% | 26% | 24% | 27% | 22%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Sources/NIOTransportServices0% | 27% | 26% | 28% | 17%
docker0% | 0% | 0% | 0% | 100%
Sources/NIOTSHTTPClient0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Sources/NIOTSHTTPServer0% | 0% | 0% | 0% | 100%
Longest Files (Top 23)
File# lines# units
NIOTSConnectionChannel.swift
in Sources/NIOTransportServices
560 10
NIOTSListenerChannel.swift
in Sources/NIOTransportServices
314 2
NIOTSListenerBootstrap.swift
in Sources/NIOTransportServices
212 3
StateManagedChannel.swift
in Sources/NIOTransportServices
181 6
NIOTSEventLoop.swift
in Sources/NIOTransportServices
146 2
NIOTSConnectionBootstrap.swift
in Sources/NIOTransportServices
131 -
NIOFilterEmptyWritesHandler.swift
in Sources/NIOTransportServices
125 -
SocketAddress+NWEndpoint.swift
in Sources/NIOTransportServices
100 1
TCPOptions+SocketChannelOption.swift
in Sources/NIOTransportServices
68 2
NIOTSChannelOptions.swift
in Sources/NIOTransportServices
67 -
main.swift
in Sources/NIOTSHTTPClient
51 2
NIOTSEventLoopGroup.swift
in Sources/NIOTransportServices
49 -
Package.swift
in root
43 -
main.swift
in Sources/NIOTSHTTPServer
32 1
NIOTSErrors.swift
in Sources/NIOTransportServices
31 -
NIOTSNetworkEvents.swift
in Sources/NIOTransportServices
26 -
docker-compose.1604.52.yaml
in docker
12 -
docker-compose.1804.53.yaml
in docker
12 -
docker-compose.2004.54.yaml
in docker
12 -
docker-compose.2004.55.yaml
in docker
12 -
docker-compose.2004.56.yaml
in docker
12 -
docker-compose.2004.main.yaml
in docker
12 -
NIOTSBootstraps.swift
in Sources/NIOTransportServices
9 -
Files With Most Units (Top 9)
File# lines# units
NIOTSConnectionChannel.swift
in Sources/NIOTransportServices
560 10
StateManagedChannel.swift
in Sources/NIOTransportServices
181 6
NIOTSListenerBootstrap.swift
in Sources/NIOTransportServices
212 3
main.swift
in Sources/NIOTSHTTPClient
51 2
NIOTSEventLoop.swift
in Sources/NIOTransportServices
146 2
NIOTSListenerChannel.swift
in Sources/NIOTransportServices
314 2
TCPOptions+SocketChannelOption.swift
in Sources/NIOTransportServices
68 2
main.swift
in Sources/NIOTSHTTPServer
32 1
SocketAddress+NWEndpoint.swift
in Sources/NIOTransportServices
100 1
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 16 long lines.

File# lines# units# long lines
NIOTSConnectionChannel.swift
in Sources/NIOTransportServices
560 10 9
NIOTSEventLoop.swift
in Sources/NIOTransportServices
146 2 3
main.swift
in Sources/NIOTSHTTPServer
32 1 1
NIOTSChannelOptions.swift
in Sources/NIOTransportServices
67 - 1
NIOTSConnectionBootstrap.swift
in Sources/NIOTransportServices
131 - 1
NIOTSListenerBootstrap.swift
in Sources/NIOTransportServices
212 3 1