SummaryStarSponsor

Generated on:3/26/2024 - 5:40:00 PM
Parser:OpenCoverParser
Assemblies:2
Classes:111
Files:98
Covered lines:2546
Uncovered lines:3021
Coverable lines:5567
Total lines:10536
Line coverage:45.7% (2546 of 5567)
Covered branches:1191
Total branches:2335
Branch coverage:51% (1191 of 2335)

Risk Hotspots

Assembly Class Method Cyclomatic complexity NPath complexity
SharpHoundCommonLib SharpHoundCommonLib.WellKnownPrincipal GetWellKnownPrincipal(...)330 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.ACLProcessor ProcessACL()167 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.LocalGroupProcessor GetLocalGroups()119 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.UserRightsAssignmentProcessor GetUserRightsAssignments()61 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.GPOLocalGroupProcessor ReadGPOLocalGroups()57 0
SharpHoundCommonLib SharpHoundCommonLib.SearchResultEntryWrapper ResolveBloodHoundInfo()50 0
SharpHoundCommonLib SharpHoundCommonLib.Extensions GetLabel(...)48 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.GPOLocalGroupProcessor ProcessGPOXmlFile()46 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.GPOLocalGroupProcessor ProcessGPOTemplateFile()45 0
SharpHoundCommonLib SharpHoundCommonLib.LDAPUtils ResolveHostToSid()42 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.ComputerSessionProcessor ReadUserSessions()38 0
SharpHoundCommonLib SharpHoundCommonLib.LDAPUtils QueryLDAP()36 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.LDAPPropertyProcessor ConvertPKIPeriod(...)34 0

Coverage

NameCoveredUncoveredCoverableTotalLine coverageCoveredTotalBranch coverage
SharpHoundCommonLib2507242349301382350.8%
  
1191218154.6%
  
Impersonate.Impersonator050501990%
 
0100%
 
SharpHoundCommonLib.ActiveDirectoryRuleDescriptor29029102100%
 
1010100%
 
SharpHoundCommonLib.ActiveDirectorySecurityDescriptor1662210272.7%
  
22100%
 
SharpHoundCommonLib.Cache505310320548.5%
  
84020%
  
SharpHoundCommonLib.CommonLib02020470%
 
080%
 
SharpHoundCommonLib.CSVComputerStatus320234713%
  
0140%
 
SharpHoundCommonLib.Enums.CommonOids60613100%
 
00
 
SharpHoundCommonLib.Enums.LSAPrivileges10152100%
 
00
 
SharpHoundCommonLib.Exceptions.LDAPQueryException6391966.6%
  
00
 
SharpHoundCommonLib.Extensions9111921042043.3%
  
4010438.4%
  
SharpHoundCommonLib.Helpers1235517833769.1%
  
496081.6%
  
SharpHoundCommonLib.LDAPConfig83112172.7%
  
040%
 
SharpHoundCommonLib.LDAPQueries.CommonFilters11314297.1%
  
00
 
SharpHoundCommonLib.LDAPQueries.CommonPaths30316100%
 
00
 
SharpHoundCommonLib.LDAPQueries.CommonProperties7307390100%
 
00
 
SharpHoundCommonLib.LDAPQueries.LDAPFilter733010328370.8%
  
111478.5%
  
SharpHoundCommonLib.LDAPQueryParams1341425%
  
00
 
SharpHoundCommonLib.LDAPUtils189757946173619.9%
  
5838714.9%
  
SharpHoundCommonLib.Logging2353640%
  
00
 
SharpHoundCommonLib.LogProvider4373657.1%
  
00
 
SharpHoundCommonLib.MockRegistryKey022340%
 
00
 
SharpHoundCommonLib.NoOpLogger2682625%
  
00
 
SharpHoundCommonLib.OutputTypes.ACE718254328%
  
1185.5%
  
SharpHoundCommonLib.OutputTypes.AceRegistryAPIResult01190%
 
00
 
SharpHoundCommonLib.OutputTypes.APIResult2028100%
 
