File tree 1 file changed +27
-0
lines changed 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 18
18
Discuss in https://github.com/microsoft/codecoverage.
19
19
-->
20
20
<ModulePath >.*Moq\.Analyzers\.dll$</ModulePath >
21
+ <ModulePath >.*Moq\.CodeFixes\.dll$</ModulePath >
21
22
</Include >
23
+ <Exclude >
24
+ <ModulePath >.*\.TestAdapter\.dll$</ModulePath > <!-- Excludes test adapters -->
25
+ <ModulePath >.*xunit.*</ModulePath > <!-- Excludes xUnit framework -->
26
+ </Exclude >
22
27
</ModulePaths >
28
+ <Attributes >
29
+ <Exclude >
30
+ <Attribute >System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute</Attribute >
31
+ </Exclude >
32
+ </Attributes >
33
+ <Sources >
34
+ <Exclude >
35
+ <Source >.*/PerformanceSensitiveAttribute\.cs$</Source > <!-- Excludes the class source file -->
36
+ </Exclude >
37
+ </Sources >
38
+ <Classes >
39
+ <Exclude >
40
+ <Class >Roslyn.Utilities.PerformanceSensitiveAttribute</Class > <!-- Excludes the class from coverage -->
41
+ </Exclude >
42
+ </Classes >
43
+ <Functions >
44
+ <Exclude >
45
+ <Function >^get_.*</Function > <!-- Excludes property getters -->
46
+ <Function >^set_.*</Function > <!-- Excludes property setters -->
47
+ <Function >^.*Test.*</Function > <!-- Excludes test methods -->
48
+ </Exclude >
49
+ </Functions >
23
50
</CodeCoverage >
24
51
</Configuration >
25
52
</DataCollector >
You can’t perform that action at this time.
0 commit comments