apple / swift-sample-distributed-actors-transport
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 14 files with 1,551 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (743 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (414 lines of code)
    • 8 very small files (394 lines of code)
0% | 0% | 47% | 26% | 25%
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% | 0% | 48% | 26% | 24%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
FishyTransport/Sources/FishyActorTransport0% | 0% | 52% | 43% | 3%
SampleApp/Sources/FishyActorsDemo0% | 0% | 60% | 0% | 39%
FishyTransport/Sources/FishyActorsGenerator0% | 0% | 49% | 39% | 10%
FishyTransport0% | 0% | 0% | 0% | 100%
SampleApp0% | 0% | 0% | 0% | 100%
FishyTransport/Plugins/FishyActorTransportPlugin0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
FishyTransport.swift
in FishyTransport/Sources/FishyActorTransport
305 7
_PrettyDemoLogger.swift
in SampleApp/Sources/FishyActorsDemo
234 10
SourceGen.swift
in FishyTransport/Sources/FishyActorsGenerator
204 2
Analysis.swift
in FishyTransport/Sources/FishyActorsGenerator
163 5
FishyTransport+Server.swift
in FishyTransport/Sources/FishyActorTransport
135 10
locks.swift
in FishyTransport/Sources/FishyActorTransport
116 -
Actors.swift
in SampleApp/Sources/FishyActorsDemo
100 2
Package.swift
in FishyTransport
81 -
Package.swift
in SampleApp
53 -
main.swift
in SampleApp/Sources/FishyActorsDemo
53 1
main.swift
in FishyTransport/Sources/FishyActorsGenerator
42 2
FishyPlugin.swift
in FishyTransport/Plugins/FishyActorTransportPlugin
29 1
TopLevelCoders.swift
in FishyTransport/Sources/FishyActorTransport
20 2
otel-collector-config.yaml
in SampleApp
16 -
Files With Most Units (Top 10)
File# lines# units
FishyTransport+Server.swift
in FishyTransport/Sources/FishyActorTransport
135 10
_PrettyDemoLogger.swift
in SampleApp/Sources/FishyActorsDemo
234 10
FishyTransport.swift
in FishyTransport/Sources/FishyActorTransport
305 7
Analysis.swift
in FishyTransport/Sources/FishyActorsGenerator
163 5
TopLevelCoders.swift
in FishyTransport/Sources/FishyActorTransport
20 2
SourceGen.swift
in FishyTransport/Sources/FishyActorsGenerator
204 2
main.swift
in FishyTransport/Sources/FishyActorsGenerator
42 2
Actors.swift
in SampleApp/Sources/FishyActorsDemo
100 2
FishyPlugin.swift
in FishyTransport/Plugins/FishyActorTransportPlugin
29 1
main.swift
in SampleApp/Sources/FishyActorsDemo
53 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
SourceGen.swift
in FishyTransport/Sources/FishyActorsGenerator
204 2 3
FishyTransport.swift
in FishyTransport/Sources/FishyActorTransport
305 7 1
Actors.swift
in SampleApp/Sources/FishyActorsDemo
100 2 1
_PrettyDemoLogger.swift
in SampleApp/Sources/FishyActorsDemo
234 10 1