-
Home
-
Sunshine Photo Cart: Free Client Photo Galleries for Photographers
-
3.1.8
-
Code
-
Classes
- SPC_Discount
Total Complexity |
98 |
Dependencies |
0 |
Dependents |
0 |
Total lines |
362 |
Lines of code |
252 |
Logical lines of code |
154 |
Comment lines |
3 |
Methods |
28 |
Properties |
2 |
Methods 28
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_total() |
D |
34 |
33 |
79 |
__construct() |
A |
50 |
13 |
28 |
is_valid() |
A |
55 |
10 |
19 |
is_allowed() |
A |
52 |
9 |
26 |
get_use_count_by() |
S |
62 |
4 |
11 |
get_allowed_galleries() |
S |
62 |
3 |
12 |
get_disallowed_galleries() |
S |
62 |
3 |
12 |
is_solo() |
S |
78 |
2 |
3 |
apply_to_shipping() |
S |
78 |
2 |
3 |
increment_use_count() |
S |
73 |
1 |
5 |
get_max_uses_per_person() |
S |
79 |
1 |
3 |
get_max_uses() |
S |
79 |
1 |
3 |
get_use_count() |
S |
79 |
1 |
3 |
max_product_quantity() |
S |
80 |
1 |
3 |
get_allowed_categories() |
S |
80 |
1 |
3 |
get_disallowed_categories() |
S |
80 |
1 |
3 |
is_auto() |
S |
80 |
1 |
3 |
get_disallowed_products() |
S |
80 |
1 |
3 |
get_allowed_products() |
S |
80 |
1 |
3 |
get_required_products() |
S |
80 |
1 |
3 |
get_end_date() |
S |
80 |
1 |
3 |
get_start_date() |
S |
80 |
1 |
3 |
enables_free_shipping() |
S |
80 |
1 |
3 |
get_min_amount() |
S |
79 |
1 |
3 |
get_amount() |
S |
79 |
1 |
3 |
get_type() |
S |
80 |
1 |
3 |
get_code() |
S |
80 |
1 |
3 |
increment_use_count_by() |
S |
80 |
1 |
3 |