microsoft / mwt-ds
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 300 files with 46,259 lines of code.
    • 3 very long files (23,960 lines of code)
    • 1 long files (553 lines of code)
    • 24 medium size files (7,220 lines of codeclsfd_ftr_w_mp_ins)
    • 41 small files (6,029 lines of code)
    • 231 very small files (8,497 lines of code)
51% | 1% | 15% | 13% | 18%
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
js98% | 0% | 0% | 0% | 1%
html0% | 29% | 40% | 30% | 0%
cs0% | 0% | 23% | 30% | 45%
py0% | 0% | 61% | 15% | 22%
css0% | 0% | 87% | 0% | 12%
cmd0% | 0% | 100% | 0% | 0%
cshtml0% | 0% | 0% | 45% | 54%
vcxproj0% | 0% | 0% | 100% | 0%
ts0% | 0% | 0% | 0% | 100%
cpp0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
filters0% | 0% | 0% | 0% | 100%
cscfg0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
MD0% | 0% | 0% | 0% | 100%
props0% | 0% | 0% | 0% | 100%
asax0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
mc85% | 0% | 5% | 3% | 4%
DataScience0% | 14% | 44% | 17% | 23%
client0% | 0% | 21% | 29% | 49%
ContextExplorer0% | 0% | 90% | 9% | <1%
Crawl0% | 0% | 31% | 30% | 38%
Experimentation0% | 0% | 29% | 21% | 49%
AzureDataLake0% | 0% | 0% | 69% | 30%
ExperimentationConsole0% | 0% | 0% | 91% | 8%
LogCookig0% | 0% | 0% | 58% | 41%
HostedExamples0% | 0% | 0% | 26% | 73%
ExperimentationTest0% | 0% | 0% | 60% | 39%
hosted.js0% | 0% | 0% | 0% | 100%
provisioning0% | 0% | 0% | 0% | 100%
JavascriptClient0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
moment-with-locales.js
in mc/Scripts
10528 588
nv.d3.js
in mc/Scripts
10312 312
moment.js
in mc/Scripts
3120 306
dashboard.html
in DataScience
553 -
context_explorer.py
in ContextExplorer
496 41
HomeController.cs
in mc/Controllers
451 19
guide.html
in mc
414 -
JSON.cs
in Crawl/VideoIndexer/Ooyala
392 18
Context_Explorer_NewTest_2020-02-13-2020-03-13_CallType_MediaType_NetworkType.html
in ContextExplorer/sample_output
362 -
DecisionServiceClient.cs
in client/ClientDecisionService
362 24
vw_offline_utilities.py
in ContextExplorer/Simulated_Data_Generator
354 26
Experimentation.py
in DataScience
345 13
LogDownloader.py
in DataScience
345 6
ds_parse.py
in DataScience
291 15
Site.css
in mc/Content
275 -
dashboard_utils.py
in DataScience
273 8
AzureBlobDownloader.cs
in Experimentation
273 6
common.py
in DataScience
272 23
cmd
DecisionServicePrivateWeb.deploy.cmd
in mc
261 -
DecisionServiceUploadTests.cs
in client/ClientDecisionServiceTest
258 7
MultiRequestReferenceResolverTests.cs
in client/ClientDecisionServiceTest
243 7
Common.cs
in client/ClientDecisionServiceTest
241 11
HttpCachedService.cs
in Crawl
227 7
ApplicationMetadataStore.cs
in mc/Classes
227 7
DataScience.py
in DataScience
224 2
ModularTests.cs
in client/ClientDecisionServiceTest
222 8
OoyalaAPI.cs
in Crawl/VideoIndexer/Ooyala
208 12
MwtExplorer.cs
in client/explore
204 15
APIController.cs
in mc/Controllers
194 6
Metrics.cs
in Experimentation
193 4
LocalModeTest.cs
in client/ClientDecisionServiceTest
193 5
UploaderTest.cs
in client/ClientDecisionServiceTest
193 9
BaseEventUploader.cs
in client/JoinServerUploader
191 13
game.html
in mc
183 -
Crawl.cs
in Crawl/Crawl
182 4
CbParser.cs
in AzureDataLake/DecisionServiceExtractor
180 2
EventUploader.cs
in client/JoinServerUploader
179 12
HtmlExtractor.cs
in Crawl/Crawl
178 8
InMemoryLogger.cs
in client/ClientDecisionService
177 8
CcbParser.cs
in AzureDataLake/DecisionServiceExtractor
175 4
cshtml
APIGuide.cshtml
in mc/Views/Home
165 -
Helpers.cs
in AzureDataLake/DecisionServiceExtractor
160 12
DecisionServiceLocal.cs
in client/ClientDecisionService
160 5
playground.html
in mc
159 -
VideoIndexer.cs
in Crawl/VideoIndexer
157 6
Program.cs
in ExperimentationConsole
157 2
ActionSetVisualization.py
in DataScience
156 3
PerformanceCounters.cs
in client/ClientDecisionService
156 8
RSS.cs
in Crawl/RSS
155 4
MockCommandCenter.cs
in client/ClientDecisionServiceTest
147 5
Files With Most Units (Top 20)
File# lines# units
moment-with-locales.js
in mc/Scripts
10528 588
nv.d3.js
in mc/Scripts
10312 312
moment.js
in mc/Scripts
3120 306
context_explorer.py
in ContextExplorer
496 41
vw_offline_utilities.py
in ContextExplorer/Simulated_Data_Generator
354 26
DecisionServiceClient.cs
in client/ClientDecisionService
362 24
input_provider.py
in DataScience/DashboardMpi/helpers
129 23
common.py
in DataScience
272 23
vw.py
in DataScience/DashboardMpi/helpers
99 19
HomeController.cs
in mc/Controllers
451 19
JSON.cs
in Crawl/VideoIndexer/Ooyala
392 18
ds_parse.py
in DataScience
291 15
MwtExplorer.cs
in client/explore
204 15
Experimentation.py
in DataScience
345 13
BaseEventUploader.cs
in client/JoinServerUploader
191 13
Helpers.cs
in AzureDataLake/DecisionServiceExtractor
160 12
OoyalaAPI.cs
in Crawl/VideoIndexer/Ooyala
208 12
EventUploader.cs
in client/JoinServerUploader
179 12
JoinServiceLogger.cs
in client/ClientDecisionService
118 11
Common.cs
in client/ClientDecisionServiceTest
241 11
Files With Long Lines (Top 20)

