Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
B | HasSubscriptions::changePlanTo() | 0 | 34 | 9 | 0 | 0 | 0 |
B | CreateSubscriptionsTables::up() | 30 | 80 | 1 | 0 | 0 | 0 |
B | HasSubscriptions::subscribeToPlan() | 0 | 39 | 6 | 0 | 0 | 0 |
A | HasSubscriptions::subscribeToInterval() | 0 | 29 | 4 | 0 | 0 | 0 |
A | LaravelSubscriptions\Plan::create() | 0 | 27 | 2 | 0 | 0 | 0 |
A | HasSubscriptions::renewSubscription() | 0 | 27 | 4 | 0 | 0 | 0 |
A | HasSubscriptions::calculateExpireDate() | 0 | 21 | 4 | 0 | 0 | 0 |
A | Traits\HasSubscriptions::abilityFor() | 0 | 21 | 4 | 0 | 0 | 0 |
A | LaravelSubscriptions\Plan::setDefault() | 0 | 18 | 1 | 0 | 0 | 0 |
A | HasSubscriptions::abilitiesList() | 0 | 17 | 2 | 0 | 0 | 0 |
A | LaravelSubscriptionsServiceProvider::boot() | 0 | 16 | 1 | 0 | 0 | 0 |
A | HasSingleInterval::setInterval() | 0 | 13 | 2 | 0 | 0 | 0 |
A | LaravelSubscriptions\Entities\PlanConsumable::make() | 13 | 13 | 1 | 0 | 0 | 0 |
A | LaravelSubscriptions\Entities\PlanFeature::make() | 13 | 13 | 1 | 0 | 0 | 0 |
A | LaravelSubscriptions\Entities\Subscription::make() | 0 | 12 | 2 | 0 | 0 | 0 |