GeoDir_Admin_Upgrade D

Total Complexity 541
Dependencies 7
Dependents 7
Total lines 2,812
Lines of code 2,250
Logical lines of code 1,138
Comment lines 101
Methods 71
Properties 0

Methods 71

Method Rating Maintainability Complexity Lines of code
update_200_custom_fields()
D
18
52 232
update_200_pm_create_tables()
D
25
27 171
needs_upgrade()
C
45 33 30
update_200_get_options()
C
25
23 158
v2_updated()
C
35 28 75
convert_file_fields()
C
33 24 94
update_200_post_fields()
C
32 23 96
update_200_lm_term_metas()
C
38 24 61
insert_default_tabs()
B
33 19 107
update_200_rr_create_tables()
B
38 18 63
update_200_cp_create_tables()
A
40 13 60
update_200_search_custom_fields()
A
41 13 55
update_200_term_metas()
A
48 13 28
update_200_cp_custom_fields()
A
42 11 48
update_200_franchise_custom_fields()
A
37 8 83
init()
A
41 9 56
update_200_fields_sort_order()
A
48 10 32
filter_custom_fields_saved()
A
51 9 24
update_200_reviews()
A
46 7 45
create_pages()
A
51 8 26
v1_post_types()
A
55 8 20
v1_taxonomies()
A
55 8 20
create_default_options()
A
54 8 19
update_200_set_permalink_structure()
S
52 7 24
update_200_pm_get_options()
S
46 6 38
update_200_generate_attachment_id()
S
58 7 15
update_200_sort_fields_sort_order()
S
55 6 19
update_200_post_tabs_sort_order()
S
55 6 19
update_200_lm_post_fields()
S
56 6 17
update_200_settings()
S
55 5 20
insert_default_fields()
S
56 5 18
update_200_lm_create_default_options()
S
50 4 28
update_200_event_create_default_options()
S
52 4 24
update_200_search_create_default_options()
S
54 4 20
update_200_pm_create_default_options()
S
55 4 19
update_log()
S
59 4 15
update_200_rr_create_default_options()
S
60 4 13
update_200_claim_create_default_options()
S
61 4 12
update_200_franchise_create_default_options()
S
61 4 12
is_done()
S
62 4 11
update_200_claim_create_tables()
S
55 3 20
update_200_merge_data()
S
60 3 16
update_200_cp_create_default_options()
S
63 4 10
update_200_lm_create_tables()
S
52 2 29
update_200_attachments()
S
58 2 19
update_200_cp_update_version()
S
67 3 7
v2_post_types()
S
65 3 10
update_200_franchise_update_version()
S
67 3 7
update_200_pm_update_version()
S
67 3 7
update_200_claim_update_version()
S
67 3 7
update_200_rr_update_version()
S
67 3 7
update_200_lm_update_version()
S
67 3 7
update_200_search_update_version()
S
67 3 7
update_200_event_update_version()
S
67 3 7
update_200_event_create_tables()
S
60 2 14
update_200_lm_get_options()
S
51 1 25
update_200_search_get_options()
S
56 1 17
create_tables()
S
64 2 10
update_200_event_get_options()
S
58 1 15
create_cron_jobs()
S
66 2 8
update_200_franchise_get_options()
S
61 1 12
update_200_terms()
S
74 1 5
update_200_cp_get_options()
S
68 1 7
maybe_enable_setup_wizard()
S
80 1 3
update_200_fields()
S
72 1 6
update_200_rr_get_options()
S
63 1 10
update_200_posts()
S
72 1 6
update_200_db_version()
S
67 1 8
update_gd_version()
S
73 1 5
update_200_claim_get_options()
S
65 1 9
update_200_cp_post_fields()
S
81 1 3