microsoft / appcenter-sdk-apple
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 647 files with 46,612 lines of code.
    • 3 very long files (4,829 lines of code)
    • 14 long files (10,188 lines of code)
    • 31 medium size files (9,013 lines of codeclsfd_ftr_w_mp_ins)
    • 59 small files (8,508 lines of code)
    • 540 very small files (14,074 lines of code)
10% | 21% | 19% | 18% | 30%
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
m15% | 22% | 19% | 20% | 23%
mm0% | 74% | 15% | 8% | 2%
swift0% | 9% | 31% | 23% | 35%
ps10% | 0% | 100% | 0% | 0%
h0% | 0% | 0% | 4% | 95%
s0% | 0% | 0% | 37% | 62%
S0% | 0% | 0% | 0% | 100%
hpp0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
AppCenterDistribute40% | 17% | 4% | 17% | 20%
AppCenter7% | 20% | 27% | 12% | 31%
AppCenterAnalytics20% | 27% | 7% | 27% | 16%
AppCenterCrashes0% | 45% | 3% | 20% | 29%
SasquatchMac0% | 24% | 19% | 40% | 15%
Sasquatch0% | 0% | 50% | 12% | 36%
Localization0% | 0% | 100% | 0% | 0%
SasquatchTV0% | 0% | 0% | 40% | 59%
CrashLib0% | 0% | 0% | 9% | 90%
ROOT0% | 0% | 0% | 0% | 100%
Scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
MSACDistributeTests.m
in AppCenterDistribute/AppCenterDistributeTests
2229 -
MSACChannelUnitDefaultTests.m
in AppCenter/AppCenterTests
1450 -
MSACAnalyticsTests.m
in AppCenterAnalytics/AppCenterAnalyticsTests
1150 -
MSACCrashesTests.mm
in AppCenterCrashes/AppCenterCrashesTests
996 -
MSACAnalyticsTransmissionTargetTests.m
in AppCenterAnalytics/AppCenterAnalyticsTests
965 -
MSACDistribute.m
in AppCenterDistribute/AppCenterDistribute
960 -
MSACCrashes.mm
in AppCenterCrashes/AppCenterCrashes
940 3
MSACLogDBStorageTests.m
in AppCenter/AppCenterTests
875 -
MSACUtilityTests.m
in AppCenter/AppCenterTests
747 -
MSACErrorLogFormatterTests.mm
in AppCenterCrashes/AppCenterCrashesTests
623 -
MSACAppCenterTests.m
in AppCenter/AppCenterTests
616 -
MSACHttpClientTests.m
in AppCenter/AppCenterTests
613 -
MSACErrorLogFormatter.m
in AppCenterCrashes/AppCenterCrashes/Internals/Util
590 1
TransmissionViewController.swift
in SasquatchMac/SasquatchMac/ViewControllers
580 15
MSACAppCenter.m
in AppCenter/AppCenter
567 -
MSACAppDelegateForwarderTests.m
in AppCenter/AppCenterTests
566 -
MSACEventLogTests.m
in AppCenterAnalytics/AppCenterAnalyticsTests
550 -
MSACDBStorageTests.m
in AppCenter/AppCenterTests
480 -
MSACDBStorage.m
in AppCenter/AppCenter/Internals/Storage
444 -
MSACCSExtensionsTests.m
in AppCenter/AppCenterTests
441 -
MSACAnalytics.m
in AppCenterAnalytics/AppCenterAnalytics
430 -
MSACChannelUnitDefault.m
in AppCenter/AppCenter/Internals/Channel
422 -
MSACOneCollectorChannelDelegateTests.m
in AppCenter/AppCenterTests
400 -
AppDelegate.m
in Sasquatch/SasquatchObjC
352 -
MSACDeviceTrackerTests.m
in AppCenter/AppCenterTests
339 -
MSACEncrypterTests.m
in AppCenter/AppCenterTests
326 -
MSACDeviceTracker.m
in AppCenter/AppCenter/Internals/Context/Device
320 -
MSACLogDBStorage.m
in AppCenter/AppCenter/Internals/Storage
284 -
MSCrashesViewController.swift
in Sasquatch/Sasquatch/ViewControllers
278 2
AppCenterDelegateObjC.mm
in Sasquatch/SasquatchObjC
270 -
MSMainViewController.swift
in Sasquatch/Sasquatch/ViewControllers
269 5
MSACChannelGroupDefaultTests.m
in AppCenter/AppCenterTests
267 -
MSACWrapperCrashesHelperTests.mm
in AppCenterCrashes/AppCenterCrashesTests
265 -
AppCenterDelegateSwift.swift
in Sasquatch/SasquatchSwift
254 67
MSACOneCollectorIngestionTests.m
in AppCenter/AppCenterTests
248 -
MSACEncrypter.m
in AppCenter/AppCenter/Internals/Util
247 -
MSTransmissionTargetsViewController.swift
in Sasquatch/Sasquatch/ViewControllers
245 7
MSAnalyticsViewController.swift
in Sasquatch/Sasquatch/ViewControllers
241 4
MSACModelTestsUtililty.m
in AppCenter/AppCenterTests
234 -
AppCenterViewController.swift
in SasquatchMac/SasquatchMac/ViewControllers
232 4
MSACDistributeCheckForUpdateTests.m
in AppCenterDistribute/AppCenterDistributeTests
229 -
AnalyticsViewController.swift
in SasquatchMac/SasquatchMac/ViewControllers
228 3
MSACHttpClient.m
in AppCenter/AppCenter/Internals/HttpClient
223 -
AppDelegate.swift
in Sasquatch/SasquatchSwift
221 19
MSACChannelGroupDefault.m
in AppCenter/AppCenter/Internals/Channel
207 -
MSACDelegateForwarder.m
in AppCenter/AppCenter/Internals/DelegateForwarder
207 -
MSACCommonSchemaLogTests.m
in AppCenter/AppCenterTests
205 -
TouchDownCheckinScript.ps1
in Localization
205 -
MSACReleaseDetails.m
in AppCenterDistribute/AppCenterDistribute/Model
198 -
MSACSessionTrackerTests.m
in AppCenterAnalytics/AppCenterAnalyticsTests
195 -
Files With Most Units (Top 20)
File# lines# units
AppCenterDelegateSwift.swift
in Sasquatch/SasquatchSwift
254 67
AppCenterDelegateSwift.swift
in SasquatchMac/SasquatchMacSwift
170 55
AppCenterDelegateSwift.swift
in SasquatchTV/SasquatchTVSwift
130 38
AppDelegate.swift
in Sasquatch/SasquatchSwift
221 19
TransmissionViewController.swift
in SasquatchMac/SasquatchMac/ViewControllers
580 15
PropertiesTableSection.swift
in Sasquatch/Sasquatch/ViewControllers/Sections
74 14
AppDelegate.swift
in SasquatchMac/SasquatchMacSwift
151 11
AppDelegate.swift
in SasquatchTV/SasquatchTVSwift
72 11
MSEnumPicker.swift
in Sasquatch/Sasquatch/ViewControllers
83 10
MSSignInViewController.swift
in Sasquatch/Sasquatch/ViewControllers
91 8
AuthenticationViewController.swift
in SasquatchMac/SasquatchMac/ViewControllers
148 8
MSTransmissionTargetsViewController.swift
in Sasquatch/Sasquatch/ViewControllers
245 7
MSACApplicationForwarder.m
in AppCenterCrashes/AppCenterCrashes/Internals/Util
74 6
MSMainViewController.swift
in Sasquatch/Sasquatch/ViewControllers
269 5
AnalyticsUITests.swift
in Sasquatch/SasquatchUITests
156 5
CrashesViewController.swift
in SasquatchMac/SasquatchMac/ViewControllers
145 5
MSACConstants.h
in AppCenter/AppCenter
106 4
MSACConstants.h
in AppCenter/AppCenter/include
106 4
MSACCrashesCXXExceptionTests.mm
in AppCenterCrashes/AppCenterCrashesTests
112 4
MSTransmissionTargets.swift
in Sasquatch/Sasquatch
39 4
Files With Long Lines (Top 20)

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

