BoltsFramework / Bolts-ObjC
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 45 files with 3,782 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,485 lines of code)
    • 3 medium size files (836 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (710 lines of code)
    • 35 very small files (751 lines of code)
0% | 39% | 22% | 18% | 19%
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
m0% | 42% | 23% | 20% | 13%
h0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
BoltsTests0% | 86% | 0% | 6% | 7%
Bolts/iOS0% | 0% | 39% | 41% | 19%
Bolts/Common0% | 0% | 44% | 12% | 42%
BoltsTestUI0% | 0% | 0% | 0% | 100%
Bolts/iOS/Internal0% | 0% | 0% | 0% | 100%
Longest Files (Top 45)
File# lines# units
AppLinkTests.m
in BoltsTests
872 -
TaskTests.m
in BoltsTests
613 -
BFTask.m
in Bolts/Common
367 -
240 -
229 -
200 -
181 -
CancellationTests.m
in BoltsTests
118 -
BFURL.m
in Bolts/iOS
110 -
BFCancellationToken.m
in Bolts/Common
101 -
BFExecutor.m
in Bolts/Common
85 -
64 -
ExecutorTests.m
in BoltsTests
57 -
50 -
49 -
BFTask.h
in Bolts/Common
47 -
BFAppLink.m
in Bolts/iOS
42 -
39 -
35 -
29 1
24 -
23 1
Bolts.h
in Bolts/Common
21 -
BFAppLinkTarget.m
in Bolts/iOS
17 -
BFAppLink_Internal.h
in Bolts/iOS/Internal
16 -
14 -
BFURL.h
in Bolts/iOS
13 -
12 -
BFExecutor.h
in Bolts/Common
12 -
AppDelegate.m
in BoltsTestUI
10 -
BFAppLink.h
in Bolts/iOS
10 -
10 -
BFAppLinkTarget.h
in Bolts/iOS
9 -
BFCancellationToken.h
in Bolts/Common
9 -
main.m
in BoltsTestUI
8 1
test.html
in BoltsTestUI
6 -
6 -
5 -
5 -
AppDelegate.h
in BoltsTestUI
4 -
BFMeasurementEvent_Internal.h
in Bolts/iOS/Internal
4 -
4 -
BFURL_Internal.h
in Bolts/iOS/Internal
4 -
Bolts.m
in Bolts/Common
4 -
BFGeneric.h
in Bolts/Common
4 -
Files With Most Units (Top 3)
File# lines# units
main.m
in BoltsTestUI
8 1
23 1
29 1
Files With Long Lines (Top 11)

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

File# lines# units# long lines
240 - 12
AppLinkTests.m
in BoltsTests
872 - 8
BFURL.m
in Bolts/iOS
110 - 4
BFTask.m
in Bolts/Common
367 - 3
TaskTests.m
in BoltsTests
613 - 3
64 - 3
229 - 2
200 - 2
ExecutorTests.m
in BoltsTests
57 - 2
BFTask.h
in Bolts/Common
47 - 1
BFCancellationToken.m
in Bolts/Common
101 - 1
Correlations

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

Bolts/iOS/BFWebViewAppLinkResolver.h x: 6 commits (all time) y: 5 lines of code Bolts/iOS/BFWebViewAppLinkResolver.m x: 16 commits (all time) y: 240 lines of code Bolts/iOS/BFAppLinkReturnToRefererController.m x: 13 commits (all time) y: 181 lines of code Bolts/Common/Bolts.m x: 15 commits (all time) y: 4 lines of code BoltsTests/AppLinkTests.m x: 35 commits (all time) y: 872 lines of code Bolts/Common/BFTask.m x: 75 commits (all time) y: 367 lines of code Bolts/Common/BFCancellationToken.h x: 7 commits (all time) y: 9 lines of code Bolts/Common/BFExecutor.h x: 5 commits (all time) y: 12 lines of code Bolts/Common/BFExecutor.m x: 17 commits (all time) y: 85 lines of code Bolts/Common/BFTask.h x: 44 commits (all time) y: 47 lines of code Bolts/iOS/BFAppLinkNavigation.h x: 6 commits (all time) y: 29 lines of code Bolts/iOS/BFAppLinkResolving.h x: 4 commits (all time) y: 5 lines of code Bolts/iOS/BFAppLinkReturnToRefererController.h x: 10 commits (all time) y: 24 lines of code Bolts/Common/BFTaskCompletionSource.h x: 17 commits (all time) y: 14 lines of code Bolts/Common/BFTaskCompletionSource.m x: 14 commits (all time) y: 49 lines of code Bolts/Common/Bolts.h x: 30 commits (all time) y: 21 lines of code BoltsTests/TaskTests.m x: 41 commits (all time) y: 613 lines of code Bolts/Common/BFGeneric.h x: 1 commits (all time) y: 4 lines of code Bolts/iOS/BFURL.m x: 14 commits (all time) y: 110 lines of code BoltsTests/ExecutorTests.m x: 8 commits (all time) y: 57 lines of code Bolts/iOS/Internal/BFAppLink_Internal.h x: 1 commits (all time) y: 16 lines of code Bolts/iOS/BFAppLinkNavigation.m x: 17 commits (all time) y: 229 lines of code Bolts/iOS/BFAppLinkReturnToRefererView.m x: 15 commits (all time) y: 200 lines of code Bolts/Common/BFCancellationToken.m x: 16 commits (all time) y: 101 lines of code Bolts/Common/BFCancellationTokenRegistration.m x: 8 commits (all time) y: 50 lines of code Bolts/Common/BFCancellationTokenSource.m x: 6 commits (all time) y: 35 lines of code BoltsTests/CancellationTests.m x: 12 commits (all time) y: 118 lines of code Bolts/Common/BFCancellationTokenSource.h x: 6 commits (all time) y: 12 lines of code BoltsTests/AppLinkReturnToRefererViewTests.m x: 11 commits (all time) y: 64 lines of code Bolts/iOS/BFAppLink.h x: 4 commits (all time) y: 10 lines of code Bolts/iOS/BFAppLink.m x: 8 commits (all time) y: 42 lines of code Bolts/iOS/BFMeasurementEvent.m x: 6 commits (all time) y: 39 lines of code Bolts/iOS/BFURL.h x: 9 commits (all time) y: 13 lines of code Bolts/iOS/BFAppLinkTarget.h x: 2 commits (all time) y: 9 lines of code Bolts/iOS/BFAppLinkTarget.m x: 2 commits (all time) y: 17 lines of code BoltsTestUI/test.html x: 3 commits (all time) y: 6 lines of code
872.0
lines of code
  min: 4.0
  average: 84.04
  25th percentile: 8.5
  median: 21.0
  75th percentile: 74.5
  max: 872.0
0 75.0
commits (all time)
min: 1.0 | average: 11.96 | 25th percentile: 4.0 | median: 8.0 | 75th percentile: 15.0 | max: 75.0

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

Bolts/iOS/BFWebViewAppLinkResolver.h x: 4 contributors (all time) y: 5 lines of code Bolts/iOS/BFWebViewAppLinkResolver.m x: 5 contributors (all time) y: 240 lines of code Bolts/iOS/BFAppLinkReturnToRefererController.m x: 6 contributors (all time) y: 181 lines of code Bolts/Common/Bolts.m x: 2 contributors (all time) y: 4 lines of code BoltsTests/AppLinkTests.m x: 7 contributors (all time) y: 872 lines of code Bolts/Common/BFTask.m x: 13 contributors (all time) y: 367 lines of code Bolts/Common/BFCancellationToken.h x: 5 contributors (all time) y: 9 lines of code Bolts/Common/BFExecutor.h x: 4 contributors (all time) y: 12 lines of code Bolts/Common/BFExecutor.m x: 6 contributors (all time) y: 85 lines of code Bolts/Common/BFTask.h x: 7 contributors (all time) y: 47 lines of code Bolts/iOS/BFAppLinkNavigation.h x: 4 contributors (all time) y: 29 lines of code Bolts/iOS/BFAppLinkResolving.h x: 3 contributors (all time) y: 5 lines of code Bolts/iOS/BFAppLinkReturnToRefererController.h x: 5 contributors (all time) y: 24 lines of code Bolts/Common/BFTaskCompletionSource.h x: 3 contributors (all time) y: 14 lines of code Bolts/Common/BFTaskCompletionSource.m x: 2 contributors (all time) y: 49 lines of code Bolts/Common/Bolts.h x: 9 contributors (all time) y: 21 lines of code BoltsTests/TaskTests.m x: 9 contributors (all time) y: 613 lines of code Bolts/Common/BFGeneric.h x: 1 contributors (all time) y: 4 lines of code Bolts/iOS/BFURL.m x: 5 contributors (all time) y: 110 lines of code BoltsTests/ExecutorTests.m x: 2 contributors (all time) y: 57 lines of code Bolts/iOS/Internal/BFAppLink_Internal.h x: 1 contributors (all time) y: 16 lines of code Bolts/iOS/BFAppLinkNavigation.m x: 6 contributors (all time) y: 229 lines of code Bolts/iOS/BFAppLinkReturnToRefererView.m x: 6 contributors (all time) y: 200 lines of code Bolts/Common/BFCancellationToken.m x: 3 contributors (all time) y: 101 lines of code Bolts/Common/BFCancellationTokenRegistration.m x: 3 contributors (all time) y: 50 lines of code Bolts/Common/BFCancellationTokenSource.m x: 3 contributors (all time) y: 35 lines of code BoltsTests/CancellationTests.m x: 3 contributors (all time) y: 118 lines of code BoltsTests/AppLinkReturnToRefererViewTests.m x: 6 contributors (all time) y: 64 lines of code Bolts/iOS/BFAppLink.h x: 2 contributors (all time) y: 10 lines of code Bolts/iOS/BFAppLink.m x: 4 contributors (all time) y: 42 lines of code Bolts/iOS/BFMeasurementEvent.h x: 4 contributors (all time) y: 10 lines of code Bolts/iOS/BFMeasurementEvent.m x: 4 contributors (all time) y: 39 lines of code Bolts/iOS/BFAppLinkTarget.h x: 1 contributors (all time) y: 9 lines of code
872.0
lines of code
  min: 4.0
  average: 84.04
  25th percentile: 8.5
  median: 21.0
  75th percentile: 74.5
  max: 872.0
0 13.0
contributors (all time)
min: 1.0 | average: 3.84 | 25th percentile: 1.5 | median: 4.0 | 75th percentile: 5.0 | max: 13.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".