microsoft / Code-Search
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 270 files with 26,067 lines of code.
    • 0 very long files (0 lines of code)
    • 5 long files (4,432 lines of code)
    • 7 medium size files (1,641 lines of codeclsfd_ftr_w_mp_ins)
    • 59 small files (8,329 lines of code)
    • 199 very small files (11,665 lines of code)
0% | 17% | 6% | 31% | 44%
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
psm10% | 39% | 1% | 22% | 35%
ps10% | 0% | 9% | 38% | 51%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Azure_DevOps_Server_20190% | 19% | 10% | 30% | 39%
TFS_2018Update30% | 20% | 10% | 30% | 38%
TFS_2018Update20% | 20% | 10% | 30% | 38%
TFS_2018Update10% | 21% | 0% | 36% | 41%
TFS_2018RTW0% | 21% | 0% | 36% | 41%
HealthCheck0% | 0% | 65% | 0% | 34%
TFS_2017Update30% | 0% | 0% | 36% | 63%
TFS_2017Update20% | 0% | 0% | 40% | 59%
TFS_2017Update10% | 0% | 0% | 23% | 76%
TFS_2017RTW0% | 0% | 0% | 15% | 84%
Longest Files (Top 50)
File# lines# units
Common.psm1
in Azure_DevOps_Server_2019/Troubleshooting/Utils
908 -
Common.psm1
in TFS_2018Update3/Troubleshooting/Utils
908 -
Common.psm1
in TFS_2018Update2/Troubleshooting/Utils
898 -
Common.psm1
in TFS_2018Update1/Troubleshooting/Utils
864 -
Common.psm1
in TFS_2018RTW/Troubleshooting/Utils
854 -
RecentIndexingActivity.ps1
in Azure_DevOps_Server_2019
245 -
RecentIndexingActivity.ps1
in TFS_2018Update2
245 -
RecentIndexingActivity.ps1
in TFS_2018Update3
245 -
ExtensionInstallIndexingStatus.ps1
in Azure_DevOps_Server_2019
233 -
ExtensionInstallIndexingStatus.ps1
in TFS_2018Update2
233 -
ExtensionInstallIndexingStatus.ps1
in TFS_2018Update3
233 -
Common.psm1
in HealthCheck/Database
207 -
Repair-Search.ps1
in Azure_DevOps_Server_2019/Troubleshooting
194 -
Repair-Search.ps1
in TFS_2018Update1/Troubleshooting
194 -
Repair-Search.ps1
in TFS_2018Update3/Troubleshooting
194 -
RecentIndexingActivity.ps1
in TFS_2017Update2
191 -
RecentIndexingActivity.ps1
in TFS_2017Update3
191 -
RecentIndexingActivity.ps1
in TFS_2018RTW
191 -
RecentIndexingActivity.ps1
in TFS_2018Update1
191 -
Repair-Search.ps1
in TFS_2018RTW/Troubleshooting
181 -
Repair-Search.ps1
in TFS_2018Update2/Troubleshooting
181 -
GetRepositoryReIndexingActivityStatus.ps1
in Azure_DevOps_Server_2019
167 -
ExtensionInstallIndexingStatus.ps1
in TFS_2017Update2
167 -
ExtensionInstallIndexingStatus.ps1
in TFS_2017Update3
167 -
ExtensionInstallIndexingStatus.ps1
in TFS_2018RTW
167 -
ExtensionInstallIndexingStatus.ps1
in TFS_2018Update1
167 -
GetRepositoryReIndexingActivityStatus.ps1
in TFS_2018Update2
167 -
GetRepositoryReIndexingActivityStatus.ps1
in TFS_2018Update3
167 -
Test-SqlHealth.psm1
in Azure_DevOps_Server_2019/Troubleshooting/Analyzers
153 -
Test-SqlHealth.psm1
in TFS_2018Update1/Troubleshooting/Analyzers
153 -
Test-SqlHealth.psm1
in TFS_2018Update3/Troubleshooting/Analyzers
153 -
Test-SqlHealth.psm1
in TFS_2018Update2/Troubleshooting/Analyzers
151 -
ActionRelations.ps1
in TFS_2018RTW/Troubleshooting/Actions
145 -
ActionRelations.ps1
in TFS_2018Update1/Troubleshooting/Actions
145 -
ActionRelations.ps1
in TFS_2018Update2/Troubleshooting/Actions
145 -
ActionRelations.ps1
in Azure_DevOps_Server_2019/Troubleshooting/Actions
143 -
ActionRelations.ps1
in TFS_2018Update3/Troubleshooting/Actions
143 -
Test-SqlHealth.psm1
in TFS_2018RTW/Troubleshooting/Analyzers
142 -
Restart-Indexing.psm1
in Azure_DevOps_Server_2019/Troubleshooting/Actions
135 -
Restart-Indexing.psm1
in TFS_2018Update1/Troubleshooting/Actions
135 -
Restart-Indexing.psm1
in TFS_2018Update3/Troubleshooting/Actions
135 -
Restart-Indexing.psm1
in TFS_2018RTW/Troubleshooting/Actions
133 -
Restart-Indexing.psm1
in TFS_2018Update2/Troubleshooting/Actions
133 -
CollectionDBSearchDiagnostics.ps1
in Azure_DevOps_Server_2019/SearchDiagonistics
125 -
CollectionDBSearchDiagnostics.ps1
in TFS_2017RTW/SearchDiagonistics
125 -
CollectionDBSearchDiagnostics.ps1
in TFS_2017Update1/SearchDiagonistics
125 -
CollectionDBSearchDiagnostics.ps1
in TFS_2017Update2/SearchDiagonistics
125 -
CollectionDBSearchDiagnostics.ps1
in TFS_2017Update3/SearchDiagonistics
125 -
CollectionDBSearchDiagnostics.ps1
in TFS_2018RTW/SearchDiagonistics
125 -
CollectionDBSearchDiagnostics.ps1
in TFS_2018Update1/SearchDiagonistics
125 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 20)

