CartFlows_Legacy_Importer D

Total Complexity 170
Dependencies 9
Dependents 0
Total lines 1,739
Lines of code 1,135
Logical lines of code 443
Comment lines 344
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
js_templates()
C
23
8 370
import_flow()
B
33 20 96
import_single_flow_from_json()
B
36 17 74
import_step()
A
41 15 52
import_post_meta()
A
47 14 32
get_content()
A
46 10 40
scripts()
A
37 7 80
create_default_flow()
A
39 7 72
step_create_blank()
A
41 8 53
import_json()
A
51 9 24
export_flow()
A
54 8 18
export_json()
S
54 7 19
activate_plugin()
S
50 5 31
get_flow_export_data()
S
50 4 31
create_flow()
S
57 3 17
get_all_flow_export_data()
S
58 3 16
export_link()
S
66 4 6
import_from_json_data()
S
69 3 7
localize_vars()
S
60 2 14
set_step_to_flow()
S
60 2 13
import_template_elementor()
S
60 2 12
__construct()
S
57 1 16
is_supported_post()
S
71 2 6
get_instance()
S
71 2 6
clear_cache()
S
74 2 5
imported_successfully()
S
72 1 7
supported_post_types()
S
69 1 8
importer_markup()
S
80 1 3
exporter_markup()
S
80 1 3
add_to_menus()
S
72 1 4