File Size Overall
  • There are 17 files with 568 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of code)
    • 1 small files (176 lines of code)
    • 16 very small files (392 lines of code)
0% | 0% | 0% | 30% | 69%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
swift0% | 0% | 0% | 30% | 69%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Sources0% | 0% | 0% | 32% | 67%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
Nophan.swift
in Sources/Nophan
176 -
RequestCache.swift
in Sources/Nophan/Managers
56 3
NophanMonitorView.swift
in Sources/Nophan/Debug
48 1
NetworkEngine.swift
in Sources/Nophan/Networking
47 -
KeychainManager.swift
in Sources/Nophan/Managers
45 4
Request.swift
in Sources/Nophan/Structs
31 3
Consent.swift
in Sources/Nophan/Protocols
28 -
27 -
Configuration.swift
in Sources/Nophan/Structs
24 -
NophanTrackingType.swift
in Sources/Nophan/Enums
19 -
NophanError.swift
in Sources/Nophan/Enums
16 -
NophanMonitor.swift
in Sources/Nophan/Debug
14 1
Analytics.swift
in Sources/Nophan/Protocols
12 -
Keychain.swift
in Sources/Nophan/Protocols
8 -
Networking.swift
in Sources/Nophan/Protocols
6 -
Cache.swift
in Sources/Nophan/Protocols
6 -
Event.swift
in Sources/Nophan/Protocols
5 -
Large Files That Change Often (Top 1)
To change a file, an AI coding agent (or a person) has to read it: these files are read the most for the changes in the past year (lines × changes).
File# lines≈ tokens
to read
# changes
(1y)
≈ lines edited
per change
lines read per
line changed
Nophan.swift
in Sources/Nophan
176 ~1k–3k 4 ~20 ~10

Tokens are lines × 7 to 14 (analysis.fileReadsForChanges). Lines edited per change are the file's lines added and deleted divided by its commits over the whole history. Agents read about 2,000 lines at a time: when a 17,000-line file was split into modules, the tokens an agent read for the same change fell by 83% (The Economic Benefit of Refactoring, 2026).

Files With Most Units (Top 5)
File# lines# units
KeychainManager.swift
in Sources/Nophan/Managers
45 4
RequestCache.swift
in Sources/Nophan/Managers
56 3
Request.swift
in Sources/Nophan/Structs
31 3
NophanMonitorView.swift
in Sources/Nophan/Debug
48 1
NophanMonitor.swift
in Sources/Nophan/Debug
14 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
RequestCache.swift
in Sources/Nophan/Managers
56 3 3
Nophan.swift
in Sources/Nophan
176 - 1
Correlations

File Size vs. Commits (all time): 17 points

Sources/Nophan/Nophan.swift x: 24 commits (all time) y: 176 lines of code Sources/Nophan/Protocols/Consent.swift x: 7 commits (all time) y: 28 lines of code Sources/Nophan/Debug/NophanMonitor.swift x: 4 commits (all time) y: 14 lines of code Package.swift x: 7 commits (all time) y: 27 lines of code Sources/Nophan/Debug/NophanMonitorView.swift x: 8 commits (all time) y: 48 lines of code Sources/Nophan/Enums/NophanTrackingType.swift x: 3 commits (all time) y: 19 lines of code Sources/Nophan/Networking/NetworkEngine.swift x: 10 commits (all time) y: 47 lines of code Sources/Nophan/Structs/Request.swift x: 6 commits (all time) y: 31 lines of code Sources/Nophan/Managers/RequestCache.swift x: 4 commits (all time) y: 56 lines of code Sources/Nophan/Protocols/Cache.swift x: 3 commits (all time) y: 6 lines of code Sources/Nophan/Protocols/Event.swift x: 3 commits (all time) y: 5 lines of code Sources/Nophan/Enums/NophanError.swift x: 2 commits (all time) y: 16 lines of code Sources/Nophan/Protocols/Analytics.swift x: 2 commits (all time) y: 12 lines of code Sources/Nophan/Managers/KeychainManager.swift x: 1 commits (all time) y: 45 lines of code Sources/Nophan/Protocols/Keychain.swift x: 1 commits (all time) y: 8 lines of code Sources/Nophan/Structs/Configuration.swift x: 1 commits (all time) y: 24 lines of code
176.0
lines of code
  min: 5.0
  average: 33.41
  25th percentile: 10.0
  median: 24.0
  75th percentile: 46.0
  max: 176.0
0 24.0
commits (all time)
min: 1.0 | average: 5.24 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 7.0 | max: 24.0

File Size vs. Contributors (all time): 17 points

Sources/Nophan/Nophan.swift x: 4 contributors (all time) y: 176 lines of code Sources/Nophan/Protocols/Consent.swift x: 3 contributors (all time) y: 28 lines of code Sources/Nophan/Debug/NophanMonitor.swift x: 2 contributors (all time) y: 14 lines of code Package.swift x: 2 contributors (all time) y: 27 lines of code Sources/Nophan/Debug/NophanMonitorView.swift x: 2 contributors (all time) y: 48 lines of code Sources/Nophan/Enums/NophanTrackingType.swift x: 2 contributors (all time) y: 19 lines of code Sources/Nophan/Networking/NetworkEngine.swift x: 2 contributors (all time) y: 47 lines of code Sources/Nophan/Structs/Request.swift x: 2 contributors (all time) y: 31 lines of code Sources/Nophan/Managers/RequestCache.swift x: 2 contributors (all time) y: 56 lines of code Sources/Nophan/Protocols/Cache.swift x: 2 contributors (all time) y: 6 lines of code Sources/Nophan/Protocols/Event.swift x: 1 contributors (all time) y: 5 lines of code Sources/Nophan/Enums/NophanError.swift x: 1 contributors (all time) y: 16 lines of code Sources/Nophan/Protocols/Analytics.swift x: 1 contributors (all time) y: 12 lines of code Sources/Nophan/Managers/KeychainManager.swift x: 1 contributors (all time) y: 45 lines of code Sources/Nophan/Protocols/Keychain.swift x: 1 contributors (all time) y: 8 lines of code Sources/Nophan/Structs/Configuration.swift x: 1 contributors (all time) y: 24 lines of code
176.0
lines of code
  min: 5.0
  average: 33.41
  25th percentile: 10.0
  median: 24.0
  75th percentile: 46.0
  max: 176.0
0 4.0
contributors (all time)
min: 1.0 | average: 1.82 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 4.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".

About This Analysis
  • 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...