-
Home
-
Simple Newsletter Plugin – Noptin
-
2.0.2
-
Code
-
Classes
- Noptin_Automation_Rules
Total Complexity |
47 |
Dependencies |
23 |
Dependents |
1 |
Total lines |
385 |
Lines of code |
186 |
Logical lines of code |
96 |
Comment lines |
129 |
Methods |
17 |
Properties |
2 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
S |
46 |
6 |
39 |
create_rule() |
S |
47 |
6 |
37 |
update_rule() |
S |
48 |
6 |
32 |
delete_automation_rule_on_campaign_delete() |
S |
62 |
6 |
10 |
admin_delete_automation_rule() |
S |
55 |
4 |
20 |
delete_campaign_on_automation_rule_delete() |
S |
69 |
3 |
6 |
delete_rule() |
S |
62 |
2 |
11 |
get_action() |
S |
78 |
2 |
3 |
get_trigger() |
S |
78 |
2 |
3 |
has_action() |
S |
78 |
2 |
3 |
has_trigger() |
S |
78 |
2 |
3 |
add_trigger() |
S |
79 |
1 |
3 |
get_triggers() |
S |
82 |
1 |
3 |
add_action() |
S |
79 |
1 |
3 |
prepare_rule() |
S |
80 |
1 |
3 |
get_actions() |
S |
82 |
1 |
3 |
get_table() |
S |
76 |
1 |
4 |