{"results":{"result":{"added-files":{"code-health":0.0,"old-code-health":0.0,"files":[]},"external-review-url":"https://github.com/hathach/tinyusb/pull/3294","old-code-health":8.901123350601177,"modified-files":{"code-health":8.886460767914887,"old-code-health":8.901123350601177,"files":[{"file":"hw/bsp/lpc55/family.c","loc":205,"old-loc":181,"code-health":9.457298154557076,"old-code-health":9.581652546385712},{"file":"src/portable/ohci/ohci.c","loc":489,"old-loc":485,"code-health":8.64715266104035,"old-code-health":8.64715266104035}]},"removed-files":{"code-health":0.0,"old-code-health":0.0,"files":[]},"external-review-id":"3294","analysis-time":"2025-10-30T07:35:29Z","negative-impact-count":1,"suppressions":{"number-of-types":0,"number-of-files-touched":0,"findings":[]},"affected-hotspots":0,"commits":["83baf13dcbde66942419c03348cc88ef22575e32","88305b1b34160b4548609b78807be910944856ab"],"is-negative-review":true,"negative-findings":{"number-of-types":1,"number-of-files-touched":1,"findings":[{"method":"board_init","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":"hw/bsp/lpc55/family.c","refactoring-examples":null,"change-level":"warning","is-hotspot?":false,"line":138,"what-changed":"board_init increases from 75 to 98 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":"tinyusb","code-health":8.886460767914887,"version":"3.0","authors":["hathach"],"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-10-30T07:35:29.000Z","project-name":"tinyusb","repository":"https://github.com/hathach/tinyusb.git"}}