There are 148 files with lines longer than 120 characters. In total, there are 898 long lines.

File# lines# units# long lines
nv.d3.js
in mc/Scripts
10312 312 87
moment-with-locales.js
in mc/Scripts
10528 588 69
HomeController.cs
in mc/Controllers
451 19 43
LogDownloader.py
in DataScience
345 6 33
Experimentation.py
in DataScience
345 13 30
context_explorer.py
in ContextExplorer
496 41 29
guide.html
in mc
414 - 26
UploaderTest.cs
in client/ClientDecisionServiceTest
193 9 22
moment.js
in mc/Scripts
3120 306 18
cshtml
APIGuide.cshtml
in mc/Views/Home
165 - 16
DecisionServiceClient.cs
in client/ClientDecisionService
362 24 15
AutomationController.cs
in mc/Controllers
111 3 15
HttpCachedService.cs
in Crawl
227 7 14
MultiRequestReferenceResolverTests.cs
in client/ClientDecisionServiceTest
243 7 14
ApplicationMetadataStore.cs
in mc/Classes
227 7 13
DeploymentController.cs
in mc/Controllers
94 2 13
cmd
DecisionServicePrivateWeb.deploy.cmd
in mc
261 - 13
VideoIndexer.cs
in Crawl/VideoIndexer
157 6 12
Program.cs
in ExperimentationConsole
157 2 12
MwtExplorer.cs
in client/explore
204 15 12