Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B WebhookController::handleWebhook() 0 47 8 8 2 0 0
B Subscription::createPeriodLocally() 0 33 9 9 0 0 0
B Listeners\SubscriptionActivated::handle() 0 25 6 6 0 0 0
A CashierFastspring\Subscription::swap() 0 18 5 5.27 0 0 0
A SubscriptionBuilder::getFastspringIdOfCustomer() 0 15 5 5 0 0 0
A SubscriptionChargeCompleted::handle() 0 27 2 2 0 0 0
A Listeners\OrderCompleted::handle() 0 22 1 1 0 0 0
A CashierFastspring\Billable::onTrial() 0 5 5 5 0 0 0
A CashierFastspring\Billable::subscribedToPlan() 0 7 5 5 0 0 0
A Fastspring\ApiClient::__construct() 0 6 5 5 0 0 0
A CashierFastspring\CashierServiceProvider::boot() 0 14 1 1 0 0 0
A Billable::updateAsFastspringCustomer() 0 14 3 3 0 0 0
A Billable::createAsFastspringCustomer() 0 14 2 2 0 0 0
A Fastspring\ApiClient::apiRequest() 0 13 4 4 0 0 0
A CashierFastspring\Subscription::resume() 0 11 3 3 0 0 0