microsoft / AzureDWScriptsandUtilities
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 18 files with 3,581 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (647 lines of code)
    • 6 medium size files (1,698 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (947 lines of code)
    • 4 very small files (289 lines of code)
0% | 18% | 47% | 26% | 8%
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% | 19% | 51% | 20% | 8%
py0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Assessment0% | 56% | 26% | 16% | 0%
APS to SQL DW Migration - Schema and Data Migration with PolyBase/6_DeployScriptsToSqldw0% | 0% | 82% | 17% | 0%
APS to SQL DW Migration - Schema and Data Migration with PolyBase/4_CreateAPSExportScriptSQLDWImportScript0% | 0% | 67% | 32% | 0%
APS to SQL DW Migration - Schema and Data Migration with PolyBase/5_CreateExternalTablesSQLDW0% | 0% | 60% | 0% | 39%
APS to SQL DW Migration - Schema and Data Migration with PolyBase/0_PreAssessment0% | 0% | 53% | 24% | 22%
APS to SQL DW Migration - Schema and Data Migration with PolyBase/2_CleanScripts0% | 0% | 0% | 100% | 0%
APS to SQL DW Migration - Schema and Data Migration with PolyBase/3_ChangeSchemas0% | 0% | 0% | 100% | 0%
APS to SQL DW Migration - Schema and Data Migration with PolyBase/1_CreateMPPScripts0% | 0% | 0% | 75% | 24%
Longest Files (Top 18)
File# lines# units
AssessmentDriver_V2.ps1
in Assessment
647 -
Generate_Step6_ConfigFiles.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/6_DeployScriptsToSqldw
409 -
CopyDataToExcel_V2.ps1
in Assessment
302 -
RunDSQLScriptsDriver.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/6_DeployScriptsToSqldw
267 -
Generate_Step4_ConfigFiles.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/4_CreateAPSExportScriptSQLDWImportScript
252 -
Generate_Step5_ConfigFiles.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/5_CreateExternalTablesSQLDW
246 -
RunSQLStatementExportCSV.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/0_PreAssessment
222 -
RunSQLStatement.ps1
in Assessment
191 -
CleanScripts.py
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/2_CleanScripts
153 2
RunSQLScriptFile.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/6_DeployScriptsToSqldw
140 -
ChangeSchemas.py
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/3_ChangeSchemas
132 2
ScriptCreateExportImportStatementsDriver.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/4_CreateAPSExportScriptSQLDWImportScript
123 -
ScriptMPPObjectsDriver.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/1_CreateMPPScripts
106 -
CopyDataToExcel.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/0_PreAssessment
102 -
PreAssessmentDriver.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/0_PreAssessment
94 -
CreateSQLDWExtTableStatements.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/5_CreateExternalTablesSQLDW
91 -
ScriptCreateExternalTableDriver.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/5_CreateExternalTablesSQLDW
70 -
ScriptObjectsTodSQL.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/1_CreateMPPScripts
34 -
Files With Most Units (Top 2)
File# lines# units
CleanScripts.py
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/2_CleanScripts
153 2
ChangeSchemas.py
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/3_ChangeSchemas
132 2
Files With Long Lines (Top 18)

There are 18 files with lines longer than 120 characters. In total, there are 292 long lines.

File# lines# units# long lines
AssessmentDriver_V2.ps1
in Assessment
647 - 51
RunSQLStatementExportCSV.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/0_PreAssessment
222 - 46
CopyDataToExcel_V2.ps1
in Assessment
302 - 31
RunDSQLScriptsDriver.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/6_DeployScriptsToSqldw
267 - 30
PreAssessmentDriver.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/0_PreAssessment
94 - 17
CopyDataToExcel.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/0_PreAssessment
102 - 16
ScriptCreateExportImportStatementsDriver.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/4_CreateAPSExportScriptSQLDWImportScript
123 - 16
ScriptCreateExternalTableDriver.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/5_CreateExternalTablesSQLDW
70 - 14
CreateSQLDWExtTableStatements.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/5_CreateExternalTablesSQLDW
91 - 12
Generate_Step6_ConfigFiles.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/6_DeployScriptsToSqldw
409 - 11
RunSQLStatement.ps1
in Assessment
191 - 11
ScriptMPPObjectsDriver.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/1_CreateMPPScripts
106 - 9
RunSQLScriptFile.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/6_DeployScriptsToSqldw
140 - 7
Generate_Step4_ConfigFiles.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/4_CreateAPSExportScriptSQLDWImportScript
252 - 6
ScriptObjectsTodSQL.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/1_CreateMPPScripts
34 - 4
ChangeSchemas.py
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/3_ChangeSchemas
132 2 4
Generate_Step5_ConfigFiles.ps1
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/5_CreateExternalTablesSQLDW
246 - 4
CleanScripts.py
in APS to SQL DW Migration - Schema and Data Migration with PolyBase/2_CleanScripts
153 2 3