{"results":{"result":{"added-files":{"code-health":10.0,"old-code-health":0.0,"files":[{"file":"src/modules/views/Assistant/AssistantLayout.jsx","loc":41,"code-health":10.0},{"file":"src/modules/navigation/AppRoute.spec.jsx","loc":9,"code-health":10.0}]},"external-review-url":"https://github.com/linagora/twake-drive/pull/3757","old-code-health":9.305905231514823,"modified-files":{"code-health":9.30766320418194,"old-code-health":9.305905231514823,"files":[{"file":"jestHelpers/setup.js","loc":39,"old-loc":31,"code-health":10.0,"old-code-health":10.0},{"file":"src/modules/navigation/AppRoute.jsx","loc":273,"old-loc":264,"code-health":9.208757947636503,"old-code-health":9.22440167915482}]},"removed-files":{"code-health":0.0,"old-code-health":0.0,"files":[]},"external-review-id":"3757","analysis-time":"2026-07-07T08:04:37Z","negative-impact-count":1,"suppressions":{"number-of-types":0,"number-of-files-touched":0,"findings":[]},"affected-hotspots":1,"commits":["2d643a4969104d15f4b3ec404d2bf7fc0a72a89d","24a255e7ff2a8f4c50cc1b7c1a0adfecd1423df2","7324f2335dab6ca36e4f3d23ff5f5867f9865213","f061807cac72583d23ef44bbd2bb49ca35e5db9d","b11641782976b2cce5423e12b53ec492669e0c84","89da350a74d661082c185f073bea325b91be9a37","86c66bc1960249a2ebf7b447c66f536d53ac23be"],"is-negative-review":true,"negative-findings":{"number-of-types":1,"number-of-files-touched":1,"findings":[{"method":"AppRoute","why-it-occurs":"Overly long functions make the code harder to read. The recommended maximum function length for the React language is 120 lines of code. Severity: Brain Method - Complex Method - Long Method.","name":"Large Method","file":"src/modules/navigation/AppRoute.jsx","refactoring-examples":null,"change-level":"warning","is-hotspot?":true,"line":141,"what-changed":"AppRoute increases from 142 to 145 lines of code, threshold = 120","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":"twake-drive","code-health":9.40328983343858,"version":"3.0","authors":["Paul Tran-Van","Théo Poizat"],"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":"2026-07-07T08:04:36.000Z","project-name":"twake-drive","repository":"https://github.com/linagora/twake-drive.git"}}