< Summary

Class:SharpHoundCommonLib.ResolvedSearchResult
Assembly:SharpHoundCommonLib
File(s):D:\a\SharpHoundCommon\SharpHoundCommon\src\CommonLib\ResolvedSearchResult.cs
Covered lines:0
Uncovered lines:12
Coverable lines:12
Total lines:35
Line coverage:0% (0 of 12)
Covered branches:0
Total branches:2
Branch coverage:0% (0 of 2)

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
ToString()100%100%

File(s)

D:\a\SharpHoundCommon\SharpHoundCommon\src\CommonLib\ResolvedSearchResult.cs

#LineLine coverage
 1using SharpHoundCommonLib.Enums;
 2
 3namespace SharpHoundCommonLib
 4{
 5    public class ResolvedSearchResult
 6    {
 7        private string _displayName;
 8        private string _objectID;
 9
 10        public string DisplayName
 11        {
 012            get => _displayName?.ToUpper();
 013            set => _displayName = value;
 14        }
 15
 016        public Label ObjectType { get; set; }
 17
 18        public string ObjectId
 19        {
 020            get => _objectID;
 021            set => _objectID = value.ToUpper();
 22        }
 23
 024        public bool Deleted { get; set; }
 25
 026        public string Domain { get; set; }
 027        public string DomainSid { get; set; }
 028        public bool IsDomainController { get; set; }
 29
 30        public override string ToString()
 031        {
 032            return $"{DisplayName} - {ObjectType}";
 033        }
 34    }
 35}