BoltsFramework / Bolts-Swift
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 9 files with 538 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 codeclsfd_ftr_w_mp_ins)
    • 2 small files (299 lines of code)
    • 7 very small files (239 lines of code)
0% | 0% | 0% | 55% | 44%
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% | 0% | 55% | 44%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Sources/BoltsSwift0% | 0% | 0% | 58% | 41%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 9)
File# lines# units
Task.swift
in Sources/BoltsSwift
185 4
Task+ContinueWith.swift
in Sources/BoltsSwift
114 -
Executor.swift
in Sources/BoltsSwift
83 -
Task+WhenAll.swift
in Sources/BoltsSwift
52 -
TaskCompletionSource.swift
in Sources/BoltsSwift
37 1
25 -
Task+WhenAny.swift
in Sources/BoltsSwift
21 -
Task+Delay.swift
in Sources/BoltsSwift
11 -
Errors.swift
in Sources/BoltsSwift
10 1
Files With Most Units (Top 3)
File# lines# units
Task.swift
in Sources/BoltsSwift
185 4
TaskCompletionSource.swift
in Sources/BoltsSwift
37 1
Errors.swift
in Sources/BoltsSwift
10 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
Task+ContinueWith.swift
in Sources/BoltsSwift
114 - 6
Task.swift
in Sources/BoltsSwift
185 4 1
Correlations

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

Package.swift x: 2 commits (all time) y: 25 lines of code Sources/BoltsSwift/Task+WhenAny.swift x: 5 commits (all time) y: 21 lines of code Sources/BoltsSwift/Executor.swift x: 10 commits (all time) y: 83 lines of code Sources/BoltsSwift/Task+ContinueWith.swift x: 8 commits (all time) y: 114 lines of code Sources/BoltsSwift/Task+WhenAll.swift x: 6 commits (all time) y: 52 lines of code Sources/BoltsSwift/Task.swift x: 18 commits (all time) y: 185 lines of code Sources/BoltsSwift/TaskCompletionSource.swift x: 6 commits (all time) y: 37 lines of code Sources/BoltsSwift/Errors.swift x: 6 commits (all time) y: 10 lines of code Sources/BoltsSwift/Task+Delay.swift x: 4 commits (all time) y: 11 lines of code
185.0
lines of code
  min: 10.0
  average: 59.78
  25th percentile: 16.0
  median: 37.0
  75th percentile: 98.5
  max: 185.0
0 18.0
commits (all time)
min: 2.0 | average: 7.22 | 25th percentile: 4.5 | median: 6.0 | 75th percentile: 9.0 | max: 18.0

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

Package.swift x: 1 contributors (all time) y: 25 lines of code Sources/BoltsSwift/Task+WhenAny.swift x: 2 contributors (all time) y: 21 lines of code Sources/BoltsSwift/Executor.swift x: 2 contributors (all time) y: 83 lines of code Sources/BoltsSwift/Task+ContinueWith.swift x: 2 contributors (all time) y: 114 lines of code Sources/BoltsSwift/Task+WhenAll.swift x: 3 contributors (all time) y: 52 lines of code Sources/BoltsSwift/Task.swift x: 4 contributors (all time) y: 185 lines of code Sources/BoltsSwift/TaskCompletionSource.swift x: 2 contributors (all time) y: 37 lines of code Sources/BoltsSwift/Errors.swift x: 1 contributors (all time) y: 10 lines of code Sources/BoltsSwift/Task+Delay.swift x: 2 contributors (all time) y: 11 lines of code
185.0
lines of code
  min: 10.0
  average: 59.78
  25th percentile: 16.0
  median: 37.0
  75th percentile: 98.5
  max: 185.0
0 4.0
contributors (all time)
min: 1.0 | average: 2.11 | 25th percentile: 1.5 | median: 2.0 | 75th percentile: 2.5 | 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".