-
Home
-
WooCommerce
-
7.7.0
-
Code
-
Classes
- WC_Webhook
Total Complexity |
115 |
Dependencies |
8 |
Dependents |
10 |
Total lines |
1,054 |
Lines of code |
470 |
Logical lines of code |
224 |
Comment lines |
441 |
Methods |
50 |
Properties |
2 |
Methods 50
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_wp_api_payload() |
A |
52 |
9 |
24 |
get_legacy_api_payload() |
A |
49 |
8 |
31 |
log_delivery() |
S |
42 |
5 |
54 |
is_valid_action() |
S |
56 |
7 |
18 |
is_valid_resource() |
S |
55 |
6 |
19 |
__construct() |
S |
56 |
5 |
19 |
get_topic_hooks() |
S |
43 |
2 |
61 |
is_valid_processing_action() |
S |
61 |
5 |
11 |
is_valid_post_action() |
S |
64 |
5 |
9 |
should_deliver() |
S |
72 |
5 |
4 |
build_payload() |
S |
55 |
3 |
19 |
deliver_ping() |
S |
56 |
3 |
17 |
enqueue() |
S |
64 |
4 |
9 |
is_valid_user_action() |
S |
67 |
3 |
7 |
deliver() |
S |
49 |
1 |
30 |
set_api_version() |
S |
70 |
2 |
6 |
get_hooks() |
S |
66 |
2 |
8 |
set_topic() |
S |
69 |
2 |
7 |
set_status() |
S |
70 |
2 |
6 |
get_event() |
S |
73 |
2 |
4 |
get_api_version() |
S |
74 |
2 |
4 |
get_i18n_status() |
S |
72 |
2 |
5 |
process() |
S |
67 |
2 |
8 |
failed_delivery() |
S |
64 |
2 |
10 |
get_delivery_log() |
S |
80 |
1 |
3 |
get_new_delivery_id() |
S |
79 |
1 |
3 |
get_resource() |
S |
74 |
1 |
4 |
is_active() |
S |
80 |
1 |
3 |
is_valid_topic() |
S |
80 |
1 |
3 |
set_failure_count() |
S |
79 |
1 |
3 |
set_pending_delivery() |
S |
79 |
1 |
3 |
is_already_processed() |
S |
78 |
1 |
3 |
set_user_id() |
S |
79 |
1 |
3 |
set_delivery_url() |
S |
78 |
1 |
3 |
generate_signature() |
S |
73 |
1 |
4 |
set_secret() |
S |
80 |
1 |
3 |
set_date_modified() |
S |
80 |
1 |
3 |
get_name() |
S |
78 |
1 |
3 |
set_date_created() |
S |
80 |
1 |
3 |
set_name() |
S |
80 |
1 |
3 |
get_pending_delivery() |
S |
79 |
1 |
3 |
get_failure_count() |
S |
79 |
1 |
3 |
get_user_id() |
S |
79 |
1 |
3 |
get_delivery_url() |
S |
78 |
1 |
3 |
get_topic() |
S |
78 |
1 |
3 |
get_secret() |
S |
78 |
1 |
3 |
get_date_modified() |
S |
79 |
1 |
3 |
get_delivery_logs() |
S |
77 |
1 |
3 |
get_status() |
S |
78 |
1 |
3 |
get_date_created() |
S |
79 |
1 |
3 |