microsoft / ReportingServicesTools
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 84 files with 9,442 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,329 lines of codeclsfd_ftr_w_mp_ins)
    • 44 small files (5,774 lines of code)
    • 35 very small files (2,339 lines of code)
0% | 0% | 14% | 61% | 24%
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
ps10% | 0% | 14% | 59% | 25%
psd10% | 0% | 0% | 100% | 0%
yml0% | 0% | 0% | 100% | 0%
psm10% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ReportingServicesTools/Functions/CatalogItems/Rest0% | 0% | 20% | 56% | 23%
ReportingServicesTools/Functions/CatalogItems0% | 0% | 17% | 56% | 26%
ReportingServicesTools/Functions/Admin0% | 0% | 21% | 57% | 21%
ReportingServicesTools/Functions/Security0% | 0% | 0% | 68% | 31%
ReportingServicesTools/Functions/Security/Rest0% | 0% | 0% | 100% | 0%
ReportingServicesTools/Functions/Utilities0% | 0% | 0% | 71% | 28%
ReportingServicesTools/Functions/Common0% | 0% | 0% | 76% | 23%
ReportingServicesTools0% | 0% | 0% | 98% | 1%
ROOT0% | 0% | 0% | 54% | 45%
ReportingServicesTools/Libraries0% | 0% | 0% | 100% | 0%
ReportingServicesTools/Functions/Admin/Rest0% | 0% | 0% | 0% | 100%
Templates0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
Write-RsRestCatalogItem.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
334 -
New-RsSubscription.ps1
in ReportingServicesTools/Functions/CatalogItems
298 -
Write-RsCatalogItem.ps1
in ReportingServicesTools/Functions/CatalogItems
248 -
Set-RsDatabase.ps1
in ReportingServicesTools/Functions/Admin
231 -
Set-RsRestItemDataSource.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
218 -
New-RsDataSource.ps1
in ReportingServicesTools/Functions/CatalogItems
188 -
Write-RsRestFolderContent.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
182 -
ReportingServicesTools.psd1
in ReportingServicesTools
168 -
Get-RsSubscription.ps1
in ReportingServicesTools/Functions/CatalogItems
161 -
New-RsScheduleXML.ps1
in ReportingServicesTools/Functions/CatalogItems
161 -
Out-RsRestFolderContent.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
159 -
Grant-RsCatalogItemRole.ps1
in ReportingServicesTools/Functions/Security
157 -
ConnectionObjectRequests.ps1
in ReportingServicesTools/Functions/Common
156 -
Get-RsRestItemAccessPolicy.ps1
in ReportingServicesTools/Functions/Security/Rest
155 -
Copy-RsSubscription.ps1
in ReportingServicesTools/Functions/CatalogItems
153 -
Set-RsItemDataSource.ps1
in ReportingServicesTools/Functions/CatalogItems
147 -
Grant-RsSystemRole.ps1
in ReportingServicesTools/Functions/Security
145 -
Restore-RsEncryptionKey.ps1
in ReportingServicesTools/Functions/Admin
142 -
Import-RsSubscriptionXml.ps1
in ReportingServicesTools/Functions/CatalogItems
137 -
Set-RsDatabaseCredentials.ps1
in ReportingServicesTools/Functions/Admin
136 -
Publish-RsProject.ps1
in ReportingServicesTools/Functions/CatalogItems
136 -
Write-RsFolderContent.ps1
in ReportingServicesTools/Functions/CatalogItems
136 -
Set-RsEmailSettings.ps1
in ReportingServicesTools/Functions/Admin
134 -
Set-RsDataSource.ps1
in ReportingServicesTools/Functions/CatalogItems
134 -
Grant-RsRestItemAccessPolicy.ps1
in ReportingServicesTools/Functions/Security/Rest
134 -
Get-RsRestFolderContent.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
133 -
Start-RsRestCacheRefreshPlan.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
131 -
New-RsRestCacheRefreshPlan.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
127 -
Test-RsRestItemDataSource.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
126 -
Out-RsCatalogItem.ps1
in ReportingServicesTools/Functions/CatalogItems
125 -
Out-RsRestCatalogItemId.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
124 -
ShouldProcess.ps1
in ReportingServicesTools/Functions/Common
122 -
New-RsWebServiceProxy.ps1
in ReportingServicesTools/Functions/Utilities
118 -
appveyor.yml
in root
117 -
Get-RsRestCacheRefreshPlan.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
114 -
Revoke-RsRestItemAccessPolicy.ps1
in ReportingServicesTools/Functions/Security/Rest
114 -
Get-RsRestCacheRefreshPlanHistory.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
113 -
Remove-RsRestCacheRefreshPlan.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
113 -
Out-RsFolderContent.ps1
in ReportingServicesTools/Functions/CatalogItems
112 -
Register-RsPowerBI.ps1
in ReportingServicesTools/Functions/Admin
110 -
Out-RsRestCatalogItem.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
109 -
New-RsRestSession.ps1
in ReportingServicesTools/Functions/Utilities
109 -
Get-RsCatalogItemRole.ps1
in ReportingServicesTools/Functions/Security
108 -
Get-RsRestItem.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
107 -
Set-RsSubscription.ps1
in ReportingServicesTools/Functions/CatalogItems
107 -
Set-RsUrlReservation.ps1
in ReportingServicesTools/Functions/Admin
105 -
Connect-RsReportServer.ps1
in ReportingServicesTools/Functions/Utilities
104 -
library.ps1
in ReportingServicesTools/Libraries
104 -
Remove-RsSubscription.ps1
in ReportingServicesTools/Functions/CatalogItems
101 -
Revoke-RsCatalogItemAccess.ps1
in ReportingServicesTools/Functions/Security
99 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 20)

