microsoft / SCXcore
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 181 files with 111,416 lines of code.
    • 39 very long files (86,214 lines of code)
    • 12 long files (9,146 lines of code)
    • 36 medium size files (10,490 lines of codeclsfd_ftr_w_mp_ins)
    • 15 small files (2,223 lines of code)
    • 79 very small files (3,343 lines of code)
77% | 8% | 9% | 1% | 3%
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
h84% | 10% | 1% | <1% | 3%
c100% | 0% | 0% | 0% | 0%
cpp23% | 8% | 56% | 7% | 4%
vcxproj0% | 0% | 61% | 38% | 0%
filters0% | 0% | 60% | 29% | 10%
proj0% | 0% | 31% | 45% | 23%
cfg0% | 0% | 0% | 96% | 3%
py0% | 0% | 0% | 55% | 44%
yml0% | 0% | 0% | 0% | 100%
reg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/code/providers85% | 8% | 5% | <1% | <1%
source/code/providers/support18% | 0% | 44% | 12% | 25%
source/code/shared/tools0% | 22% | 50% | 8% | 18%
build/Windows0% | 0% | 61% | 35% | 3%
build/Windows/TeamBuildTypes/UnixBuildTemplate0% | 0% | 55% | 44% | 0%
build0% | 0% | 0% | 96% | 3%
build/Windows/TeamBuildTypes/ApplyLabel0% | 0% | 0% | 100% | 0%
installer0% | 0% | 0% | 100% | 0%
build/Windows/TeamBuildTypes/WindowsTestrun0% | 0% | 0% | 0% | 100%
build/Windows/TeamBuildTypes/PoliCheck0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
build/Windows/TeamBuildTypes/MultiBuild0% | 0% | 0% | 0% | 100%
installer/conf/omi0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
schema.c
in source/code/providers
15627 2
SCX_DiskDrive.h
in source/code/providers
3766 381
SCX_OperatingSystem.h
in source/code/providers
3269 346
SCX_Memory.h
in source/code/providers
3167 314
SCX_EthernetPort.h
in source/code/providers
3003 289
SCX_Processor.h
in source/code/providers
2859 276
CIM_LogicalDevice.h
in source/code/providers
2724 285
CIM_MediaAccessDevice.h
in source/code/providers
2637 294
CIM_Memory.h
in source/code/providers
2447 270
CIM_StorageExtent.h
in source/code/providers
2281 253
CIM_Processor.h
in source/code/providers
2169 236
stubs.cpp
in source/code/providers
2116 140
CIM_OperatingSystem.h
in source/code/providers
2062 232
CIM_EthernetPort.h
in source/code/providers
1983 205
CIM_NetworkPort.h
in source/code/providers
1966 211
SCX_UnixProcess.h
in source/code/providers
1883 190
CIM_DiskDrive.h
in source/code/providers
1814 189
CIM_FileSystem.h
in source/code/providers
1704 190
SCX_FileSystem.h
in source/code/providers
1703 171
SCX_Application_Server.h
in source/code/providers
1690 176
CIM_Job.h
in source/code/providers
1670 190
SCX_LogFile.h
in source/code/providers
1657 163
CIM_ConcreteJob.h
in source/code/providers
1630 170
CIM_LogicalPort.h
in source/code/providers
1628 171
SCX_Agent.h
in source/code/providers
1514 162
CIM_UnixProcess.h
in source/code/providers
1509 161
CIM_Process.h
in source/code/providers
1441 158
SCX_IPProtocolEndpoint.h
in source/code/providers
1399 138
CIM_IPProtocolEndpoint.h
in source/code/providers
1396 150
SCX_LANEndpoint.h
in source/code/providers
1385 133
CIM_LANEndpoint.h
in source/code/providers
1292 133
CIM_LogicalFile.h
in source/code/providers
1262 139
jbossappserverinstance.cpp
in source/code/providers/support/appserver
1160 22
CIM_UnixProcessStatisticalInformation.h
in source/code/providers
1141 129
CIM_EnabledLogicalElement.h
in source/code/providers
1109 116
SCX_FileSystemStatisticalInformation.h
in source/code/providers
1108 125
SCX_UnixProcessStatisticalInformation.h
in source/code/providers
1033 109
CIM_ProtocolEndpoint.h
in source/code/providers
1006 102
CIM_EthernetPortStatistics.h
in source/code/providers
1004 115
CIM_Error.h
in source/code/providers
978 106
SCX_EthernetPortStatistics.h
in source/code/providers
977 100
SCX_DiskDriveStatisticalInformation.h
in source/code/providers
928 101
CIM_ServiceAccessPoint.h
in source/code/providers
886 88
SCX_MemoryStatisticalInformation.h
in source/code/providers
883 95
CIM_ManagedSystemElement.h
in source/code/providers
782 82
SCX_ProcessorStatisticalInformation.h
in source/code/providers
703 71
SCX_RTProcessorStatisticalInformation.h
in source/code/providers
703 71
scxsslcert.cpp
in source/code/shared/tools/scx_ssl_config
630 19
CIM_StatisticalData.h
in source/code/providers
582 54
SCX_OperatingSystem_Class_Provider.cpp
in source/code/providers
555 18
Files With Most Units (Top 20)
File# lines# units
SCX_DiskDrive.h
in source/code/providers
3766 381
SCX_OperatingSystem.h
in source/code/providers
3269 346
SCX_Memory.h
in source/code/providers
3167 314
CIM_MediaAccessDevice.h
in source/code/providers
2637 294
SCX_EthernetPort.h
in source/code/providers
3003 289
CIM_LogicalDevice.h
in source/code/providers
2724 285
SCX_Processor.h
in source/code/providers
2859 276
CIM_Memory.h
in source/code/providers
2447 270
CIM_StorageExtent.h
in source/code/providers
2281 253
CIM_Processor.h
in source/code/providers
2169 236
CIM_OperatingSystem.h
in source/code/providers
2062 232
CIM_NetworkPort.h
in source/code/providers
1966 211
CIM_EthernetPort.h
in source/code/providers
1983 205
CIM_FileSystem.h
in source/code/providers
1704 190
CIM_Job.h
in source/code/providers
1670 190
SCX_UnixProcess.h
in source/code/providers
1883 190
CIM_DiskDrive.h
in source/code/providers
1814 189
SCX_Application_Server.h
in source/code/providers
1690 176
CIM_LogicalPort.h
in source/code/providers
1628 171
SCX_FileSystem.h
in source/code/providers
1703 171
Files With Long Lines (Top 20)

