{"results":{"result":{"added-files":{"code-health":0.0,"old-code-health":0.0,"files":[]},"external-review-url":"https://github.com/umbraco/Umbraco-CMS/pull/20847","old-code-health":9.789359948315422,"modified-files":{"code-health":9.792053075257284,"old-code-health":9.789359948315422,"files":[{"file":"src/Umbraco.Cms.Api.Common/DependencyInjection/HideBackOfficeTokensHandler.cs","loc":154,"old-loc":126,"code-health":10.0,"old-code-health":10.0},{"file":"src/Umbraco.Cms.Api.Common/DependencyInjection/UmbracoBuilderAuthExtensions.cs","loc":114,"old-loc":108,"code-health":9.511142317271508,"old-code-health":9.54361322135008}]},"removed-files":{"code-health":0.0,"old-code-health":0.0,"files":[]},"external-review-id":"20847","analysis-time":"2025-11-17T05:39:16Z","negative-impact-count":1,"suppressions":{"number-of-types":0,"number-of-files-touched":0,"findings":[]},"affected-hotspots":0,"commits":["00dee03c65adbacf951c13e82d261881bfa59620","b6549ad68da6b250fdfc4e20e501fe4a52320aa5"],"is-negative-review":true,"negative-findings":{"number-of-types":1,"number-of-files-touched":1,"findings":[{"method":"ConfigureOpenIddict","why-it-occurs":"Overly long functions make the code harder to read. The recommended maximum function length for the C# language is 70 lines of code. Severity: Brain Method - Complex Method - Long Method.","name":"Large Method","file":"src/Umbraco.Cms.Api.Common/DependencyInjection/UmbracoBuilderAuthExtensions.cs","refactoring-examples":null,"change-level":"warning","is-hotspot?":false,"line":30,"what-changed":"ConfigureOpenIddict increases from 82 to 88 lines of code, threshold = 70","how-to-fix":"We recommend to be careful here -- just splitting long functions don't necessarily make the code easier to read. Instead, look for natural chunks inside the functions that expresses a specific task or concern. Often, such concerns are indicated by a Code Comment followed by an if-statement. Use the [EXTRACT FUNCTION](https://refactoring.com/catalog/extractFunction.html) refactoring to encapsulate that concern.","change-type":"degraded"}]},"positive-impact-count":0,"repo":"Umbraco-CMS","code-health":9.792053075257284,"version":"3.0","authors":["kjac"],"directives":{"added":[],"removed":[]},"positive-findings":{"number-of-types":0,"number-of-files-touched":0,"findings":[]},"notices":{"number-of-types":0,"number-of-files-touched":0,"findings":[]},"external-review-provider":"GitHub"},"analysistime":"2025-11-17T05:39:15.000Z","project-name":"Umbraco-CMS","repository":"https://github.com/umbraco/Umbraco-CMS.git"}}