WFFN_REST_Store_Checkout D

Total Complexity 249
Dependencies 14
Dependents 1
Total lines 1,294
Lines of code 1,015
Logical lines of code 525
Comment lines 45
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
create_substep()
D
31 36 103
get_store_checkout()
C
34 25 88
delete_store_step()
C
37 25 67
create_store_checkout()
B
37 23 67
create_default_step()
B
42 23 44
import_template()
B
36 21 74
delete_substep()
B
44 18 40
export_funnels()
B
38 16 65
import_funnels()
A
39 14 67
register_routes()
A
31 1 175
import_wc_template()
A
52 9 23
import_ty_template()
S
55 6 19
maybe_have_substeps_export()
S
56 6 18
create_clone_checkout()
S
53 5 21
delete_store_checkout()
S
54 5 21
update_status()
S
55 4 19
get_create_funnels_collection()
S
47 1 41
get_create_substeps_collection()
S
52 1 28
get_instance()
S
72 2 6
_should_display_block_incompatible_notice()
S
71 2 5
delete_global_funnel_data()
S
81 1 3
__construct()
S
79 1 3
get_delete_steps_collection()
S
65 1 9
get_write_api_permission_check()
S
79 1 3
get_read_api_permission_check()
S
79 1 3
sanitize_custom()
S
79 1 3