00
 
SharpHoundCommonLib.OutputTypes.BoolRegistryAPIResult01170%
 
00
 
SharpHoundCommonLib.OutputTypes.CARegistryData03390%
 
00
 
SharpHoundCommonLib.OutputTypes.CertificateExtension077170%
 
00
 
SharpHoundCommonLib.OutputTypes.Computer01414520%
 
00
 
SharpHoundCommonLib.OutputTypes.ComputerStatus59145235.7%
  
00
 
SharpHoundCommonLib.OutputTypes.Container01190%
 
00
 
SharpHoundCommonLib.OutputTypes.DCRegistryData022520%
 
00
 
SharpHoundCommonLib.OutputTypes.Domain044120%
 
00
 
SharpHoundCommonLib.OutputTypes.DomainTrust60614100%
 
00
 
SharpHoundCommonLib.OutputTypes.EnrollmentAgentRegistryAPIResult011100%
 
00
 
SharpHoundCommonLib.OutputTypes.EnterpriseCA03390%
 
00
 
SharpHoundCommonLib.OutputTypes.GPLink115163668.7%
  
51241.6%
  
SharpHoundCommonLib.OutputTypes.Group01190%
 
00
 
SharpHoundCommonLib.OutputTypes.IntRegistryAPIResult01170%
 
00
 
SharpHoundCommonLib.OutputTypes.IssuancePolicy01170%
 
00
 
SharpHoundCommonLib.OutputTypes.LocalGroup03390%
 
00
 
SharpHoundCommonLib.OutputTypes.LocalGroupAPIResult48122533.3%
  
040%
 
SharpHoundCommonLib.OutputTypes.LSAPrivilegeAPIResult01190%
 
00
 
SharpHoundCommonLib.OutputTypes.MetaTag044130%
 
00
 
SharpHoundCommonLib.OutputTypes.NamedPrincipal58132338.4%
  
00
 
SharpHoundCommonLib.OutputTypes.NTAuthStore01170%
 
00
 
SharpHoundCommonLib.OutputTypes.OU033110%
 
00
 
SharpHoundCommonLib.OutputTypes.OutputBase066180%
 
00
 
SharpHoundCommonLib.OutputTypes.OutputWrapper<T>022120%
 
00
 
SharpHoundCommonLib.OutputTypes.ResultingGPOChanges50513100%
 
00
 
SharpHoundCommonLib.OutputTypes.RootCA01170%
 
00
 
SharpHoundCommonLib.OutputTypes.Session135184272.2%
  
61637.5%
  
SharpHoundCommonLib.OutputTypes.SessionAPIResult1019100%
 
00
 
SharpHoundCommonLib.OutputTypes.SPNPrivilege3039100%
 
00
 
SharpHoundCommonLib.OutputTypes.TypedPrincipal2602646100%
 
51050%
  
SharpHoundCommonLib.OutputTypes.User044120%
 
00
 
SharpHoundCommonLib.OutputTypes.UserRightsAssignmentAPIResult38112427.2%
  
040%
 
SharpHoundCommonLib.ParsedGPLink202337100%
 
00
 
SharpHoundCommonLib.PassThroughLogger116174164.7%
  
22100%
 
SharpHoundCommonLib.Processors.ACLProcessor28215243459564.9%
  
15419778.1%
  
SharpHoundCommonLib.Processors.CachedLocalItem70716100%
 
00
 
SharpHoundCommonLib.Processors.CertAbuseProcessor02112114600%
 
0800%
 
SharpHoundCommonLib.Processors.CertRegistryResult0334600%
 
00
 
SharpHoundCommonLib.Processors.ComputerAvailability891110015889%
  
203066.6%
  
SharpHoundCommonLib.Processors.ComputerProperties505813100%
 
00
 
SharpHoundCommonLib.Processors.ComputerSessionProcessor1468022635764.6%
  
568466.6%
  
SharpHoundCommonLib.Processors.ContainerProcessor64127615984.2%
  
2222100%
 
SharpHoundCommonLib.Processors.DCRegistryProcessor055870%
 
020%
 
SharpHoundCommonLib.Processors.DomainTrustProcessor47115810681%
  
192479.1%
  
SharpHoundCommonLib.Processors.EnrollmentAgentRestriction035354600%
 
060%
 
SharpHoundCommonLib.Processors.GPOLocalGroupProcessor3206838862782.4%
  
12215678.2%
  
SharpHoundCommonLib.Processors.GroupProcessor5676311588.8%
  
192095%
  
SharpHoundCommonLib.Processors.IssuancePolicyProperties0228130%
 
00
 
SharpHoundCommonLib.Processors.LDAPPropertyProcessor34210845081376%
  
9516159%
  
SharpHoundCommonLib.Processors.LocalGroupProcessor14511425938755.9%
  
9514963.7%
  
SharpHoundCommonLib.Processors.ParsedCertificate029298130%
 
080%
 
SharpHoundCommonLib.Processors.PortScanner454581056.8%
  
0180%
 
SharpHoundCommonLib.Processors.RegistryResult01190%
 
00
 
SharpHoundCommonLib.Processors.SPNProcessors376437386%
  
253083.3%
  
SharpHoundCommonLib.Processors.UserProperties303813100%
 
00
 
SharpHoundCommonLib.Processors.UserRightsAssignmentProcessor1045816225064.1%
  
468355.4%
  
SharpHoundCommonLib.ResolvedSearchResult01212350%
 
020%
 
SharpHoundCommonLib.SearchResultEntryWrapper01541542810%
 
0580%
 
SharpHoundCommonLib.SHRegistryKey099340%
 
020%
 
SharpHoundCommonLib.WellKnownPrincipal713749195.9%
  
32133097.2%
  
SharpHoundRPC3959863715246.1%
  
01540%
 
SharpHoundRPC.Extensions01616360%
 
080%
 
SharpHoundRPC.Handles.BasePointer03939680%
 
0140%
 
SharpHoundRPC.Handles.LSAHandle01717330%
 
020%
 
SharpHoundRPC.Handles.LSAPointer01313260%
 
020%
 
SharpHoundRPC.Handles.NetAPIPointer01313260%
 
020%
 
SharpHoundRPC.Handles.SAMHandle01818340%
 
020%
 
SharpHoundRPC.Handles.SAMPointer01212250%
 
00
 
SharpHoundRPC.Handles.SAMSidArray01717320%
 
020%
 
SharpHoundRPC.LSANative.LSAMethods043431350%
 
080%
 
SharpHoundRPC.LSANative.LSAStructs066570%
 
020%
 
SharpHoundRPC.LSANative.UserRights01010610%
 
00
 
SharpHoundRPC.NetAPINative.NetAPIMethods032321060%
 
0120%
 
SharpHoundRPC.NetAPINative.NetAPIResult<T>167234169.5%
  
00
 
SharpHoundRPC.NetAPINative.NetSessionEnumResults70726100%
 
00
 
SharpHoundRPC.NetAPINative.NetWkstaUserEnumResults70726100%
 
00
 
SharpHoundRPC.Result<T>920295431%
  
020%
 
SharpHoundRPC.RPCException01313390%
 
00
 
SharpHoundRPC.SAMRPCNative.SAMMethods042421590%
 
00
 
SharpHoundRPC.SAMRPCNative.SAMStructs066350%
 
020%
 
SharpHoundRPC.Shared.SharedStructs01616380%
 
080%
 
SharpHoundRPC.Wrappers.LSABase01515330%
 
040%
 
SharpHoundRPC.Wrappers.LSAPolicy01071071710%
 
0320%
 
SharpHoundRPC.Wrappers.SAMAlias01212300%
 
020%
 
SharpHoundRPC.Wrappers.SAMBase01515330%
 
040%
 
SharpHoundRPC.Wrappers.SAMDomain03232630%
 
0120%
 
SharpHoundRPC.Wrappers.SAMServer077771370%
 
0340%