There are 75 files with lines longer than 120 characters. In total, there are 642 long lines.

File# lines# units# long lines
New-RsSubscription.ps1
in ReportingServicesTools/Functions/CatalogItems
298 - 32
Copy-RsSubscription.ps1
in ReportingServicesTools/Functions/CatalogItems
153 - 22
Set-RsDatabase.ps1
in ReportingServicesTools/Functions/Admin
231 - 21
Write-RsRestCatalogItem.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
334 - 21
New-RsDataSource.ps1
in ReportingServicesTools/Functions/CatalogItems
188 - 20
Publish-RsProject.ps1
in ReportingServicesTools/Functions/CatalogItems
136 - 18
Get-RsRestItemAccessPolicy.ps1
in ReportingServicesTools/Functions/Security/Rest
155 - 18
Import-RsSubscriptionXml.ps1
in ReportingServicesTools/Functions/CatalogItems
137 - 17
Grant-RsRestItemAccessPolicy.ps1
in ReportingServicesTools/Functions/Security/Rest
134 - 17
Get-RsDeploymentConfig.ps1
in ReportingServicesTools/Functions/CatalogItems
83 - 16
Test-RsRestItemDataSource.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
126 - 15
Get-RsSubscription.ps1
in ReportingServicesTools/Functions/CatalogItems
161 - 14
Set-RsItemDataSource.ps1
in ReportingServicesTools/Functions/CatalogItems
147 - 14
Set-RsDatabaseCredentials.ps1
in ReportingServicesTools/Functions/Admin
136 - 13
Set-RsEmailSettings.ps1
in ReportingServicesTools/Functions/Admin
134 - 13
Set-RsRestItemDataSource.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
218 - 13
Revoke-RsRestItemAccessPolicy.ps1
in ReportingServicesTools/Functions/Security/Rest
114 - 13
Out-RsRestFolderContent.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
159 - 12
Start-RsRestCacheRefreshPlan.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
131 - 12
Write-RsRestFolderContent.ps1
in ReportingServicesTools/Functions/CatalogItems/Rest
182 - 12