Classes

Bubble size = executable lines. Hover for details, click to navigate.

0% 20% 40% 60% 80% 100% 0 20 40 60 Line Coverage (%) Cyclomatic Complexity App\Domain\Loan\Service\LoanService — Coverage: 92.6% | Lines: 175 | Complexity: 52

 

Sorted by descending CRAP (Change Risk Anti-Patterns) index.

Class CRAP Coverage
App\Domain\Loan\Service\LoanService53.1192.6%

Methods

Bubble size = executable lines. Hover for details, click to navigate.

0% 20% 40% 60% 80% 100% 0 5 10 15 Line Coverage (%) Cyclomatic Complexity App\Domain\Loan\Service\LoanService::makePayment — Coverage: 93.0% | Lines: 43 | Complexity: 6 App\Domain\Loan\Service\LoanService::makeAdditionalPayment — Coverage: 87.2% | Lines: 39 | Complexity: 10 App\Domain\Loan\Service\LoanService::requestLoan — Coverage: 93.8% | Lines: 32 | Complexity: 7 App\Domain\Loan\Service\LoanService::approveLoan — Coverage: 93.8% | Lines: 16 | Complexity: 8 App\Domain\Loan\Service\LoanService::acceptLoan — Coverage: 100.0% | Lines: 13 | Complexity: 3 App\Domain\Loan\Service\LoanService::declineLoan — Coverage: 92.3% | Lines: 13 | Complexity: 4 App\Domain\Loan\Service\LoanService::denyLoan — Coverage: 100.0% | Lines: 5 | Complexity: 3 App\Domain\Loan\Service\LoanService::getLoan — Coverage: 100.0% | Lines: 4 | Complexity: 2 App\Domain\Loan\Service\LoanService::getPaymentSchedule — Coverage: 100.0% | Lines: 2 | Complexity: 1 App\Domain\Loan\Service\LoanService::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 App\Domain\Loan\Service\LoanService::checkEligibility — Coverage: 100.0% | Lines: 1 | Complexity: 1 App\Domain\Loan\Service\LoanService::getInvestorLoans — Coverage: 100.0% | Lines: 1 | Complexity: 1 App\Domain\Loan\Service\LoanService::getPendingLoans — Coverage: 100.0% | Lines: 1 | Complexity: 1 App\Domain\Loan\Service\LoanService::getActiveLoans — Coverage: 100.0% | Lines: 1 | Complexity: 1 App\Domain\Loan\Service\LoanService::getApprovedLoans — Coverage: 0.0% | Lines: 1 | Complexity: 1 App\Domain\Loan\Service\LoanService::getConfig — Coverage: 100.0% | Lines: 1 | Complexity: 1 App\Domain\Loan\Service\LoanService::getValidTerms — Coverage: 100.0% | Lines: 1 | Complexity: 1