-
Home
-
Sunshine Photo Cart: Free Client Photo Galleries for Photographers
-
3.4.8.1
-
Code
-
Classes
- SPC_Discount
Total Complexity |
120 |
Dependencies |
0 |
Dependents |
0 |
Total lines |
417 |
Lines of code |
282 |
Logical lines of code |
177 |
Comment lines |
12 |
Methods |
28 |
Properties |
2 |
Methods 28
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
is_valid() |
D |
35 |
41 |
70 |
get_total() |
D |
34 |
32 |
80 |
__construct() |
A |
50 |
13 |
28 |
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 |
is_allowed() |
S |
77 |
1 |
4 |
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 |