microsoft / PowerBI-Developer-Samples
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 96 files with 5,019 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (658 lines of code)
    • 4 medium size files (922 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (686 lines of code)
    • 86 very small files (2,753 lines of code)
0% | 13% | 18% | 13% | 54%
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
jsp0% | 85% | 0% | 14% | 0%
ps10% | 0% | 25% | 0% | 74%
java0% | 0% | 21% | 12% | 65%
html0% | 0% | 62% | 0% | 37%
tsx0% | 0% | 97% | 0% | 2%
py0% | 0% | 0% | 28% | 71%
js0% | 0% | 0% | 49% | 50%
css0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Java/EncryptCredentials/src/main0% | 47% | 0% | 9% | 42%
PowerShell Scripts0% | 0% | 25% | 0% | 74%
Java/Embed for your customers/AppOwnsData/src0% | 0% | 40% | 19% | 40%
Python/Encrypt credentials/Encryption sample/templates0% | 0% | 100% | 0% | 0%
React-TS/Embed for your organization/UserOwnsData/src0% | 0% | 88% | 0% | 11%
NodeJS/Embed for your customers/AppOwnsData/src0% | 0% | 0% | 60% | 39%
Python/Embed for your customers/AppOwnsData/services0% | 0% | 0% | 82% | 17%
Python/Encrypt credentials/Encryption sample0% | 0% | 0% | 61% | 38%
Python/Encrypt credentials/Encryption sample/services0% | 0% | 0% | 0% | 100%
Python/Encrypt credentials/Encryption sample/helper0% | 0% | 0% | 0% | 100%
NodeJS/Embed for your customers/AppOwnsData/public0% | 0% | 0% | 0% | 100%
Python/Encrypt credentials/Encryption sample/static0% | 0% | 0% | 0% | 100%
Python/Embed for your customers/AppOwnsData0% | 0% | 0% | 0% | 100%
Python/Embed for your customers/AppOwnsData/templates0% | 0% | 0% | 0% | 100%
NodeJS/Embed for your customers/AppOwnsData/views0% | 0% | 0% | 0% | 100%
React-TS/Embed for your organization/UserOwnsData/public0% | 0% | 0% | 0% | 100%
Python/Embed for your customers/AppOwnsData/models0% | 0% | 0% | 0% | 100%
Python/Embed for your customers/AppOwnsData/static0% | 0% | 0% | 0% | 100%
Python/Encrypt credentials/Encryption sample/models0% | 0% | 0% | 0% | 100%
NodeJS/Embed for your customers/AppOwnsData/models0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
Home.jsp
in Java/EncryptCredentials/src/main/webapp/WEB-INF/pages
658 -
copyWorkspace.ps1
in PowerShell Scripts
266 -
PowerBIService.java
in Java/Embed for your customers/AppOwnsData/src/main/java/com/embedsample/appownsdata/services
239 6
index.html
in Python/Encrypt credentials/Encryption sample/templates
209 -
App.tsx
in React-TS/Embed for your organization/UserOwnsData/src
208 3
embedConfigService.js
in NodeJS/Embed for your customers/AppOwnsData/src
184 7
DataSourceController.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/controllers
138 6
pbiembedservice.py
in Python/Embed for your customers/AppOwnsData/services
130 6
app.py
in Python/Encrypt credentials/Encryption sample
120 5
EmbedReport.jsp
in Java/Embed for your customers/AppOwnsData/src/main/webapp/WEB-INF/pages
114 -
bindToGateway.ps1
in PowerShell Scripts
87 -
DeploymentPipelines-E2ESampleFromPipelineCreationToDeployment.ps1
in PowerShell Scripts
83 -
ScaleUp-Automation-RunBook.ps1
in PowerShell Scripts
81 -
EmbedController.java
in Java/Embed for your customers/AppOwnsData/src/main/java/com/embedsample/appownsdata/controllers
76 2
style.css
in Java/EncryptCredentials/src/main/webapp/resources/css
76 -
index.css
in Python/Encrypt credentials/Encryption sample/static/css
76 -
DeploymentPipelines-SelectiveDeploy.ps1
in PowerShell Scripts
72 -
rebindReport.ps1
in PowerShell Scripts
71 -
AzureADService.java
in Java/Embed for your customers/AppOwnsData/src/main/java/com/embedsample/appownsdata/services
70 4
AzureADService.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/services
69 4
asymmetric1024keyencryptionhelper.py
in Python/Encrypt credentials/Encryption sample/helper
69 2
utils.py
in Python/Encrypt credentials/Encryption sample
65 2
Asymmetric1024KeyEncryptionHelper.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/helper
62 1
authenticatedencryption.py
in Python/Encrypt credentials/Encryption sample/helper
58 1
utils.js
in NodeJS/Embed for your customers/AppOwnsData/src
56 2
index.html
in Python/Embed for your customers/AppOwnsData/templates
55 -
AuthenticatedEncryption.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/helper
53 -
index.html
in NodeJS/Embed for your customers/AppOwnsData/views
53 -
index.js
in NodeJS/Embed for your customers/AppOwnsData/public/js
52 2
Update-Connection-Details-for-Sql-Datasource.ps1
in PowerShell Scripts
52 -
AsymmetricHigherKeyEncryptionHelper.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/helper
50 1
UpdateCredentialsService.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/services
50 2
updatecredentialsservice.py
in Python/Encrypt credentials/Encryption sample/services
48 2
DeploymentPipelines-DeployAll.ps1
in PowerShell Scripts
46 -
addcredentialsservice.py
in Python/Encrypt credentials/Encryption sample/services
44 2
Patch-SQL-Datasource-Credentials-and-Refresh.ps1
in PowerShell Scripts
43 -
DeploymentPipelines-AddUserToPipeline.ps1
in PowerShell Scripts
41 -
DeploymentPipelines-WaitForDeployment.ps1
in PowerShell Scripts
41 -
asymmetrichigherkeyencryptionhelper.py
in Python/Encrypt credentials/Encryption sample/helper
41 1
datavalidationservice.py
in Python/Encrypt credentials/Encryption sample/services
40 3
AddCredentialsService.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/services
37 2
Patch-Anonymous-Datasource-Credentials-and-Refresh.ps1
in PowerShell Scripts
36 -
aadservice.py
in Python/Encrypt credentials/Encryption sample/services
34 1
authentication.js
in NodeJS/Embed for your customers/AppOwnsData/src
33 -
takeOverDataset.ps1
in PowerShell Scripts
33 -
style.css
in Java/Embed for your customers/AppOwnsData/src/main/webapp/resources/css
32 -
AsymmetricKeyEncryptorService.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/services
32 2
index.css
in NodeJS/Embed for your customers/AppOwnsData/public/css
32 -
Admin-Create-Workspace-Inventory-Report.ps1
in PowerShell Scripts
32 -
index.css
in Python/Embed for your customers/AppOwnsData/static/css
32 -
Files With Most Units (Top 20)
File# lines# units
embedConfigService.js
in NodeJS/Embed for your customers/AppOwnsData/src
184 7
PowerBIService.java
in Java/Embed for your customers/AppOwnsData/src/main/java/com/embedsample/appownsdata/services
239 6
DataSourceController.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/controllers
138 6
pbiembedservice.py
in Python/Embed for your customers/AppOwnsData/services
130 6
app.py
in Python/Encrypt credentials/Encryption sample
120 5
AzureADService.java
in Java/Embed for your customers/AppOwnsData/src/main/java/com/embedsample/appownsdata/services
70 4
AzureADService.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/services
69 4
app.py
in Python/Embed for your customers/AppOwnsData
28 3
datavalidationservice.py
in Python/Encrypt credentials/Encryption sample/services
40 3
App.tsx
in React-TS/Embed for your organization/UserOwnsData/src
208 3
EmbedController.java
in Java/Embed for your customers/AppOwnsData/src/main/java/com/embedsample/appownsdata/controllers
76 2
GatewayPublicKey.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/models
10 2
AddCredentialsService.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/services
37 2
AsymmetricKeyEncryptorService.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/services
32 2
GetDatasourceData.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/services
31 2
UpdateCredentialsService.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/services
50 2
Utils.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/services
31 2
index.js
in NodeJS/Embed for your customers/AppOwnsData/public/js
52 2
utils.js
in NodeJS/Embed for your customers/AppOwnsData/src
56 2
asymmetric1024keyencryptionhelper.py
in Python/Encrypt credentials/Encryption sample/helper
69 2
Files With Long Lines (Top 20)

There are 33 files with lines longer than 120 characters. In total, there are 108 long lines.

File# lines# units# long lines
pbiembedservice.py
in Python/Embed for your customers/AppOwnsData/services
130 6 11
PowerBIService.java
in Java/Embed for your customers/AppOwnsData/src/main/java/com/embedsample/appownsdata/services
239 6 8
app.py
in Python/Encrypt credentials/Encryption sample
120 5 8
copyWorkspace.ps1
in PowerShell Scripts
266 - 7
DataSourceController.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/controllers
138 6 5
Home.jsp
in Java/EncryptCredentials/src/main/webapp/WEB-INF/pages
658 - 5
index.html
in Python/Encrypt credentials/Encryption sample/templates
209 - 5
AddCredentialsService.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/services
37 2 4
Utils.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/services
31 2 4
ScaleUp-Automation-RunBook.ps1
in PowerShell Scripts
81 - 4
rebindReport.ps1
in PowerShell Scripts
71 - 4
index.html
in Python/Embed for your customers/AppOwnsData/templates
55 - 4
GetDatasourceData.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/services
31 2 3
UpdateCredentialsService.java
in Java/EncryptCredentials/src/main/java/com/encryptcredentialsample/encryptcredential/services
50 2 3
utils.js
in NodeJS/Embed for your customers/AppOwnsData/src
56 2 3
bindToGateway.ps1
in PowerShell Scripts
87 - 3
utils.py
in Python/Encrypt credentials/Encryption sample
65 2 3
AzureADService.java
in Java/Embed for your customers/AppOwnsData/src/main/java/com/embedsample/appownsdata/services
70 4 2
EmbedReport.jsp
in Java/Embed for your customers/AppOwnsData/src/main/webapp/WEB-INF/pages
114 - 2
authentication.js
in NodeJS/Embed for your customers/AppOwnsData/src
33 - 2