petrsvihlik/WopiHost

View on GitHub
src/WopiHost.Core/Results/FileResult.cs

Summary

Maintainability
A
1 hr
Test Coverage

Method ExecuteResultAsync has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public override async Task ExecuteResultAsync(ActionContext context)
    {
        var response = context.HttpContext.Response;
        response.ContentType = ContentType;
        var targetStream = response.Body;
Severity: Minor
Found in src/WopiHost.Core/Results/FileResult.cs - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status