0x00000FF/PEngine

View on GitHub
Sources/PEngine.Web/Controllers/PostController.cs

Summary

Maintainability
A
3 hrs
Test Coverage

Showing 2 of 2 total issues

Method Modify has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

[HttpPost]
[Authorize]
[ValidateAntiForgeryToken]
public async Task<IActionResult> Modify(Post formData,
[FromServices] IHtmlSanitizer sanitizer)
Severity: Major
Found in Sources/PEngine.Web/Controllers/PostController.cs - About 2 hrs to fix

    Method Delete has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    [HttpPost]
    [Authorize]
    [ValidateAntiForgeryToken]
    public async Task<IActionResult> Delete(int id, string message)
    {
    Severity: Minor
    Found in Sources/PEngine.Web/Controllers/PostController.cs - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status