microsoft / Service-Fabric-POA
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 66 files with 6,139 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (1,903 lines of code)
    • 3 medium size files (857 lines of codeclsfd_ftr_w_mp_ins)
    • 14 small files (1,848 lines of code)
    • 46 very small files (1,531 lines of code)
0% | 30% | 13% | 30% | 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
cs0% | 34% | 15% | 26% | 23%
ps10% | 0% | 0% | 87% | 12%
props0% | 0% | 0% | 0% | 100%
sfproj0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/PatchOrchestrationApplication/NodeAgentNTService/src0% | 52% | 9% | 21% | 16%
src/PatchOrchestrationApplication/CoordinatorService/src0% | 46% | 18% | 17% | 17%
src/PatchOrchestrationApplication/NodeAgentSFUtility/src0% | 0% | 49% | 16% | 33%
src/PatchOrchestrationApplication/NodeAgentService/src0% | 0% | 0% | 46% | 53%
src/PatchOrchestrationApplication/TelemetryLib/src0% | 0% | 0% | 84% | 15%
src/PatchOrchestrationApplication/PatchOrchestrationApplication/Scripts0% | 0% | 0% | 79% | 20%
ROOT0% | 0% | 0% | 94% | 5%
src/PatchOrchestrationApplication/Common0% | 0% | 0% | 53% | 46%
src/properties0% | 0% | 0% | 0% | 100%
src/PatchOrchestrationApplication/PatchOrchestrationApplication0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
WindowsUpdateManager.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Manager
730 32
TimerManager.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Manager
608 29
RepairManagerHelper.cs
in src/PatchOrchestrationApplication/CoordinatorService/src
565 18
CommandProcessor.cs
in src/PatchOrchestrationApplication/NodeAgentSFUtility/src
388 10
NodeAgentSfUtility.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Utility
249 16
CoordinatorService.cs
in src/PatchOrchestrationApplication/CoordinatorService/src
220 9
Deploy-FabricApplication.ps1
in src/PatchOrchestrationApplication/PatchOrchestrationApplication/Scripts
199 -
SettingsManager.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Manager
160 8
build.ps1
in root
158 -
ServiceSettings.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Manager
150 4
RepairManagerHelper.cs
in src/PatchOrchestrationApplication/NodeAgentSFUtility/src/Helpers
133 5
CustomerIdentificationUtility.cs
in src/PatchOrchestrationApplication/TelemetryLib/src/Helper
124 10
ShutdownUtility.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Utility
123 2
NodeAgentService.cs
in src/PatchOrchestrationApplication/NodeAgentService/src
123 7
NTServiceConfigurationUtility.cs
in src/PatchOrchestrationApplication/NodeAgentService/src
122 4
WindowsUpdateOperationResult.cs
in src/PatchOrchestrationApplication/Common
118 5
OperationResultFormatter.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Utility
115 12
TelemetryEvents.cs
in src/PatchOrchestrationApplication/TelemetryLib/src
110 3
OwinCommunicationListener.cs
in src/PatchOrchestrationApplication/CoordinatorService/src/WebService
108 6
ServiceEventSource.cs
in src/PatchOrchestrationApplication/CoordinatorService/src
105 10
POAService.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Service
96 5
MonitorWindowsService.cs
in src/PatchOrchestrationApplication/NodeAgentService/src
95 4
ServiceEventSource.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src
89 10
WindowsAutoUpdateUtility.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Utility
75 5
ServiceEventSource.cs
in src/PatchOrchestrationApplication/NodeAgentSFUtility/src
74 8
ServiceEventSource.cs
in src/PatchOrchestrationApplication/NodeAgentService/src
72 8
WindowsServiceUtility.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Utility
69 4
CoordinatorServiceHelper.cs
in src/PatchOrchestrationApplication/NodeAgentSFUtility/src/Helpers
62 2
sfproj
PatchOrchestrationApplication.sfproj
in src/PatchOrchestrationApplication/PatchOrchestrationApplication
61 -
HealthManagerHelper.cs
in src/PatchOrchestrationApplication/NodeAgentSFUtility/src/Helpers
57 1
NodeAgentSFUtilityInterface.cs
in src/PatchOrchestrationApplication/Common
47 -
DefaultController.cs
in src/PatchOrchestrationApplication/CoordinatorService/src/WebService
46 1
Program.cs
in src/PatchOrchestrationApplication/NodeAgentSFUtility/src
46 1
HealthManagerHelper.cs
in src/PatchOrchestrationApplication/NodeAgentService/src
44 2
props
common.props
in src/properties
42 -
ProjectInstaller.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Service
33 3
Helper.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Utility
33 2
HealthManagerHelper.cs
in src/PatchOrchestrationApplication/CoordinatorService/src
32 2
Startup.cs
in src/PatchOrchestrationApplication/CoordinatorService/src/WebService
30 3
DirectoryUtility.cs
in src/PatchOrchestrationApplication/NodeAgentService/src
28 1
Program.cs
in src/PatchOrchestrationApplication/CoordinatorService/src
26 1
Program.cs
in src/PatchOrchestrationApplication/NodeAgentService/src
26 1
SerializationUtility.cs
in src/PatchOrchestrationApplication/Common
24 4
ExecutorData.cs
in src/PatchOrchestrationApplication/Common
20 -
WindowsUpdateNodeResults.cs
in src/PatchOrchestrationApplication/CoordinatorService/src
20 1
Upgrade.ps1
in src/PatchOrchestrationApplication/PatchOrchestrationApplication/Scripts
20 -
UnityConfig.cs
in src/PatchOrchestrationApplication/CoordinatorService/src/WebService
19 1
ITelemetryEventSource.cs
in src/PatchOrchestrationApplication/TelemetryLib/src
19 -
Deploy.ps1
in src/PatchOrchestrationApplication/PatchOrchestrationApplication/Scripts
18 -
props
nuproj.props
in src/properties
18 -
Files With Most Units (Top 20)
File# lines# units
WindowsUpdateManager.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Manager
730 32
TimerManager.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Manager
608 29
RepairManagerHelper.cs
in src/PatchOrchestrationApplication/CoordinatorService/src
565 18
NodeAgentSfUtility.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Utility
249 16
OperationResultFormatter.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Utility
115 12
ServiceEventSource.cs
in src/PatchOrchestrationApplication/CoordinatorService/src
105 10
ServiceEventSource.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src
89 10
CommandProcessor.cs
in src/PatchOrchestrationApplication/NodeAgentSFUtility/src
388 10
CustomerIdentificationUtility.cs
in src/PatchOrchestrationApplication/TelemetryLib/src/Helper
124 10
CoordinatorService.cs
in src/PatchOrchestrationApplication/CoordinatorService/src
220 9
SettingsManager.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Manager
160 8
ServiceEventSource.cs
in src/PatchOrchestrationApplication/NodeAgentSFUtility/src
74 8
ServiceEventSource.cs
in src/PatchOrchestrationApplication/NodeAgentService/src
72 8
NodeAgentService.cs
in src/PatchOrchestrationApplication/NodeAgentService/src
123 7
OwinCommunicationListener.cs
in src/PatchOrchestrationApplication/CoordinatorService/src/WebService
108 6
WindowsUpdateOperationResult.cs
in src/PatchOrchestrationApplication/Common
118 5
POAService.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Service
96 5
WindowsAutoUpdateUtility.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Utility
75 5
RepairManagerHelper.cs
in src/PatchOrchestrationApplication/NodeAgentSFUtility/src/Helpers
133 5
SerializationUtility.cs
in src/PatchOrchestrationApplication/Common
24 4
Files With Long Lines (Top 20)

