apple / swift-numerics
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 36 files with 2,652 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (544 lines of code)
    • 2 medium size files (532 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (716 lines of code)
    • 28 very small files (860 lines of code)
0% | 20% | 20% | 26% | 32%
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% | 23% | 11% | 31% | 33%
h0% | 0% | 100% | 0% | 0%
cmake0% | 0% | 0% | 0% | 100%
c0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Sources/_TestSupport0% | 89% | 0% | 0% | 10%
Sources/_NumericsShims/include0% | 0% | 100% | 0% | 0%
Sources/RealModule0% | 0% | 30% | 48% | 21%
Sources/ComplexModule0% | 0% | 0% | 31% | 68%
Sources/IntegerUtilities0% | 0% | 0% | 58% | 41%
cmake/modules0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Sources/Numerics0% | 0% | 0% | 0% | 100%
Sources/_NumericsShims0% | 0% | 0% | 0% | 100%
Longest Files (Top 36)
File# lines# units
DoubleWidth.swift
in Sources/_TestSupport
544 2
_NumericsShims.h
in Sources/_NumericsShims/include
278 85
Float16+Real.swift
in Sources/RealModule
254 -
Complex+ElementaryFunctions.swift
in Sources/ComplexModule
172 -
Double+Real.swift
in Sources/RealModule
145 -
DivideWithRounding.swift
in Sources/IntegerUtilities
140 1
Float+Real.swift
in Sources/RealModule
138 -
Float80+Real.swift
in Sources/RealModule
121 -
Complex.swift
in Sources/ComplexModule
85 -
cmake
SwiftSupport.cmake
in cmake/modules
83 -
Complex+Differentiable.swift
in Sources/ComplexModule
77 3
Package.swift
in root
67 -
Complex+AlgebraicField.swift
in Sources/ComplexModule
56 -
ShiftWithRounding.swift
in Sources/IntegerUtilities
54 -
ApproximateEquality.swift
in Sources/RealModule
54 -
Real.swift
in Sources/RealModule
47 -
Polar.swift
in Sources/ComplexModule
40 -
Interval.swift
in Sources/_TestSupport
29 1
Complex+Numeric.swift
in Sources/ComplexModule
24 -
AugmentedArithmetic.swift
in Sources/RealModule
24 -
Complex+AdditiveArithmetic.swift
in Sources/ComplexModule
23 -
ElementaryFunctions.swift
in Sources/RealModule
22 -
Rotate.swift
in Sources/IntegerUtilities
18 -
RealTestSupport.swift
in Sources/_TestSupport
18 -
Complex+Hashable.swift
in Sources/ComplexModule
17 -
Complex+Codable.swift
in Sources/ComplexModule
16 -
AlgebraicField.swift
in Sources/RealModule
16 -
RealFunctions.swift
in Sources/RealModule
16 -
Error.swift
in Sources/_TestSupport
16 -
GCD.swift
in Sources/IntegerUtilities
15 -
Complex+StringConvertible.swift
in Sources/ComplexModule
11 -
RoundingRule.swift
in Sources/IntegerUtilities
11 -
Scale.swift
in Sources/ComplexModule
10 -
Complex+IntegerLiteral.swift
in Sources/ComplexModule
7 -
Numerics.swift
in Sources/Numerics
3 -
_NumericsShims.c
in Sources/_NumericsShims
1 -
Files With Most Units (Top 5)
File# lines# units
_NumericsShims.h
in Sources/_NumericsShims/include
278 85
Complex+Differentiable.swift
in Sources/ComplexModule
77 3
DoubleWidth.swift
in Sources/_TestSupport
544 2
DivideWithRounding.swift
in Sources/IntegerUtilities
140 1
Interval.swift
in Sources/_TestSupport
29 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