repowiseapache/fineract

Code health of apache/fineract

Repowise scores apache/fineract at 7.1 out of 10 for code health, which reads as good, alongside maintainability 8.1 and static performance 9.8 on the same scale. There are 7,878 open findings across the three pillars, and the lowest-scoring file is SavingsAccountReadPlatformServiceImpl.java at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

468 critical, 1,449 high, 2,057 medium, 2,875 low.

Hotspots

198 files are flagged as hotspots. The top 5:

  • fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/stepdef/loan/WorkingCapitalLoanAccountStepDef.java: 34 commits in the last 90 days from 9 contributors with 1 recent bug fix
  • fineract-working-capital-loan/src/main/java/org/apache/fineract/portfolio/workingcapitalloan/service/WorkingCapitalLoanWritePlatformServiceImpl.java: 40 commits in the last 90 days from 9 contributors with 2 recent bug fixes
  • fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/stepdef/loan/LoanStepDef.java: 4 commits in the last 90 days from 21 contributors with 2 recent bug fixes
  • fineract-progressive-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/transactionprocessor/impl/AdvancedPaymentScheduleTransactionProcessor.java: 6 commits in the last 90 days from 22 contributors with 9 recent bug fixes
  • fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/stepdef/loan/WorkingCapitalStepDef.java: 8 commits in the last 90 days from 11 contributors

Lowest-scoring files

  • fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsAccountReadPlatformServiceImpl.java: 1.0 out of 10 with 1 bug fix in the last 180 days
  • fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java: 1.0 out of 10 with 3 bug fixes in the last 180 days
  • fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanChargeWritePlatformServiceImpl.java: 1.0 out of 10
  • fineract-savings/src/main/java/org/apache/fineract/portfolio/savings/domain/SavingsAccount.java: 1.0 out of 10 with 2 bug fixes in the last 180 days
  • fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/DepositAccountWritePlatformServiceJpaRepositoryImpl.java: 1.0 out of 10 with 1 bug fix in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 11 had a bug fix in the last 180 days. Across all 6,922 scored files, 5.4% had a bug fix in that window.

Dead code and refactoring

Repowise found 151 unused exports. 507 refactoring targets across 507 files would raise the score.

More on fineract: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language