petrsvihlik/WopiHost

View on GitHub
sample/WopiHost.Validator/Infrastructure/WopiEvents.cs

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Method OnGetWopiCheckFileInfo has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

public static Task<WopiCheckFileInfo> OnGetWopiCheckFileInfo(WopiCheckFileInfoContext context)
{
var wopiCheckFileInfo = context.CheckFileInfo;
wopiCheckFileInfo.AllowAdditionalMicrosoftServices = true;
wopiCheckFileInfo.AllowErrorReportPrompt = true;
Severity: Minor
Found in sample/WopiHost.Validator/Infrastructure/WopiEvents.cs - About 1 hr to fix
    Category
    Status