microsoft / DLWorkspace
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 442 files with 238,162 lines of code.
    • 12 very long files (195,391 lines of code)
    • 16 long files (12,446 lines of code)
    • 37 medium size files (10,571 lines of codeclsfd_ftr_w_mp_ins)
    • 61 small files (8,773 lines of code)
    • 316 very small files (10,981 lines of code)
82% | 5% | 4% | 3% | 4%
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
js99% | 0% | <1% | <1% | <1%
py30% | 29% | 18% | 11% | 9%
css92% | 0% | 0% | 4% | 2%
tsx25% | 0% | 19% | 21% | 33%
cs0% | 44% | 31% | 3% | 20%
cshtml0% | 53% | 23% | 12% | 10%
yaml0% | 0% | 17% | 30% | 52%
yml0% | 0% | 28% | 56% | 14%
ts0% | 0% | 0% | 40% | 59%
html0% | 0% | 0% | 91% | 8%
cpp0% | 0% | 0% | 0% | 100%
go0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
wsgi0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/WebUI96% | 1% | 1% | <1% | <1%
src/utils66% | 0% | 18% | 8% | 6%
src/ClusterBootstrap24% | 29% | 13% | 15% | 17%
src/dashboard21% | 0% | 18% | 21% | 38%
src/ClusterManager17% | 46% | 20% | 8% | 7%
src/docker-images0% | 34% | 35% | 16% | 12%
src/RestAPI0% | 97% | 0% | 0% | 2%
src/StorageManager0% | 0% | 30% | 48% | 21%
src/RepairManager0% | 0% | 0% | 44% | 55%
src/dev-utils0% | 0% | 0% | 69% | 30%
src/user-synchronizer0% | 0% | 0% | 58% | 41%
src/ARM0% | 0% | 0% | 100% | 0%
src/ClusterPortal0% | 0% | 0% | 0% | 100%
src/e2e-test0% | 0% | 0% | 0% | 100%
src/RepairManagerAgent0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
elasticsearch.js
in src/WebUI/dotnet/WebPortal/wwwroot/js/elasticsearch-js
60165 664
elasticsearch.jquery.js
in src/WebUI/dotnet/WebPortal/wwwroot/js/elasticsearch-js
60142 668
elasticsearch.angular.js
in src/WebUI/dotnet/WebPortal/wwwroot/js/elasticsearch-js
60141 665
deploy.py
in src/ClusterBootstrap
3161 167
layui.css
in src/WebUI/dotnet/WebPortal/wwwroot/css/layui
2988 -
JobRestAPIUtils.py
in src/utils
1362 62
MySQLDataHandler.py
in src/utils
1332 63
index.tsx
in src/dashboard/src/pages/JobsLegacy
1309 1
MySQLPoolDataHandler.py
in src/utils
1309 57
MySQLDBUtilsPoolDataHandler.py
in src/utils
1308 57
Training.tsx
in src/dashboard/src/pages/Submission
1168 2
job_launcher.py
in src/ClusterManager
1006 65
HomeController.cs
in src/WebUI/dotnet/WebPortal/Controllers
991 29
cshtml
JobSubmission.cshtml
in src/WebUI/dotnet/WebPortal/Views/Home
971 -
az_tools.py
in src/ClusterBootstrap
955 38
cloud_init_deploy.py
in src/ClusterBootstrap
924 71
collector.py
in src/docker-images/job-exporter/src
918 67
params.py
in src/ClusterBootstrap
861 -
dlwsrestapi.py
in src/RestAPI
833 85
watchdog.py
in src/docker-images/watchdog/src
763 54
dlwsController.cs
in src/WebUI/dotnet/WebPortal/Controllers
746 21
cluster_test_utils.py
in src/ClusterManager
743 13
framework.py
in src/ClusterManager
743 20
job_manager.py
in src/ClusterManager
646 27
cshtml
JobDetail.cshtml
in src/WebUI/dotnet/WebPortal/Views/Home
610 -
cloud_init_aztools.py
in src/ClusterBootstrap
599 32
utils.py
in src/ClusterBootstrap
587 54
cluster_status.py
in src/ClusterManager
556 28
GPUCard.tsx
in src/dashboard/src/pages/Submission/components
482 3
insight.py
in src/docker-images/job-insighter
444 28
Startup.cs
in src/WebUI/dotnet/WebPortal
423 5
cshtml
ViewJobs.cshtml
in src/WebUI/dotnet/WebPortal/Views/Home
418 -
reporter.py
in src/docker-images/gpu-reporter/src
408 40
ctl.py
in src/ClusterBootstrap
389 20
endpoint_manager.py
in src/ClusterManager
370 20
job.py
in src/ClusterManager
370 40
DockerUtils.py
in src/utils
347 16
resource_stat.py
in src/utils
333 34
cluster.js
in src/dashboard/server/api/services
318 19
Json.cs
in src/WebUI/dotnet/WebPortal/Json
310 12
k8sUtils.py
in src/utils
294 17
cshtml
Index.cshtml
in src/WebUI/dotnet/WebPortal/Views/Home
283 -
authorization.py
in src/utils
279 16
auto_share.py
in src/ClusterBootstrap/template/storage/auto_share
262 13
ConfigurationParser.cs
in src/WebUI/dotnet/WebPortal/Helper
258 8
index.tsx
in src/dashboard/src/pages/ClusterStatus
252 -
weave.yaml
in src/ClusterBootstrap/template/kube-addons
251 -
pod_template.py
in src/ClusterManager
250 15
job_params_util.py
in src/utils
250 28
Endpoints.tsx
in src/dashboard/src/pages/JobLegacy/Details
241 -
Files With Most Units (Top 20)
File# lines# units
elasticsearch.jquery.js
in src/WebUI/dotnet/WebPortal/wwwroot/js/elasticsearch-js
60142 668
elasticsearch.angular.js
in src/WebUI/dotnet/WebPortal/wwwroot/js/elasticsearch-js
60141 665
elasticsearch.js
in src/WebUI/dotnet/WebPortal/wwwroot/js/elasticsearch-js
60165 664
deploy.py
in src/ClusterBootstrap
3161 167
dlwsrestapi.py
in src/RestAPI
833 85
cloud_init_deploy.py
in src/ClusterBootstrap
924 71
collector.py
in src/docker-images/job-exporter/src
918 67
job_launcher.py
in src/ClusterManager
1006 65
MySQLDataHandler.py
in src/utils
1332 63
JobRestAPIUtils.py
in src/utils
1362 62
MySQLDBUtilsPoolDataHandler.py
in src/utils
1308 57
MySQLPoolDataHandler.py
in src/utils
1309 57
utils.py
in src/ClusterBootstrap
587 54
watchdog.py
in src/docker-images/watchdog/src
763 54
insighter.py
in src/dev-utils
174 42
job.py
in src/ClusterManager
370 40
reporter.py
in src/docker-images/gpu-reporter/src
408 40
az_tools.py
in src/ClusterBootstrap
955 38
resource_stat.py
in src/utils
333 34
cloud_init_aztools.py
in src/ClusterBootstrap
599 32
Files With Long Lines (Top 20)

