Skip to content

test(refactor): improve code coverage - #635

Merged
rjmurillo merged 48 commits into
mainfrom
refactor/coverage-analysis
Jul 27, 2025
Merged

test(refactor): improve code coverage#635
rjmurillo merged 48 commits into
mainfrom
refactor/coverage-analysis

test: Add unit test for CreateDiagnostic_FromOperation_WithProperties…

df1886c
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jul 26, 2025 in 0s

1 new issue (0 max.) of at least medium severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 3
           

Complexity increasing per file
==============================
- tests/Moq.Analyzers.Test/Common/DiagnosticEditPropertiesTests.cs  1
- tests/Moq.Analyzers.Test/Common/DiagnosticExtensionsTests.cs  1
         

Clones added
============
- tests/Moq.Analyzers.Test/Common/DiagnosticExtensionsTests.cs  2
         

See the complete overview on Codacy

Annotations

Check notice on line 85 in tests/Moq.Analyzers.Test/Common/DiagnosticEditPropertiesTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/Moq.Analyzers.Test/Common/DiagnosticEditPropertiesTests.cs#L85

Assign this magic number '1234' to a well-named variable or constant, and use that instead.

Check warning on line 1 in tests/Moq.Analyzers.Test/Common/DiagnosticExtensionsTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/Moq.Analyzers.Test/Common/DiagnosticExtensionsTests.cs#L1

Provide an 'AssemblyVersion' attribute for assembly 'srcassembly.dll'.

Check notice on line 2 in tests/Moq.Analyzers.Test/Common/DiagnosticExtensionsTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

tests/Moq.Analyzers.Test/Common/DiagnosticExtensionsTests.cs#L2

Remove this unnecessary 'using'.