< Summary

Class:SharpHoundCommonLib.LDAPQueries.CommonPaths
Assembly:SharpHoundCommonLib
File(s):D:\a\SharpHoundCommon\SharpHoundCommon\src\CommonLib\LdapQueries\CommonPaths.cs
Covered lines:0
Uncovered lines:3
Coverable lines:3
Total lines:19
Line coverage:0% (0 of 3)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
CreateDNPath(...)100%100%

File(s)

D:\a\SharpHoundCommon\SharpHoundCommon\src\CommonLib\LdapQueries\CommonPaths.cs

#LineLine coverage
 1namespace SharpHoundCommonLib.LDAPQueries
 2{
 3    public static class CommonPaths
 4    {
 5        public const string QueryPolicyPath =
 6            "CN=Default Query Policy,CN=Query-Policies,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration";
 7
 8        public const string DirectoryServicePath =
 9            "CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration";
 10
 11        public const string ConfigurationPath = "CN=Configuration";
 12
 13        public static string CreateDNPath(string prePath, string baseDomainDN)
 014        {
 015            return $"{prePath},{baseDomainDN}";
 016        }
 17    }
 18}
 19