microsoft / vscode-react-native
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 160 files with 18,556 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (2,014 lines of code)
    • 25 medium size files (7,496 lines of codeclsfd_ftr_w_mp_ins)
    • 32 small files (4,805 lines of code)
    • 100 very small files (4,241 lines of code)
0% | 10% | 40% | 25% | 22%
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
ts0% | 11% | 39% | 26% | 22%
js0% | 0% | 71% | 0% | 28%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/extension0% | 45% | 19% | 17% | 17%
src/extension/networkInspector0% | 31% | 44% | 0% | 24%
src/extension/ios0% | 0% | 80% | 7% | 11%
src/common0% | 0% | 35% | 37% | 26%
src/extension/debuggingConfiguration0% | 0% | 54% | 20% | 25%
src/debugger0% | 0% | 45% | 44% | 10%
src/extension/android0% | 0% | 50% | 32% | 17%
src/extension/services0% | 0% | 35% | 7% | 56%
ROOT0% | 0% | 100% | 0% | 0%
src/extension/exponent0% | 0% | 58% | 41% | 0%
src/common/error0% | 0% | 64% | 17% | 17%
src/debugger/direct0% | 0% | 80% | 0% | 19%
src/common/node0% | 0% | 0% | 81% | 18%
src/cdp-proxy0% | 0% | 0% | 100% | 0%
src/extension/macos0% | 0% | 0% | 62% | 37%
src/extension/log0% | 0% | 0% | 61% | 38%
src/extension/windows0% | 0% | 0% | 100% | 0%
src/cdp-proxy/CDPMessageHandlers0% | 0% | 0% | 38% | 61%
SampleApplication0% | 0% | 0% | 0% | 100%
tools0% | 0% | 0% | 0% | 100%
js-patched0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
commandPaletteHandler.ts
in src/extension
755 33
rn-extension.ts
in src/extension
714 19
certificateProvider.ts
in src/extension/networkInspector
545 24
gulpfile.js
in root
475 5
packager.ts
in src/common
451 23
appWorker.ts
in src/debugger
415 23
appLauncher.ts
in src/extension
409 26
exponentHelper.ts
in src/extension/exponent
402 30
iOSPlatform.ts
in src/extension/ios
375 14
errorStrings.ts
in src/common/error
374 -
tipsNotificationService.ts
in src/extension/services/tipsNotificationsService
354 18
androidPlatform.ts
in src/extension/android
338 17
networkInspectorServer.ts
in src/extension/networkInspector
338 10
plistBuddy.ts
in src/extension/ios
283 15
debugConfigTypesAndConstants.ts
in src/extension/debuggingConfiguration
265 3
adb.ts
in src/extension/android
257 24
telemetryHelper.ts
in src/common
255 16
rnDebugSession.ts
in src/debugger
250 9
multiStepInput.ts
in src/extension/debuggingConfiguration
250 3
directDebugSession.ts
in src/debugger/direct
246 7
iOSTargetManager.ts
in src/extension/ios
242 11
reactNativeDebugConfigProvider.ts
in src/extension/debuggingConfiguration
241 27
projectVersionHelper.ts
in src/common
224 10
generalPlatform.ts
in src/extension
219 14
clientDevice.ts
in src/extension/networkInspector
215 11
inspectorConsoleView.ts
in src/extension/networkInspector/views
210 12
iOSContainerUtility.ts
in src/extension/ios
206 11
surveyService.ts
in src/extension/services/surveyService
202 15
packageLoader.ts
in src/common
199 14
debugSessionBase.ts
in src/debugger
198 7
configurationProviderHelper.ts
in src/common
194 18
androidTargetManager.ts
in src/extension/android
192 8
androidContainerUtility.ts
in src/extension/android
189 13
commandExecutor.ts
in src/common
187 11
promise.ts
in src/common/node
185 13
macOSPlatform.ts
in src/extension/macos
178 9
reactNativeCDPProxy.ts
in src/cdp-proxy
176 14
settingsHelper.ts
in src/extension
168 13
exponentPlatform.ts
in src/extension/exponent
165 7
forkedAppWorker.ts
in src/debugger
163 6
childProcess.ts
in src/common/node
160 6
scriptImporter.ts
in src/debugger
158 6
OutputChannelLogger.ts
in src/extension/log
158 16
reactNativeDebugDynamicConfigProvider.ts
in src/extension/debuggingConfiguration
154 4
hostPlatform.ts
in src/common
150 26
telemetry.ts
in src/common
146 12
packagerStatusIndicator.ts
in src/extension
140 5
rnProjectObserver.ts
in src/extension
140 17
fileSystem.ts
in src/common/node
135 19
debuggerEndpointHelper.ts
in src/cdp-proxy
134 8
Files With Most Units (Top 20)
File# lines# units
commandPaletteHandler.ts
in src/extension
755 33
exponentHelper.ts
in src/extension/exponent
402 30
reactNativeDebugConfigProvider.ts
in src/extension/debuggingConfiguration
241 27
hostPlatform.ts
in src/common
150 26
appLauncher.ts
in src/extension
409 26
adb.ts
in src/extension/android
257 24
certificateProvider.ts
in src/extension/networkInspector
545 24
packager.ts
in src/common
451 23
appWorker.ts
in src/debugger
415 23
fileSystem.ts
in src/common/node
135 19
xdlInterface.ts
in src/extension/exponent
116 19
rn-extension.ts
in src/extension
714 19
configurationProviderHelper.ts
in src/common
194 18
tipsNotificationService.ts
in src/extension/services/tipsNotificationsService
354 18
androidPlatform.ts
in src/extension/android
338 17
rnProjectObserver.ts
in src/extension
140 17
telemetryHelper.ts
in src/common
255 16
OutputChannelLogger.ts
in src/extension/log
158 16
plistBuddy.ts
in src/extension/ios
283 15
surveyService.ts
in src/extension/services/surveyService
202 15
Files With Long Lines (Top 20)

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

File# lines# units# long lines
errorStrings.ts
in src/common/error
374 - 13
tipsStorage.ts
in src/extension/services/tipsNotificationsService
68 7 8
appWorker.ts
in src/debugger
415 23 4
androidContainerUtility.ts
in src/extension/android
189 13 3
exponentHelper.ts
in src/extension/exponent
402 30 3
packager.ts
in src/common
451 23 2
scriptImporter.ts
in src/debugger
158 6 2
androidPlatform.ts
in src/extension/android
338 17 2
commandPaletteHandler.ts
in src/extension
755 33 2
exponentPlatform.ts
in src/extension/exponent
165 7 2
iOSContainerUtility.ts
in src/extension/ios
206 11 2
iOSPlatform.ts
in src/extension/ios
375 14 2
rn-extension.ts
in src/extension
714 19 2
gulp-extras.js
in tools
71 5 2
packageLoader.ts
in src/common
199 14 1
androidTargetManager.ts
in src/extension/android
192 8 1
iOSTargetManager.ts
in src/extension/ios
242 11 1
simulatorPlist.ts
in src/extension/ios
84 1 1
certificateProvider.ts
in src/extension/networkInspector
545 24 1
qrCodeContentProvider.ts
in src/extension
34 1 1