There are 81 files with lines longer than 120 characters. In total, there are 646 long lines.

File# lines# units# long lines
deploy.py
in src/ClusterBootstrap
3161 167 73
index.tsx
in src/dashboard/src/pages/JobsLegacy
1309 1 48
cshtml
JobSubmission.cshtml
in src/WebUI/dotnet/WebPortal/Views/Home
971 - 41
MySQLDBUtilsPoolDataHandler.py
in src/utils
1308 57 31
MySQLPoolDataHandler.py
in src/utils
1309 57 31
elasticsearch.angular.js
in src/WebUI/dotnet/WebPortal/wwwroot/js/elasticsearch-js
60141 665 30
elasticsearch.jquery.js
in src/WebUI/dotnet/WebPortal/wwwroot/js/elasticsearch-js
60142 668 30
elasticsearch.js
in src/WebUI/dotnet/WebPortal/wwwroot/js/elasticsearch-js
60165 664 30
dlwsController.cs
in src/WebUI/dotnet/WebPortal/Controllers
746 21 26
HomeController.cs
in src/WebUI/dotnet/WebPortal/Controllers
991 29 24
az_tools.py
in src/ClusterBootstrap
955 38 21
layui.css
in src/WebUI/dotnet/WebPortal/wwwroot/css/layui
2988 - 19
MySQLDataHandler.py
in src/utils
1332 63 16
cshtml
ViewJobs.cshtml
in src/WebUI/dotnet/WebPortal/Views/Home
418 - 12
OpenIDAuthentication.cs
in src/WebUI/dotnet/WebPortal/Helper
229 7 11
cshtml
JobDetail.cshtml
in src/WebUI/dotnet/WebPortal/Views/Home
610 - 10
Project_Readme.html
in src/WebUI/dotnet/WebPortal
163 - 9
cloud_init_deploy.py
in src/ClusterBootstrap
924 71 8
TeamVirtualClusterStatus.tsx
in src/dashboard/src/pages/ClusterStatus/components
75 - 8
GPUCard.tsx
in src/dashboard/src/pages/Submission/components
482 3 8