-
Home
-
Swipecart
-
2.8.1
-
Code
-
Classes
- Swipecart_PointsnRewards
Total Complexity |
31 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
268 |
Lines of code |
152 |
Logical lines of code |
82 |
Comment lines |
68 |
Methods |
11 |
Properties |
0 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_discount_and_redeeming_points() |
B |
38 |
16 |
65 |
get_rewardpoints_history() |
S |
52 |
3 |
25 |
get_rewardpoints() |
S |
71 |
2 |
6 |
earn_points_rounding() |
S |
67 |
2 |
8 |
partial_redemption_enabled() |
S |
71 |
2 |
5 |
__construct() |
S |
100 |
1 |
2 |
earn_points_ratio() |
S |
65 |
1 |
9 |
redeem_points_ratio() |
S |
65 |
1 |
9 |
point_label() |
S |
65 |
1 |
9 |
minmax_discount() |
S |
67 |
1 |
8 |
max_product_discount() |
S |
72 |
1 |
6 |