There are 261 files with lines longer than 120 characters. In total, there are 2198 long lines.

File# lines# units# long lines
Common.psm1
in Azure_DevOps_Server_2019/Troubleshooting/Utils
908 - 63
Common.psm1
in TFS_2018Update3/Troubleshooting/Utils
908 - 63
Common.psm1
in TFS_2018Update2/Troubleshooting/Utils
898 - 61
Common.psm1
in TFS_2018Update1/Troubleshooting/Utils
864 - 56
Common.psm1
in TFS_2018RTW/Troubleshooting/Utils
854 - 54
RecentIndexingActivity.ps1
in Azure_DevOps_Server_2019
245 - 41
RecentIndexingActivity.ps1
in TFS_2018Update2
245 - 41
RecentIndexingActivity.ps1
in TFS_2018Update3
245 - 41
RecentIndexingActivity.ps1
in TFS_2017Update2
191 - 33
RecentIndexingActivity.ps1
in TFS_2017Update3
191 - 33
RecentIndexingActivity.ps1
in TFS_2018RTW
191 - 33
RecentIndexingActivity.ps1
in TFS_2018Update1
191 - 33
Common.psm1
in HealthCheck/Database
207 - 31
ExtensionInstallIndexingStatus.ps1
in Azure_DevOps_Server_2019
233 - 24
ExtensionInstallIndexingStatus.ps1
in TFS_2018Update2
233 - 24
ExtensionInstallIndexingStatus.ps1
in TFS_2018Update3
233 - 24
Test-SqlHealth.psm1
in Azure_DevOps_Server_2019/Troubleshooting/Analyzers
153 - 21
Test-SqlHealth.psm1
in TFS_2018Update1/Troubleshooting/Analyzers
153 - 21
Test-SqlHealth.psm1
in TFS_2018Update2/Troubleshooting/Analyzers
151 - 21
Test-SqlHealth.psm1
in TFS_2018Update3/Troubleshooting/Analyzers
153 - 21