apple / swift-algorithms
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 26 files with 4,856 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (511 lines of code)
    • 11 medium size files (3,010 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (961 lines of code)
    • 7 very small files (374 lines of code)
0% | 10% | 61% | 19% | 7%
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% | 10% | 61% | 19% | 7%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Sources/Algorithms0% | 10% | 62% | 19% | 7%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 26)
File# lines# units
Intersperse.swift
in Sources/Algorithms
511 -
Chunked.swift
in Sources/Algorithms
402 -
Reductions.swift
in Sources/Algorithms
377 -
Joined.swift
in Sources/Algorithms
323 -
Split.swift
in Sources/Algorithms
309 -
Product.swift
in Sources/Algorithms
261 -
Permutations.swift
in Sources/Algorithms
259 1
FlattenCollection.swift
in Sources/Algorithms
241 1
Chain.swift
in Sources/Algorithms
219 -
Windows.swift
in Sources/Algorithms
217 -
AdjacentPairs.swift
in Sources/Algorithms
201 -
Stride.swift
in Sources/Algorithms
201 -
Partition.swift
in Sources/Algorithms
178 -
EitherSequence.swift
in Sources/Algorithms
162 -
MinMax.swift
in Sources/Algorithms
159 -
Cycle.swift
in Sources/Algorithms
128 -
Combinations.swift
in Sources/Algorithms
122 2
RandomSample.swift
in Sources/Algorithms
109 -
Compacted.swift
in Sources/Algorithms
103 4
Rotate.swift
in Sources/Algorithms
91 -
Trim.swift
in Sources/Algorithms
74 -
Unique.swift
in Sources/Algorithms
73 -
Indexed.swift
in Sources/Algorithms
65 -
Suffix.swift
in Sources/Algorithms
36 -
Package.swift
in root
22 -
FirstNonNil.swift
in Sources/Algorithms
13 -
Files With Most Units (Top 4)
File# lines# units
Compacted.swift
in Sources/Algorithms
103 4
Combinations.swift
in Sources/Algorithms
122 2
FlattenCollection.swift
in Sources/Algorithms
241 1
Permutations.swift
in Sources/Algorithms
259 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines