SummaryStarSponsor

Generated on:10/18/2024 - 4:24:20 PM
Parser:OpenCoverParser
Assemblies:2
Classes:126
Files:111
Covered lines:2950
Uncovered lines:3764
Coverable lines:6714
Total lines:11768
Line coverage:43.9% (2950 of 6714)
Covered branches:1747
Total branches:3795
Branch coverage:46% (1747 of 3795)

Risk Hotspots

Assembly Class Method Cyclomatic complexity NPath complexity
SharpHoundCommonLib SharpHoundCommonLib.WellKnownPrincipal GetWellKnownPrincipal(...)330 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.ACLProcessor ProcessACL()325 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.LocalGroupProcessor GetLocalGroups()183 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.GPOLocalGroupProcessor ReadGPOLocalGroups()89 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.UserRightsAssignmentProcessor GetUserRightsAssignments()89 0
SharpHoundCommonLib SharpHoundCommonLib.LdapUtils ResolveSearchResult()88 0
SharpHoundCommonLib SharpHoundCommonLib.LdapConnectionPool RangedRetrieval()77 0
SharpHoundCommonLib SharpHoundCommonLib.LdapConnectionPool PagedQuery()74 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.GPOLocalGroupProcessor ProcessGPOXmlFile()72 0
SharpHoundCommonLib SharpHoundCommonLib.LdapConnectionPool Query()67 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.GPOLocalGroupProcessor ProcessGPOTemplateFile()64 0
SharpHoundCommonLib SharpHoundCommonLib.LdapUtils ResolveHostToSid()58 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.GroupProcessor ReadGroupMembers()58 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.ComputerSessionProcessor ReadUserSessions()50 0
SharpHoundCommonLib SharpHoundCommonLib.LdapUtils ResolveLabel(...)46 0
SharpHoundCommonLib SharpHoundCommonLib.LdapUtils GetWellKnownPrincipalOutput()46 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.LdapPropertyProcessor ReadComputerProperties()46 0
SharpHoundCommonLib SharpHoundCommonLib.LdapUtils GetEnterpriseDCGroups()44 0
SharpHoundCommonLib SharpHoundCommonLib.Processors.DomainTrustProcessor EnumerateDomainTrusts()41 0
SharpHoundCommonLib SharpHoundCommonLib.LdapProducerQueryGenerator GenerateDefaultPartitionParameters(...)38 0

Coverage

NameCoveredUncoveredCoverableTotalLine coverageCoveredTotalBranch coverage
SharpHoundCommonLib2851320360541569847%
  
1733362747.7%
  
Impersonate.Impersonator046461780%
 
0100%
 
SharpHoundCommonLib.ActiveDirectoryRuleDescriptor3213310896.9%
  
1010100%
 
SharpHoundCommonLib.ActiveDirectorySecurityDescriptor1662210872.7%
  
22100%
 
SharpHoundCommonLib.AsyncEnumerable8192388.8%
  
00
 
SharpHoundCommonLib.Cache49469519351.5%
  
73619.4%
  
SharpHoundCommonLib.CommonLib02020470%
 
080%
 
SharpHoundCommonLib.ConcurrentHashSet913226040.9%
  
00
 
SharpHoundCommonLib.ConnectionPoolManager416610717538.3%
  
144630.4%
  
SharpHoundCommonLib.CSVComputerStatus320234713%
  
0140%
 
SharpHoundCommonLib.DirectoryEntryWrapper1411212618811.1%
  
1442.2%
  
SharpHoundCommonLib.DirectoryObjects.DirectoryObjectExtensions4204271100%
 
222491.6%
  
SharpHoundCommonLib.Enums.CommonOids60613100%
 
00
 
SharpHoundCommonLib.Enums.LSAPrivileges10152100%
 
00
 
SharpHoundCommonLib.Exceptions.LdapAuthenticationException044140%
 
00
 
SharpHoundCommonLib.Exceptions.LdapConnectionException055140%
 
00
 
SharpHoundCommonLib.Exceptions.NoLdapDataException033110%
 
00
 
SharpHoundCommonLib.Extensions635511821953.3%
  
255248%
  
SharpHoundCommonLib.GeneratedLdapParameters0221550%
 
00
 
SharpHoundCommonLib.Helpers1164816430970.7%
  
496081.6%
  
SharpHoundCommonLib.LdapConfig1324375635.1%
  
21612.5%
  
SharpHoundCommonLib.LdapConnectionPool9952162091115.9%
  
3736410.1%
  
SharpHoundCommonLib.LdapConnectionWrapper06262970%
 
0260%
 
SharpHoundCommonLib.LdapProducerQueryGenerator01081081550%
 
0580%
 
SharpHoundCommonLib.LDAPQueries.CommonFilters11314297.1%
  
00
 
SharpHoundCommonLib.LDAPQueries.CommonPaths033190%
 
00
 
SharpHoundCommonLib.LDAPQueries.CommonProperties83083101100%
 
00
 
SharpHoundCommonLib.LDAPQueries.LdapFilter773010726271.9%
  
131681.2%
  
SharpHoundCommonLib.LdapQueryParameters215264880.7%
  
00
 
SharpHoundCommonLib.LdapQuerySetupResult2351240%
  
00
 
SharpHoundCommonLib.LdapResult<T>126183066.6%
  
00
 
SharpHoundCommonLib.LdapUtils213687900129723.6%
  
10560617.3%
  
SharpHoundCommonLib.Logging2353640%
  
00
 
SharpHoundCommonLib.LogProvider4373657.1%
  