There are 60 files with lines longer than 120 characters. In total, there are 413 long lines.

File# lines# units# long lines
schema.c
in source/code/providers
15627 2 44
jbossappserverinstance.cpp
in source/code/providers/support/appserver
1160 22 41
stubs.cpp
in source/code/providers
2116 140 37
vcxproj
SCXCoreLib.vcxproj
in build/Windows
237 - 21
vcxproj
SCXTestrunner.vcxproj
in build/Windows
250 - 21
proj
TFSBuild.proj
in build/Windows/TeamBuildTypes/UnixBuildTemplate
178 - 20
SCX_OperatingSystem_Class_Provider.cpp
in source/code/providers
555 18 17
vcxproj
SCXAssertAbort.vcxproj
in build/Windows
129 - 15
vcxproj
SCXTestrun.vcxproj
in build/Windows
170 - 12
appserverenumeration.cpp
in source/code/providers/support/appserver
500 17 10
proj
TFSBuild.proj
in build/Windows/TeamBuildTypes/ApplyLabel
140 - 9
scxsslcert.cpp
in source/code/shared/tools/scx_ssl_config
630 19 9
SCX_Application_Server_Class_Provider.cpp
in source/code/providers
208 9 8
SCX_FileSystemStatisticalInformation_Class_Provider.cpp
in source/code/providers
258 8 8
SCX_FileSystem_Class_Provider.cpp
in source/code/providers
315 10 8
tomcatappserverinstance.cpp
in source/code/providers/support/appserver
215 7 8
logfileutils.cpp
in source/code/providers/support
430 21 8
reg
SCXProvider-root.reg
in installer/conf/omi
17 - 7
SCX_DiskDriveStatisticalInformation_Class_Provider.cpp
in source/code/providers
230 8 7
runasprovider.cpp
in source/code/providers/support
220 8 7