microsoft / vscode-azure-iot-edge
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 47 files with 14,417 lines of code.
    • 1 very long files (8,669 lines of code)
    • 3 long files (2,241 lines of code)
    • 4 medium size files (1,143 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,583 lines of code)
    • 27 very small files (781 lines of code)
60% | 15% | 7% | 10% | 5%
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
js97% | 0% | 0% | 2% | <1%
ts0% | 38% | 20% | 27% | 13%
css0% | 67% | 32% | 0% | 0%
html0% | 0% | 0% | 57% | 42%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
assets/views91% | 5% | 0% | 1% | <1%
src/edge0% | 71% | 27% | 0% | 1%
src/common0% | 48% | 17% | 14% | 19%
assets/marketplace0% | 0% | 54% | 45% | 0%
src0% | 0% | 100% | 0% | 0%
src/container0% | 0% | 0% | 93% | 6%
src/intelliSense0% | 0% | 0% | 43% | 56%
src/gallery0% | 0% | 0% | 100% | 0%
src/marketplace0% | 0% | 0% | 61% | 38%
vsts_ci0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 47)
File# lines# units
vue.js
in assets/views
8669 526
edgeManager.ts
in src/edge
948 33
utility.ts
in src/common
746 58
gallery.css
in assets/views
547 -
simulator.ts
in src/edge
371 27
main.css
in assets/marketplace
261 -
constants.ts
in src/common
261 4
extension.ts
in src
250 6
streamAnalyticsManager.ts
in src/container
188 12
acrManager.ts
in src/container
172 11
containerManager.ts
in src/container
159 9
gallery.js
in assets/views
135 9
amlManager.ts
in src/container
135 9
configCompletionItemProvider.ts
in src/intelliSense
133 6
version.ts
in src/common
123 21
main.js
in assets/marketplace
117 7
gallery.ts
in src/gallery
108 5
executor.ts
in src/common
106 10
localserver.ts
in src/marketplace
105 9
index.html
in assets/marketplace
102 -
azure-pipelines.yml
in vsts_ci
80 -
gallery.html
in assets/views
76 -
configDiagnosticProvider.ts
in src/intelliSense
74 3
nsat.ts
in src/common
71 4
marketplace.ts
in src/marketplace
65 4
platform.ts
in src/common
42 5
intelliSenseUtility.ts
in src/intelliSense
36 3
ASAModuleUpdateCodeLensProvider.ts
in src/intelliSense
34 2
telemetryClient.ts
in src/common
33 1
ErrorData.ts
in src/common
27 1
configuration.ts
in src/common
26 5
moduleInfo.ts
in src/common
25 -
retryPolicy.ts
in src/common
23 2
vsix-package.yml
in vsts_ci
18 -
acrRegistryQuickPickItem.ts
in src/container/models
16 -
streamAnalyticsPickItem.ts
in src/container/models
16 -
InstallResult.ts
in src/edge
16 1
genAiKey.js
in scripts
15 -
amlWorkspaceQuickPickItem.ts
in src/container/models
15 -
configHoverProvider.ts
in src/intelliSense
14 1
configDefinitionProvider.ts
in src/intelliSense
13 1
buildSettings.ts
in src/common
10 1
CommandError.ts
in src/common
9 1
LearnMoreError.ts
in src/common
8 1
SimulatorInfo.ts
in src/common
8 1
ConfigNotSetError.ts
in src/common
6 1
UserCancelledError.ts
in src/common
5 1
Files With Most Units (Top 20)
File# lines# units
vue.js
in assets/views
8669 526
utility.ts
in src/common
746 58
edgeManager.ts
in src/edge
948 33
simulator.ts
in src/edge
371 27
version.ts
in src/common
123 21
streamAnalyticsManager.ts
in src/container
188 12
acrManager.ts
in src/container
172 11
executor.ts
in src/common
106 10
gallery.js
in assets/views
135 9
amlManager.ts
in src/container
135 9
containerManager.ts
in src/container
159 9
localserver.ts
in src/marketplace
105 9
main.js
in assets/marketplace
117 7
extension.ts
in src
250 6
configCompletionItemProvider.ts
in src/intelliSense
133 6
configuration.ts
in src/common
26 5
platform.ts
in src/common
42 5
gallery.ts
in src/gallery
108 5
constants.ts
in src/common
261 4
nsat.ts
in src/common
71 4
Files With Long Lines (Top 20)

There are 28 files with lines longer than 120 characters. In total, there are 235 long lines.

File# lines# units# long lines
edgeManager.ts
in src/edge
948 33 57
utility.ts
in src/common
746 58 23
simulator.ts
in src/edge
371 27 20
constants.ts
in src/common
261 4 17
extension.ts
in src
250 6 14
acrManager.ts
in src/container
172 11 13
vue.js
in assets/views
8669 526 11
streamAnalyticsManager.ts
in src/container
188 12 11
gallery.html
in assets/views
76 - 9
containerManager.ts
in src/container
159 9 9
configCompletionItemProvider.ts
in src/intelliSense
133 6 8
index.html
in assets/marketplace
102 - 5
amlManager.ts
in src/container
135 9 5
gallery.ts
in src/gallery
108 5 4
configDiagnosticProvider.ts
in src/intelliSense
74 3 4
localserver.ts
in src/marketplace
105 9 4
marketplace.ts
in src/marketplace
65 4 4
main.js
in assets/marketplace
117 7 2
nsat.ts
in src/common
71 4 2
retryPolicy.ts
in src/common
23 2 2