00
 
SharpHoundCommonLib.MockRegistryKey022340%
 
00
 
SharpHoundCommonLib.NoOpLogger2682625%
  
00
 
SharpHoundCommonLib.OutputTypes.ACE818263730.7%
  
1185.5%
  
SharpHoundCommonLib.OutputTypes.AceRegistryAPIResult01190%
 
00
 
SharpHoundCommonLib.OutputTypes.APIResult2028100%
 
00
 
SharpHoundCommonLib.OutputTypes.BoolRegistryAPIResult01170%
 
00
 
SharpHoundCommonLib.OutputTypes.CARegistryData044100%
 
00
 
SharpHoundCommonLib.OutputTypes.CertificateExtension077170%
 
00
 
SharpHoundCommonLib.OutputTypes.Computer01515530%
 
00
 
SharpHoundCommonLib.OutputTypes.ComputerStatus59145335.7%
  
00
 
SharpHoundCommonLib.OutputTypes.Container022100%
 
00
 
SharpHoundCommonLib.OutputTypes.DCRegistryData022530%
 
00
 
SharpHoundCommonLib.OutputTypes.Domain066140%
 
00
 
SharpHoundCommonLib.OutputTypes.DomainTrust80816100%
 
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.MetaTag055140%
 
00
 
SharpHoundCommonLib.OutputTypes.NamedPrincipal58132338.4%
  
00
 
SharpHoundCommonLib.OutputTypes.NTAuthStore01170%
 
00
 
SharpHoundCommonLib.OutputTypes.OU044120%
 
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.User066140%
 
00
 
SharpHoundCommonLib.OutputTypes.UserRightsAssignmentAPIResult38112427.2%
  
040%
 
SharpHoundCommonLib.ParsedGPLink202309100%
 
00
 
SharpHoundCommonLib.PassThroughLogger116174164.7%
  
22100%
 
SharpHoundCommonLib.Processors.ACLProcessor31916348267766.1%
  
31040376.9%
  
SharpHoundCommonLib.Processors.CachedLocalItem70716100%
 
00
 
SharpHoundCommonLib.Processors.CertAbuseProcessor02422424780%
 
01240%
 
SharpHoundCommonLib.Processors.CertRegistryResult0334780%
 
00
 
SharpHoundCommonLib.Processors.ComputerAvailability901210216788.2%
  
213265.6%
  
SharpHoundCommonLib.Processors.ComputerProperties606931100%
 
00
 
SharpHoundCommonLib.Processors.ComputerSessionProcessor1427521732865.4%
  
7511863.5%
  
SharpHoundCommonLib.Processors.ContainerProcessor64208417876.1%
  
537867.9%
  
SharpHoundCommonLib.Processors.DCRegistryProcessor055870%
 
020%
 
SharpHoundCommonLib.Processors.DomainTrustProcessor54106411584.3%
  
335164.7%
  
SharpHoundCommonLib.Processors.EnrollmentAgentRestriction0554780%
 
00
 
SharpHoundCommonLib.Processors.GPOLocalGroupProcessor3044635057786.8%
  
19725976%
  
SharpHoundCommonLib.Processors.GroupProcessor439529582.6%
  
476869.1%
  
SharpHoundCommonLib.Processors.IssuancePolicyProperties202931100%
 
00
 
SharpHoundCommonLib.Processors.LdapPropertyProcessor39016055093170.9%
  
12625449.6%
  
SharpHoundCommonLib.Processors.LocalGroupProcessor13910924837556%
  
14921369.9%
  
SharpHoundCommonLib.Processors.ParsedCertificate21103193167.7%
  
4850%
  
SharpHoundCommonLib.Processors.PortScanner454581056.8%
  
0180%
 
SharpHoundCommonLib.Processors.RegistryResult01170%
 
00
 
SharpHoundCommonLib.Processors.SPNProcessors315366586.1%
  
253278.1%
  
SharpHoundCommonLib.Processors.UserProperties404931100%
 
00
 
SharpHoundCommonLib.Processors.UserRightsAssignmentProcessor1014614722968.7%
  
6410560.9%
  
SharpHoundCommonLib.ResolvedSearchResult93123575%
  
1250%
  
SharpHoundCommonLib.Result76134153.8%
  
1250%
  
SharpHoundCommonLib.Result<T>76134153.8%
  
00
 
SharpHoundCommonLib.SearchResultEntryWrapper01361362040%
 
0680%
 
SharpHoundCommonLib.SHRegistryKey099340%
 
020%
 
SharpHoundCommonLib.WellKnownPrincipal713749195.9%
  
32133097.2%
  
SharpHoundRPC99561660156515%
  
141688.3%
  
SharpHoundRPC.Extensions2411357068.5%
  
102050%
  
SharpHoundRPC.Handles.BasePointer33639687.6%
  
0140%
 
SharpHoundRPC.Handles.LSAHandle01717330%
 
020%
 
SharpHoundRPC.Handles.LSAPointer01313260%
 
020%
 
SharpHoundRPC.Handles.NetAPIPointer310132623%
  
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.NetAPIMethods4263010413.3%
  
1128.3%
  
SharpHoundRPC.NetAPINative.NetAPIResult<T>253284989.2%
  
22100%
 
SharpHoundRPC.NetAPINative.NetSessionEnumResults70726100%
 
00
 
SharpHoundRPC.NetAPINative.NetWkstaUserEnumResults70726100%
 
00
 
SharpHoundRPC.Result<T>264305586.6%
  
1250%
  
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%