microsoft / SqlNexus
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 104 files with 20,997 lines of code.
    • 6 very long files (10,422 lines of code)
    • 4 long files (2,890 lines of code)
    • 9 medium size files (2,766 lines of codeclsfd_ftr_w_mp_ins)
    • 15 small files (2,065 lines of code)
    • 70 very small files (2,854 lines of code)
49% | 13% | 13% | 9% | 13%
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
cs54% | 15% | 13% | 9% | 8%
ps10% | 0% | 100% | 0% | 0%
htm0% | 0% | 0% | 22% | 77%
cmd0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
sqlnexus57% | 16% | 7% | 9% | 9%
RowsetImportEngine67% | 15% | 13% | 0% | 3%
ReadTraceNexusImporter0% | 0% | 100% | 0% | 0%
NexusInterfaces0% | 0% | 50% | 46% | 2%
PerfmonImporter0% | 0% | 100% | 0% | 0%
Setup-Related0% | 0% | 100% | 0% | 0%
sqlnexus/Help0% | 0% | 0% | 22% | 77%
sqlnexus/ClickOnce0% | 0% | 0% | 100% | 0%
BulkLoadEx0% | 0% | 0% | 0% | 100%
DataCollectors/Diag20080% | 0% | 0% | 0% | 100%
DataCollectors/Diag2008R20% | 0% | 0% | 0% | 100%
DataCollectors/Diag20120% | 0% | 0% | 0% | 100%
DataCollectors/Diag20140% | 0% | 0% | 0% | 100%
DataCollectors0% | 0% | 0% | 0% | 100%
BulkLoadEx/Properties0% | 0% | 0% | 0% | 100%
NexusInterfaces/Properties0% | 0% | 0% | 0% | 100%
NexusReports_bak/Properties0% | 0% | 0% | 0% | 100%
PerfmonImporter/Properties0% | 0% | 0% | 0% | 100%
ReadTraceNexusImporter/Properties0% | 0% | 0% | 0% | 100%
sqlnexus/Properties0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
fmNexus.cs
in sqlnexus
2872 66
fmnexus.as.resource.cs
in sqlnexus
2660 177
fmMain.cs
in sqlnexus
1430 38
fmNexus.Designer.cs
in sqlnexus
1221 2
TextRowsetImporter2.cs
in RowsetImportEngine
1161 28
TextRowsetImporter.cs
in RowsetImportEngine
1078 26
fmParameters.cs
in sqlnexus
964 28
fmImport.cs
in sqlnexus
903 26
TextRowset.cs
in RowsetImportEngine
516 -
fmReportParameters.cs
in sqlnexus
507 11
ReadTraceNexusImporter.cs
in ReadTraceNexusImporter
467 12
Column.cs
in RowsetImportEngine
448 35
Classes.cs
in NexusInterfaces
327 10
fmCustomRowset.cs
in sqlnexus
308 22
Spinner.cs
in sqlnexus
260 12
fmImport.Designer.cs
in sqlnexus
249 2
BLGImporter.cs
in PerfmonImporter
246 8
SetupSQLNexusPrereq.ps1
in Setup-Related
236 -
Program.cs
in sqlnexus
225 3
fmCustomRowset.Designer.cs
in sqlnexus
200 2
CredentialManager.cs
in sqlnexus
168 6
ReportBlockingWaitStats.htm
in sqlnexus/Help
164 -
interfaces.cs
in NexusInterfaces
151 -
csql.cs
in NexusInterfaces
150 7
ClickOnce.cs
in sqlnexus/ClickOnce
136 9
frmImportSummary.cs
in sqlnexus
136 9
fmPBReports.Designer.cs
in sqlnexus
131 2
fmAbout.cs
in sqlnexus
130 14
QuickStartLiveMonitoring.htm
in sqlnexus/Help
126 -
Globals.cs
in sqlnexus
123 3
filemgr.cs
in sqlnexus
120 5
CustomXELImporter.cs
in sqlnexus
116 3
fmConnect.Designer.cs
in sqlnexus
107 2
fmConnect.cs
in sqlnexus
107 5
fmPrompt.Designer.cs
in sqlnexus
100 2
ReportFileManager.cs
in sqlnexus
97 5
fmAbout.Designer.cs
in sqlnexus
94 2
QuickStartPostmortemAnalysis.htm
in sqlnexus/Help
92 -
fmEula.Designer.cs
in sqlnexus
88 2
Utilities.cs
in sqlnexus
83 8
UsingSQLNexus.htm
in sqlnexus/Help
81 -
BulkLoadRowset.cs
in BulkLoadEx
79 7
BulkLoad.cs
in sqlnexus
74 10
FileImporter.cs
in sqlnexus
71 3
fmLoginEx.cs
in sqlnexus
71 6
Using SQL Nexus.htm
in sqlnexus/Help/WordSources
70 -
DependencyManager.cs
in sqlnexus
67 2
CollectingDiagnostics.htm
in sqlnexus/Help
67 -
ReportProfilerTraceAnalysis.htm
in sqlnexus/Help
67 -
NexusInfo.cs
in sqlnexus
66 3
Files With Most Units (Top 20)
File# lines# units
fmnexus.as.resource.cs
in sqlnexus
2660 177
fmNexus.cs
in sqlnexus
2872 66
fmMain.cs
in sqlnexus
1430 38
Column.cs
in RowsetImportEngine
448 35
TextRowsetImporter2.cs
in RowsetImportEngine
1161 28
fmParameters.cs
in sqlnexus
964 28
TextRowsetImporter.cs
in RowsetImportEngine
1078 26
fmImport.cs
in sqlnexus
903 26
fmCustomRowset.cs
in sqlnexus
308 22
fmAbout.cs
in sqlnexus
130 14
ReadTraceNexusImporter.cs
in ReadTraceNexusImporter
467 12
Spinner.cs
in sqlnexus
260 12
fmReportParameters.cs
in sqlnexus
507 11
Classes.cs
in NexusInterfaces
327 10
BulkLoad.cs
in sqlnexus
74 10
ClickOnce.cs
in sqlnexus/ClickOnce
136 9
frmImportSummary.cs
in sqlnexus
136 9
BLGImporter.cs
in PerfmonImporter
246 8
Utilities.cs
in sqlnexus
83 8
BulkLoadRowset.cs
in BulkLoadEx
79 7
Files With Long Lines (Top 20)

