You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
generateProperties(LoC = 230 lines)
Why does this problem occur?
Overly long functions make the code harder to read. The recommended maximum function length for the Java language is 70 lines of code. Severity: Brain Method - Complex Method - Long Method.
As of 03/04/2026, tracking the code class with health below < 9, for potential improvement:
Dav Client (ongoing PR => Refactor DavCLient #2300)
IdentityProvisionListener
https://codescene.io/projects/75877/jobs/6025075/results/code/hotspots/biomarkers?name=tmail-backend%2Ftmail-backend%2Fjmap%2Fextensions%2Fsrc%2Fmain%2Fjava%2Fcom%2Flinagora%2Ftmail%2Fjames%2Fjmap%2Fevent%2FIdentityProvisionListener.java
Mostly code duplication
TmailMailboxMappingFactory
https://codescene.io/projects/75877/jobs/6025075/results/code/hotspots/biomarkers?name=tmail-backend%2Ftmail-backend%2Fmailbox%2Fopensearch%2Fsrc%2Fmain%2Fjava%2Fcom%2Flinagora%2Ftmail%2Fmailbox%2Fopensearch%2FTmailMailboxMappingFactory.java
You have 1 functions that exceed the threshold.
generateProperties(LoC = 230 lines)
Why does this problem occur?
Overly long functions make the code harder to read. The recommended maximum function length for the Java language is 70 lines of code. Severity: Brain Method - Complex Method - Long Method.
RabbitMQAndRedisEventBus
File Code Health Impact Categories Improved
RabbitMQAndRedisEventBus.java 8.82 → 9.39 Code Duplication
Was improved to 9.39 after the RabbitMQ partitioning PR
TeamMailboxManagementRoutes
https://codescene.io/projects/75877/jobs/6025075/results/code/hotspots/biomarkers?name=tmail-backend%2Ftmail-backend%2Fwebadmin%2Fwebadmin-team-mailboxes%2Fsrc%2Fmain%2Fjava%2Fcom%2Flinagora%2Ftmail%2Fwebadmin%2FTeamMailboxManagementRoutes.java
Code duplication,
setSubAddressingmethod complexityTmailEventSerializer
https://codescene.io/projects/75877/jobs/6025075/results/code/hotspots/biomarkers?name=tmail-backend%2Ftmail-backend%2Fguice%2Fdistributed%2Fsrc%2Fmain%2Fjava%2Fcom%2Flinagora%2Ftmail%2Fevent%2FTmailEventSerializer.java
Otherwise, most of our "unhealthy" code by CodeScene is tests, which are supposed to be explicit and accept code duplication.