src/SSC/Contracts.cs

実行済み 19 · 未実行 0 · 対象外 97
Coverage source: 043e27b9e5febd713c747d2558802e450fad8edd

実行済みCoberturaのhit数が1以上の行です。
未実行カバレッジ対象ですがhit数が0の行です。
対象外Coberturaに実行対象として記録されていない行です。
行状態HitsSource
1 対象外 namespace SSC;
2 対象外
3 対象外 public enum ValueState
4 対象外 {
5 対象外 Missing,
6 対象外 Matched,
7 対象外 Mismatched,
8 対象外 }
9 対象外
10 対象外 public enum CompareIssueLevel
11 対象外 {
12 対象外 Error,
13 対象外 Warning,
14 対象外 }
15 対象外
16 対象外 public enum CompareIssueCode
17 対象外 {
18 対象外 InputModelListEmpty,
19 対象外 InputModelNullElement,
20 対象外 UnsupportedContainerType,
21 対象外 CompareKeyNotFoundOnSequenceElement,
22 対象外 CompareKeyValueIsNull,
23 対象外 DuplicateCompareKeyDetected,
24 対象外 ModelIndexOutOfRange,
25 対象外 ReflectionMetadataBuildFailed,
26 対象外 KeyNotFound,
27 対象外 }
28 対象外
29 対象外 public sealed class CompareIssue
30 対象外 {
31 実行済み 22 public CompareIssueLevel Level { get; init; }
32 対象外
33 実行済み 19 public CompareIssueCode Code { get; init; }
34 対象外
35 実行済み 30 public string Path { get; init; } = string.Empty;
36 対象外
37 実行済み 17 public int? ModelIndex { get; init; }
38 対象外
39 実行済み 17 public string? KeyText { get; init; }
40 対象外
41 実行済み 26 public string Message { get; init; } = string.Empty;
42 対象外 }
43 対象外
44 対象外 public sealed class CompareResult<T>
45 対象外 {
46 実行済み 305 public Parallel<T>? Root { get; init; }
47 対象外
48 実行済み 241 public IReadOnlyList<CompareIssue> Issues { get; init; } = Array.Empty<CompareIssue>();
49 対象外
50 実行済み 118 public bool HasError { get; init; }
51 対象外
52 実行済み 238 internal CompareConfiguration Configuration { get; init; } = new();
53 対象外 }
54 対象外
55 対象外 public interface Parallel<T>
56 対象外 {
57 対象外 T? this[int modelIndex] { get; }
58 対象外
59 対象外 int Count { get; }
60 対象外
61 対象外 bool AllPresent { get; }
62 対象外
63 対象外 bool AnyPresent { get; }
64 対象外
65 対象外 ValueState GetState(int modelIndex);
66 対象外 }
67 対象外
68 対象外 public interface IParallelNode
69 対象外 {
70 対象外 int Count { get; }
71 対象外
72 対象外 bool AllPresent { get; }
73 対象外
74 対象外 bool AnyPresent { get; }
75 対象外
76 対象外 string? KeyText { get; }
77 対象外
78 対象外 object? GetValue(int modelIndex);
79 対象外
80 対象外 ValueState GetState(int modelIndex);
81 対象外
82 対象外 bool HasDifferences();
83 対象外
84 対象外 IReadOnlyList<ParallelChildSet> GetDirectChildren();
85 対象外 }
86 対象外
87 対象外 public readonly struct ParallelChildSet
88 対象外 {
89 対象外 public ParallelChildSet(string name, IReadOnlyList<IParallelNode> nodes, bool hasDifferences)
90 対象外 {
91 実行済み 197 ArgumentException.ThrowIfNullOrEmpty(name);
92 実行済み 197 ArgumentNullException.ThrowIfNull(nodes);
93 実行済み 197 Name = name;
94 実行済み 197 Nodes = nodes;
95 実行済み 197 HasDifferences = hasDifferences;
96 実行済み 197 }
97 対象外
98 実行済み 273 public string Name { get; }
99 対象外
100 実行済み 382 public IReadOnlyList<IParallelNode> Nodes { get; }
101 対象外
102 実行済み 190 public bool HasDifferences { get; }
103 対象外 }
104 対象外
105 対象外 internal interface IParallelNodeInternal
106 対象外 {
107 対象外 Type ModelType { get; }
108 対象外
109 対象外 bool TryGetChildren(string memberName, out IReadOnlyList<IParallelNode> nodes);
110 対象外
111 対象外 bool TryGetMemberNode(string memberName, out IParallelNode node);
112 対象外
113 対象外 bool TryGetContainerPresenceStates(string memberName, out IReadOnlyList<NodePresenceState> states);
114 対象外
115 対象外 NodePresenceState GetPresenceState(int modelIndex);
116 対象外 }