Integrate_Asana_With_Gravity_Forms D

Total Complexity 238
Dependencies 13
Dependents 1
Total lines 2,706
Lines of code 1,854
Logical lines of code 754
Comment lines 719
Methods 81
Properties 8

Methods 81

Method Rating Maintainability Complexity Lines of code
process_feed()
B
29 12 139
retrieve_field_value()
B
38 15 72
calculate_due_date_method()
A
42 13 48
validate_due_date_field()
A
46 11 37
render_step_four()
A
33 5 118
render_step_two()
A
39 5 90
attach_files_to_task()
A
46 8 38
get_file_contents()
A
54 9 19
build_settings_response()
A
33 1 135
add_top_level_menu()
A
46 7 42
transform_field_value()
A
50 8 27
get_time_string()
S
51 5 25
handle_review()
S
53 5 24
get_selected_custom_fields()
S
53 5 23
render_step_one()
S
44 2 64
process_custom_merge_tags()
S
56 5 19
render_step_three()
S
42 1 77
create_extra_number_fields()
S
48 2 49
render_plugins_section()
S
57 4 18
get_custom_fields_from_projects()
S
55 4 17
maybe_get_review()
S
63 5 10
map_custom_fields_to_asana()
S
60 4 13
prepare_multi_enum_custom_field()
S
62 4 11
generate_number_input_html()
S
53 3 26
feed_settings_fields()
S
53 3 24
create_sub_menu()
S
46 1 52
create_top_level_menu()
S
49 2 36
get_memberships()
S
55 3 19
get_choices()
S
46 1 48
prepare_date_custom_field()
S
61 3 12
settings_asana_due_date()
S
54 2 22
scripts()
S
48 1 36
process_oauth_flow()
S
55 2 18
generate_radio_html()
S
57 2 17
generate_select_html()
S
58 2 16
prepare_enum_custom_field()
S
67 3 8
get_not_installed_plugins()
S
65 3 9
handle_token_response()
S
58 2 15
is_authorization_code_present()
S
77 3 3
handle_authorization_error()
S
63 3 10
plugin_settings_fields()
S
60 2 14
get_review()
S
55 1 29
get_app_menu_icon()
S
57 1 28
add_save_button()
S
52 1 27
get_tags_array()
S
63 2 11
get_users_array()
S
63 2 11
get_project_index()
S
69 2 6
prepare_people_custom_field()
S
66 2 8
get_display_style()
S
79 2 3
determine_step()
S
78 2 3
get_instance()
S
72 2 6
get_value_or_empty_string()
S
78 2 3
get_projects_array()
S
65 2 10
unset_menu_item()
S
70 2 6
render_list_items()
S
68 2 7
get_amount_of_time_value()
S
70 2 5
is_authorized_with_asana()
S
79 2 3
create_asana_client()
S
58 1 15
get_error_message()
S
67 2 7
get_processed_task_name()
S
66 2 8
get_number_tasks_created()
S
69 2 7
update_plugin_settings()
S
67 2 8
build_no_authorization_response()
S
60 1 14
get_label()
S
60 1 13
styles()
S
61 1 12
get_custom_fields_object()
S
62 1 12
initialize_asana_client()
S
64 1 11
custom_merge_tag()
S
64 1 11
init()
S
67 1 9
get_menu_icon()
S
80 1 3
supported_notification_events()
S
67 1 8
sanitize_setting()
S
79 1 3
init_admin()
S
68 1 7
generate_field_name()
S
74 1 4
save_tokens()
S
74 1 4
get_me()
S
80 1 3
get_project_choices()
S
72 1 5
uninstall()
S
70 1 7
refresh_access_token()
S
65 1 8
update_tasks_created()
S
75 1 4
feed_list_columns()
S
74 1 5