There are 45 files with lines longer than 120 characters. In total, there are 637 long lines.

File# lines# units# long lines
TextRowset.cs
in RowsetImportEngine
516 - 144
fmNexus.cs
in sqlnexus
2872 66 74
fmnexus.as.resource.cs
in sqlnexus
2660 177 60
fmNexus.Designer.cs
in sqlnexus
1221 2 42
SetupSQLNexusPrereq.ps1
in Setup-Related
236 - 37
TextRowsetImporter2.cs
in RowsetImportEngine
1161 28 25
fmImport.cs
in sqlnexus
903 26 25
fmMain.cs
in sqlnexus
1430 38 21
TextRowsetImporter.cs
in RowsetImportEngine
1078 26 18
BulkLoad.cs
in sqlnexus
74 10 17
ReadTraceNexusImporter.cs
in ReadTraceNexusImporter
467 12 16
fmReportParameters.cs
in sqlnexus
507 11 16
Column.cs
in RowsetImportEngine
448 35 11
Classes.cs
in NexusInterfaces
327 10 10
Globals.cs
in sqlnexus
123 3 10
fmPBReports.Designer.cs
in sqlnexus
131 2 10
ClickOnce.cs
in sqlnexus/ClickOnce
136 9 9
fmCustomRowset.cs
in sqlnexus
308 22 9
fmParameters.cs
in sqlnexus
964 28 7
fmImport.Designer.cs
in sqlnexus
249 2 6