-
Home
-
Simple Newsletter Plugin – Noptin
-
2.0.3
-
Code
-
Classes
- Noptin_WooCommerce_Product_Purchase_Trigger
Total Complexity |
38 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
344 |
Lines of code |
186 |
Logical lines of code |
75 |
Comment lines |
97 |
Methods |
14 |
Properties |
1 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
unserialize_trigger_args() |
A |
44 |
10 |
43 |
maybe_trigger() |
A |
47 |
8 |
37 |
get_rule_table_description() |
S |
54 |
4 |
21 |
is_rule_valid_for_args() |
S |
63 |
5 |
10 |
get_settings() |
S |
49 |
2 |
32 |
__construct() |
S |
75 |
1 |
4 |
get_id() |
S |
82 |
1 |
3 |
get_name() |
S |
79 |
1 |
3 |
get_description() |
S |
79 |
1 |
3 |
get_known_smart_tags() |
S |
69 |
1 |
8 |
init_refund_trigger() |
S |
80 |
1 |
3 |
init_buy_trigger() |
S |
80 |
1 |
3 |
get_test_smart_tags() |
S |
64 |
1 |
10 |
serialize_trigger_args() |
S |
71 |
1 |
6 |