rjmurillo/moq.analyzers

View on GitHub
src/Common/SemanticModelExtensions.cs

Summary

Maintainability
A
1 hr
Test Coverage

Method GetAllMatchingSymbols has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private static List<T> GetAllMatchingSymbols<T>(this SemanticModel semanticModel, ExpressionSyntax expression)
        where T : class
    {
        List<T> matchingSymbols = new();

Severity: Minor
Found in src/Common/SemanticModelExtensions.cs - About 1 hr to fix

    Unexpected tabs found.
    Open

    using System.Diagnostics;

    Expected an indentation at 16 instead of at 15.
    Open

                   || methodName.StartsWith("Moq.Language.IReturns", StringComparison.Ordinal);

    There are no issues that match your filters.

    Category
    Status