There are 39 files with lines longer than 120 characters. In total, there are 344 long lines.

File# lines# units# long lines
WindowsUpdateManager.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Manager
730 32 59
RepairManagerHelper.cs
in src/PatchOrchestrationApplication/CoordinatorService/src
565 18 53
NodeAgentSfUtility.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Utility
249 16 28
CommandProcessor.cs
in src/PatchOrchestrationApplication/NodeAgentSFUtility/src
388 10 21
TimerManager.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Manager
608 29 20
CoordinatorService.cs
in src/PatchOrchestrationApplication/CoordinatorService/src
220 9 18
NTServiceConfigurationUtility.cs
in src/PatchOrchestrationApplication/NodeAgentService/src
122 4 15
Deploy-FabricApplication.ps1
in src/PatchOrchestrationApplication/PatchOrchestrationApplication/Scripts
199 - 15
SettingsManager.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Manager
160 8 12
NodeAgentService.cs
in src/PatchOrchestrationApplication/NodeAgentService/src
123 7 11
OperationResultFormatter.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Utility
115 12 10
ServiceSettings.cs
in src/PatchOrchestrationApplication/NodeAgentNTService/src/Manager
150 4 7
build.ps1
in root
158 - 6
DefaultController.cs
in src/PatchOrchestrationApplication/CoordinatorService/src/WebService
46 1 6
sfproj
PatchOrchestrationApplication.sfproj
in src/PatchOrchestrationApplication/PatchOrchestrationApplication
61 - 6
NodeAgentSFUtilityInterface.cs
in src/PatchOrchestrationApplication/Common
47 - 5
WindowsUpdateOperationResult.cs
in src/PatchOrchestrationApplication/Common
118 5 5
ServiceEventSource.cs
in src/PatchOrchestrationApplication/CoordinatorService/src
105 10 5
RepairManagerHelper.cs
in src/PatchOrchestrationApplication/NodeAgentSFUtility/src/Helpers
133 5 4
HealthManagerHelper.cs
in src/PatchOrchestrationApplication/CoordinatorService/src
32 2 3