microsoft / azure-pipelines-task-lib
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 29 files with 6,902 lines of code.
    • 1 very long files (1,210 lines of code)
    • 5 long files (3,055 lines of code)
    • 3 medium size files (900 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,253 lines of code)
    • 11 very small files (484 lines of code)
17% | 44% | 13% | 18% | 7%
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
ts44% | 50% | 0% | 0% | 5%
ps10% | 53% | 21% | 22% | 2%
cs0% | 0% | 93% | 0% | 6%
js0% | 0% | 0% | 76% | 23%
psm10% | 0% | 0% | 100% | 0%
yml0% | 0% | 0% | 0% | 100%
psd10% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
node39% | 45% | 0% | 8% | 6%
powershell/VstsTaskSdk0% | 53% | 21% | 21% | 2%
powershell/CompiledHelpers0% | 0% | 100% | 0% | 0%
powershell/Docs0% | 0% | 0% | 100% | 0%
powershell0% | 0% | 0% | 67% | 32%
ROOT0% | 0% | 0% | 0% | 100%
powershell/CompiledHelpers/Properties0% | 0% | 0% | 0% | 100%
Longest Files (Top 29)
File# lines# units
task.ts
in node
1210 72
toolrunner.ts
in node
729 33
internal.ts
in node
639 34
FindFunctions.ps1
in powershell/VstsTaskSdk
609 -
ServerOMFunctions.ps1
in powershell/VstsTaskSdk
552 -
LoggingCommandFunctions.ps1
in powershell/VstsTaskSdk
526 -
InputFunctions.ps1
in powershell/VstsTaskSdk
421 -
LegacyFindFunctions.ps1
in powershell/VstsTaskSdk
267 -
VstsTaskSdk.cs
in powershell/CompiledHelpers
212 8
LongPathFunctions.ps1
in powershell/VstsTaskSdk
185 -
Update-Docs.ps1
in powershell/Docs
177 -
VstsTaskSdk.psm1
in powershell/VstsTaskSdk
157 -
make-util.js
in powershell
137 10
generate-third-party-notice.js
in node
125 8
TraceFunctions.ps1
in powershell/VstsTaskSdk
124 -
buildutils.js
in node
123 5
LocalizationFunctions.ps1
in powershell/VstsTaskSdk
122 -
ToolFunctions.ps1
in powershell/VstsTaskSdk
103 -
taskcommand.ts
in node
88 7
azure-pipelines.yml
in root
86 -
OutFunctions.ps1
in powershell/VstsTaskSdk
71 -
make.js
in powershell
66 4
vault.ts
in node
62 6
make.js
in node
53 5
VstsTaskSdk.psd1
in powershell/VstsTaskSdk
22 -
open-pullrequest.ps1
in root
19 -
AssemblyInfo.cs
in powershell/CompiledHelpers/Properties
15 -
index.html
in root
1 -
index.ts
in node
1 -
Files With Most Units (Top 11)
File# lines# units
task.ts
in node
1210 72
internal.ts
in node
639 34
toolrunner.ts
in node
729 33
make-util.js
in powershell
137 10
generate-third-party-notice.js
in node
125 8
VstsTaskSdk.cs
in powershell/CompiledHelpers
212 8
taskcommand.ts
in node
88 7
vault.ts
in node
62 6
buildutils.js
in node
123 5
make.js
in node
53 5
make.js
in powershell
66 4
Files With Long Lines (Top 20)

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

File# lines# units# long lines
ServerOMFunctions.ps1
in powershell/VstsTaskSdk
552 - 53
task.ts
in node
1210 72 13
VstsTaskSdk.cs
in powershell/CompiledHelpers
212 8 9
toolrunner.ts
in node
729 33 7
LocalizationFunctions.ps1
in powershell/VstsTaskSdk
122 - 7
internal.ts
in node
639 34 6
FindFunctions.ps1
in powershell/VstsTaskSdk
609 - 6
LegacyFindFunctions.ps1
in powershell/VstsTaskSdk
267 - 5
VstsTaskSdk.psm1
in powershell/VstsTaskSdk
157 - 5
Update-Docs.ps1
in powershell/Docs
177 - 4
InputFunctions.ps1
in powershell/VstsTaskSdk
421 - 4
VstsTaskSdk.psd1
in powershell/VstsTaskSdk
22 - 4
make.js
in powershell
66 4 4
TraceFunctions.ps1
in powershell/VstsTaskSdk
124 - 3
buildutils.js
in node
123 5 2
open-pullrequest.ps1
in root
19 - 2
LongPathFunctions.ps1
in powershell/VstsTaskSdk
185 - 2
OutFunctions.ps1
in powershell/VstsTaskSdk
71 - 2
ToolFunctions.ps1
in powershell/VstsTaskSdk
103 - 2
azure-pipelines.yml
in root
86 - 1