File# lines# units# long lines
MSACDistributeTests.m
in AppCenterDistribute/AppCenterDistributeTests
2229 - 106
MSACDistribute.m
in AppCenterDistribute/AppCenterDistribute
960 - 56
MSACLogDBStorageTests.m
in AppCenter/AppCenterTests
875 - 54
MSACAnalyticsTests.m
in AppCenterAnalytics/AppCenterAnalyticsTests
1150 - 51
MSACAnalyticsTransmissionTargetTests.m
in AppCenterAnalytics/AppCenterAnalyticsTests
965 - 37
MSACCrashes.mm
in AppCenterCrashes/AppCenterCrashes
940 3 35
MSACAppDelegateForwarderTests.m
in AppCenter/AppCenterTests
566 - 34
MSACCrashesTests.mm
in AppCenterCrashes/AppCenterCrashesTests
996 - 33
MSACUtilityTests.m
in AppCenter/AppCenterTests
747 - 27
MSACAppCenterTests.m
in AppCenter/AppCenterTests
616 - 25
MSACChannelUnitDefaultTests.m
in AppCenter/AppCenterTests
1450 - 25
MSACDBStorageTests.m
in AppCenter/AppCenterTests
480 - 25
MSACLogDBStorage.m
in AppCenter/AppCenter/Internals/Storage
284 - 24
MSACErrorLogFormatterTests.mm
in AppCenterCrashes/AppCenterCrashesTests
623 - 24
MSACAnalytics.m
in AppCenterAnalytics/AppCenterAnalytics
430 - 22
MSACDBStorage.m
in AppCenter/AppCenter/Internals/Storage
444 - 21
AppDelegate.m
in Sasquatch/SasquatchObjC
352 - 21
MSACLogger.h
in AppCenter/AppCenter
44 - 19
MSACLogger.h
in AppCenter/AppCenter/include
44 - 19
MSACAppCenter.m
in AppCenter/AppCenter
567 - 18