{"results":{"result":{"added-files":{"code-health":0.0,"old-code-health":0.0,"files":[]},"external-review-url":"https://github.com/linagora/tmail-flutter/pull/4361","old-code-health":8.010035287722372,"modified-files":{"code-health":8.004298930528254,"old-code-health":8.010035287722372,"files":[{"file":"lib/features/base/model/filter_filter.dart","loc":104,"old-loc":104,"code-health":9.182751158543152,"old-code-health":9.182751158543152},{"file":"lib/features/destination_picker/presentation/destination_picker_controller.dart","loc":348,"old-loc":347,"code-health":8.816158827775617,"old-code-health":9.096655465156704},{"file":"lib/features/mailbox/presentation/extensions/presentation_mailbox_extension.dart","loc":173,"old-loc":161,"code-health":8.558693000187485,"old-code-health":8.558693000187485},{"file":"lib/features/mailbox_dashboard/presentation/controller/advanced_filter_controller.dart","loc":586,"old-loc":600,"code-health":10.0,"old-code-health":10.0},{"file":"lib/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller.dart","loc":3153,"old-loc":3151,"code-health":6.660906512860437,"old-code-health":6.660906512860437},{"file":"lib/features/mailbox_dashboard/presentation/model/search/search_email_filter.dart","loc":252,"old-loc":232,"code-health":10.0,"old-code-health":10.0},{"file":"lib/features/mailbox_dashboard/presentation/widgets/advanced_search/advanced_search_input_form.dart","loc":175,"old-loc":175,"code-health":9.16200506354961,"old-code-health":9.156826763532225},{"file":"lib/features/search/email/presentation/search_email_controller.dart","loc":1077,"old-loc":1073,"code-health":8.545379580978913,"old-code-health":8.545379580978913},{"file":"lib/features/thread/presentation/thread_controller.dart","loc":1472,"old-loc":1469,"code-health":6.897232245067055,"old-code-health":6.897232245067055},{"file":"lib/main/localizations/app_localizations.dart","loc":4933,"old-loc":4921,"code-health":8.545379580978913,"old-code-health":8.545379580978913},{"file":"model/lib/mailbox/presentation_mailbox.dart","loc":141,"old-loc":139,"code-health":9.6882083290695,"old-code-health":9.6882083290695}]},"removed-files":{"code-health":0.0,"old-code-health":0.0,"files":[]},"external-review-id":"4361","analysis-time":"2026-04-03T10:16:04Z","negative-impact-count":0,"suppressions":{"number-of-types":0,"number-of-files-touched":0,"findings":[]},"affected-hotspots":3,"commits":["e5e7374bed84ff9d6a336cf0d340540332c444f6"],"is-negative-review":false,"negative-findings":{"number-of-types":0,"number-of-files-touched":0,"findings":[]},"positive-impact-count":2,"repo":"tmail-flutter","code-health":8.004298930528254,"version":"3.0","authors":["dab246"],"directives":{"added":[],"removed":[]},"positive-findings":{"number-of-types":2,"number-of-files-touched":2,"findings":[{"name":"Lines of Declarations in a Single File","file":"lib/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller.dart","change-type":"improved","change-level":"improvement","is-hotspot?":true,"what-changed":"The lines of data declarations decreases from 2519 to 2515, threshold = 1500"},{"method":"AdvancedSearchInputForm.build","why-it-occurs":"Overly long functions make the code harder to read. The recommended maximum function length for the Dart language is 70 lines of code. Severity: Brain Method - Complex Method - Long Method.","name":"Large Method","file":"lib/features/mailbox_dashboard/presentation/widgets/advanced_search/advanced_search_input_form.dart","change-level":"improvement","is-hotspot?":false,"line":23,"what-changed":"AdvancedSearchInputForm.build decreases from 155 to 154 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":"improved"}]},"notices":{"number-of-types":0,"number-of-files-touched":0,"findings":[]},"external-review-provider":"GitHub"},"analysistime":"2026-04-03T10:16:03.000Z","project-name":"james-project","repository":"https://github.com/linagora/tmail-flutter.git"}}