microsoft / vscode-cordova
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 49 files with 6,026 lines of code.
    • 1 very long files (1,255 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,552 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,787 lines of code)
    • 31 very small files (1,432 lines of code)
20% | 0% | 25% | 29% | 23%
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
ts22% | 0% | 20% | 31% | 25%
js0% | 0% | 100% | 0% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/debugger72% | 0% | 0% | 23% | 4%
src/utils0% | 0% | 43% | 25% | 30%
ROOT0% | 0% | 100% | 0% | 0%
src0% | 0% | 100% | 0% | 0%
src/debugger/cdp-proxy0% | 0% | 20% | 22% | 57%
src/extension0% | 0% | 0% | 64% | 35%
src/utils/android0% | 0% | 0% | 100% | 0%
src/common/node0% | 0% | 0% | 85% | 14%
src/utils/log0% | 0% | 0% | 0% | 100%
src/common0% | 0% | 0% | 0% | 100%
Longest Files (Top 49)
File# lines# units
cordovaDebugSession.ts
in src/debugger
1255 31
gulpfile.js
in root
417 6
cordovaProjectHelper.ts
in src/utils
379 26
cordova.ts
in src
309 16
telemetryHelper.ts
in src/utils
245 26
cordovaCDPProxy.ts
in src/debugger/cdp-proxy
202 16
telemetry.ts
in src/utils
197 18
debugConfigurationProvider.ts
in src/extension
190 13
adb.ts
in src/utils/android
171 17
cordovaIosDeviceLauncher.ts
in src/debugger
168 9
simulate.ts
in src/extension
165 7
cordovaCommandHelper.ts
in src/utils
163 9
androidTargetManager.ts
in src/utils/android
154 8
jsDebugConfigAdapter.ts
in src/debugger
128 6
childProcess.ts
in src/common/node
118 5
safariIonicCDPMessageHandler.ts
in src/debugger/cdp-proxy/CDPMessageHandlers/implementation
114 6
extension.ts
in src/debugger
111 5
debuggerEndpointHelper.ts
in src/debugger/cdp-proxy
108 7
safariCordovaCDPMessageHandler.ts
in src/debugger/cdp-proxy/CDPMessageHandlers/implementation
97 5
safariCDPMessageHandlerBase.ts
in src/debugger/cdp-proxy/CDPMessageHandlers/abstraction
96 6
nodeVersionHelper.ts
in src/utils
95 3
cordovaSessionManager.ts
in src/extension
78 7
sourcemapPathTransformer.ts
in src/debugger/cdp-proxy
76 5
chromeIonicCDPMessageHandler.ts
in src/debugger/cdp-proxy/CDPMessageHandlers/implementation
75 4
tsdHelper.ts
in src/utils
75 3
outputChannelLogger.ts
in src/utils/log
74 13
CDPMessageHandlerBase.ts
in src/debugger/cdp-proxy/CDPMessageHandlers/abstraction
72 2
extensionHelper.ts
in src/utils
70 6
chromeCordovaCDPMessageHandler.ts
in src/debugger/cdp-proxy/CDPMessageHandlers/implementation
60 3
cordovaWorkspaceManager.ts
in src/extension
60 9
launchScenariosManager.ts
in src/utils
59 6
mobileTargetManager.ts
in src/utils
49 3
requestArgs.ts
in src/debugger
48 -
CDPMessageHandlerCreator.ts
in src/debugger/cdp-proxy/CDPMessageHandlers
43 2
mobileTarget.ts
in src/utils
42 8
chromeCDPMessageHandlerBase.ts
in src/debugger/cdp-proxy/CDPMessageHandlers/abstraction
41 3
completionProviders.ts
in src/extension
37 2
debugSessionWrapper.ts
in src/debugger
29 5
logHelper.ts
in src/utils/log
25 4
projectsStorage.ts
in src/extension
21 3
promise.ts
in src/common/node
20 4
cordovaSimulateTelemetry.ts
in src/utils
17 1
settingsHelper.ts
in src/utils
16 1
configurationReader.ts
in src/common
15 2
CDPAPINames.ts
in src/debugger/cdp-proxy/CDPMessageHandlers
13 -
customRequire.ts
in src/common
9 -
hash.ts
in src/utils
9 1
simulateHelper.ts
in src/utils
6 1
simulationInfo.ts
in src/common
5 -
Files With Most Units (Top 20)
File# lines# units
cordovaDebugSession.ts
in src/debugger
1255 31
cordovaProjectHelper.ts
in src/utils
379 26
telemetryHelper.ts
in src/utils
245 26
telemetry.ts
in src/utils
197 18
adb.ts
in src/utils/android
171 17
cordova.ts
in src
309 16
cordovaCDPProxy.ts
in src/debugger/cdp-proxy
202 16
debugConfigurationProvider.ts
in src/extension
190 13
outputChannelLogger.ts
in src/utils/log
74 13
cordovaIosDeviceLauncher.ts
in src/debugger
168 9
cordovaWorkspaceManager.ts
in src/extension
60 9
cordovaCommandHelper.ts
in src/utils
163 9
androidTargetManager.ts
in src/utils/android
154 8
mobileTarget.ts
in src/utils
42 8
debuggerEndpointHelper.ts
in src/debugger/cdp-proxy
108 7
cordovaSessionManager.ts
in src/extension
78 7
simulate.ts
in src/extension
165 7
gulpfile.js
in root
417 6
safariCDPMessageHandlerBase.ts
in src/debugger/cdp-proxy/CDPMessageHandlers/abstraction
96 6
safariIonicCDPMessageHandler.ts
in src/debugger/cdp-proxy/CDPMessageHandlers/implementation
114 6
Files With Long Lines (Top 20)

There are 25 files with lines longer than 120 characters. In total, there are 200 long lines.

File# lines# units# long lines
cordovaDebugSession.ts
in src/debugger
1255 31 65
cordova.ts
in src
309 16 25
cordovaIosDeviceLauncher.ts
in src/debugger
168 9 11
telemetry.ts
in src/utils
197 18 11
cordovaProjectHelper.ts
in src/utils
379 26 10
telemetryHelper.ts
in src/utils
245 26 10
simulate.ts
in src/extension
165 7 9
cordovaCDPProxy.ts
in src/debugger/cdp-proxy
202 16 8
jsDebugConfigAdapter.ts
in src/debugger
128 6 8
cordovaCommandHelper.ts
in src/utils
163 9 8
debugConfigurationProvider.ts
in src/extension
190 13 7
nodeVersionHelper.ts
in src/utils
95 3 7
extension.ts
in src/debugger
111 5 3
cordovaWorkspaceManager.ts
in src/extension
60 9 3
cordovaSessionManager.ts
in src/extension
78 7 2
extensionHelper.ts
in src/utils
70 6 2
outputChannelLogger.ts
in src/utils/log
74 13 2
tsdHelper.ts
in src/utils
75 3 2
CDPMessageHandlerCreator.ts
in src/debugger/cdp-proxy/CDPMessageHandlers
43 2 1
chromeIonicCDPMessageHandler.ts
in src/debugger/cdp-proxy/CDPMessageHandlers/implementation
75 4 1