Code Analysis: Font Awesome 4.0.3

Function Rating Maintainability Complexity Lines of code
FortAwesome\FontAwesome::enqueue_cdn()
D
24
27 206
FortAwesome\FontAwesome_Config_Controller::prepare_item_for_database()
B
42 24 50
get_font_awesome_v3shims()
B
17
1 365
FortAwesome\FontAwesome::maybe_enqueue_admin_assets()
B
31 14 136
handles_ignored_for_conflict_detection()
B
21
1 314
FortAwesome\FontAwesome::validate_options()
B
45 19 39
FortAwesome\FontAwesome_Release_Provider::get_resource_collection()
A
46 14 38
build_wp_error()
A
42 12 55
FortAwesome\FontAwesome_Conflict_Detection_Controller::update_blocklist()
A
42 12 52
FortAwesome\FontAwesome_API_Settings::write()
A
47 12 35
FortAwesome\FontAwesome_Conflict_Detection_Controller::delete_conflicts()
A
44 11 48
FortAwesome\FontAwesome_Loader::emit_error_output_to_console()
A
44 11 40
FortAwesome\FontAwesome_Conflict_Detection_Controller::update_detect_conflicts_until()
A
46 11 40
FortAwesome\FontAwesome_Config_Controller::update_item()
A
47 11 33
FortAwesome\FontAwesome_Conflict_Detection_Controller::report_conflicts()
A
45 10 45
FortAwesome\FontAwesome::enqueue_kit()
A
39 8 74
FortAwesome\FontAwesome_API_Settings::request_access_token()
A
46 10 40
FortAwesome\FontAwesome::initialize_admin()
A
38 7 82
FortAwesome\FontAwesome::try_upgrade()
A
50 10 29
FortAwesome\FontAwesome_API_Settings::prepare_encryption()
A
52 10 24
FortAwesome\FontAwesome::convert_options_from_v1()
A
51 9 29
add_failed_request_diagnostics()
A
46 8 41
FortAwesome\FontAwesome::infer_unregistered_clients_by_resource_url()
A
47 8 38
FortAwesome\FontAwesome_Conflict_Detection_Controller::prepare_unregistered_clients_for_database()
A
53 9 22
FortAwesome\FontAwesome::common_enqueue_actions()
A
50 8 35
FortAwesome\FontAwesome_Loader::select_latest_version_plugin_installation()
A
46 7 44
FortAwesome\FontAwesome_API_Settings::initialize()
A
54 8 21
FortAwesome\FontAwesome_Loader::emit_admin_error_output()
A
53 8 21
FortAwesome\FontAwesome_Conflict_Detection_Controller::unregistered_clients_array_has_changes()
A
55 8 20
FortAwesome\FontAwesome_Release_Provider::load_releases()
A
45 6 49
FortAwesome\FontAwesome::remove_blocklist()
S
52 7 24
FortAwesome\FontAwesome_V3Deprecation_Controller::update_item()
S
55 7 18
FortAwesome\FontAwesome_Preference_Conflict_Detector::version_satisfies()
S
55 7 17
FortAwesome\FontAwesome::init()
S
51 6 28
FortAwesome\FontAwesome::process_shortcode()
S
45 5 42
FortAwesome\FontAwesome_Activator::initialize()
S
63 7 11
FortAwesome\FontAwesome::enqueue_admin_js_assets()
S
49 5 31
FortAwesome\FontAwesome_Release_Provider::build_resource()
S
57 6 15
FortAwesome\FontAwesome::apply_detection_ignore_attr()
S
45 3 59
FortAwesome\FontAwesome_Exception::with_wp_response()
S
61 6 13
FortAwesome\FontAwesome_Preference_Conflict_Detector::detect()
S
53 5 25
FortAwesome\FontAwesome::blocklist()
S
54 5 23
FortAwesome\FontAwesome::conflicts_by_client()
S
55 5 20
FortAwesome\FontAwesome_Loader::add()
S
57 5 16
FortAwesome\FontAwesome_Preference_Check_Controller::check_preferences()
S
58 5 15
FortAwesome\FontAwesome::active_admin_tab()
S
60 5 14
FortAwesome\FontAwesome_API_Controller::query()
S
59 5 14
FortAwesome\FontAwesome_V3Deprecation_Controller::get_item()
S
59 5 14
FortAwesome\FontAwesome::conflicts_by_option()
S
60 5 13
FortAwesome\FontAwesome_API_Settings::decrypt()
S
55 4 22
FortAwesome\FontAwesome_Metadata_Provider::metadata_query()
S
53 4 22
FortAwesome\FontAwesome::is_gutenberg_page()
S
64 5 10
FortAwesome\FontAwesome_Conflict_Detection_Controller::is_array_of_md5()
S
60 4 14
FortAwesome\FontAwesome_Metadata_Provider::current_access_token()
S
60 4 13
FortAwesome\FontAwesome_Conflict_Detection_Controller::register_routes()
S
45 1 55
FortAwesome\FontAwesome_Loader::run_plugin()
S
57 3 20
FortAwesome\FontAwesome_Config_Controller::build_item()
S
58 3 16
FortAwesome\FontAwesome::using_kit_given_options()
S
70 4 6
FortAwesome\FontAwesome::is_inline_data_blocked()
S
67 4 7
FortAwesome\FontAwesome_Loader::initialize()
S
60 3 14
FortAwesome\FontAwesome_Loader::activate_plugin()
S
60 3 14
FortAwesome\FontAwesome::initialize_rest_api()
S
52 1 37
FortAwesome\FontAwesome::emit_v3_deprecation_admin_notice()
S
52 1 33
FortAwesome\FontAwesome_API_Controller::register_routes()
S
58 2 16
FortAwesome\FontAwesome::unregistered_clients()
S
67 3 8
FortAwesome\FontAwesome_Preference_Conflict_Detector::resolve_version()
S
69 3 6
FortAwesome\FontAwesome_Exception::with_wp_error()
S
68 3 7
FortAwesome\FontAwesome::detecting_conflicts()
S
66 3 8
FortAwesome\FontAwesome::maybe_refresh_releases()
S
66 3 8
FortAwesome\FontAwesome::gather_preferences()
S
66 3 9
FortAwesome\FontAwesome_API_Settings::encrypt()
S
60 2 14
notify_admin_fatal_error()
S
62 2 13
FortAwesome\FontAwesome_V3Deprecation_Controller::register_routes()
S
55 1 23
FortAwesome\FontAwesome::common_data_for_js_bundle()
S
56 1 17
FortAwesome\FontAwesome_Config_Controller::register_routes()
S
59 1 16
FortAwesome\FontAwesome_Preference_Check_Controller::register_routes()
S
59 1 16
FortAwesome\FontAwesome_API_Settings::set_access_token_expiration_time()
S
67 2 8
FortAwesome\FontAwesome::register()
S
70 2 6
FortAwesome\FontAwesome::options()
S
69 2 7
FortAwesome\FontAwesome_Loader::maybe_uninstall()
S
69 2 6
FortAwesome\FontAwesome_API_Settings::instance()
S
72 2 6
FortAwesome\FontAwesome::detect_conflicts_until()
S
67 2 8
FortAwesome\FontAwesome_Loader::escape_error_output()
S
64 2 9
FortAwesome\FontAwesome::kit_token()
S
72 2 5
FortAwesome\FontAwesome_Metadata_Provider::instance()
S
72 2 6
FortAwesome\FontAwesome_Metadata_Provider::query_errors()
S
69 2 7
FortAwesome\FontAwesome_Loader::maybe_deactivate()
S
69 2 6
FortAwesome\FontAwesome_Release_Provider::instance()
S
72 2 6
FortAwesome\FontAwesome_Loader::instance()
S
71 2 6
FortAwesome\FontAwesome_Release_Provider::__construct()
S
64 2 10
FortAwesome\FontAwesome::specified_preference_or_default()
S
78 2 3
FortAwesome\FontAwesome::should_icon_chooser_be_enabled()
S
70 2 6
FortAwesome\FontAwesome_V3Mapper::instance()
S
72 2 6
FortAwesome\FontAwesome_V3Mapper::load_map()
S
70 2 6
FortAwesome\FontAwesome_V3Mapper::map_v3_to_v5()
S
69 2 7
FortAwesome\FontAwesome::instance()
S
72 2 6
FortAwesome\FontAwesome::run()
S
70 2 7
FortAwesome\FontAwesome::print_classic_editor_icon_chooser_setup_script()
S
73 1 13
FortAwesome\FontAwesome_REST_Response::__construct()
S
64 1 12
fa()
S
82 1 3
FortAwesome\FontAwesome_Deactivator::deactivate()
S
76 1 4
FortAwesome\ReleaseMetadataMissingException::__construct()
S
66 1 10
FortAwesome\FontAwesome_Metadata_Provider::post()
S
79 1 3
FortAwesome\FontAwesome_API_Settings::post()
S
78 1 3
FortAwesome\FontAwesome::reset()
S
76 1 4
FortAwesome\FontAwesome::get_v3deprecation_warning_data()
S
80 1 3
FortAwesome\FontAwesome::stringify_constraints()
S
65 1 9
FortAwesome\FontAwesome_V3Deprecation_Controller::build_item()
S
74 1 5
FortAwesome\FontAwesome_Resource::__construct()
S
77 1 4
FortAwesome\FontAwesome_Loader::__construct()
S
73 1 4
FortAwesome\FontAwesome::using_kit()
S
73 1 5
FortAwesome\ApiTokenEndpointRequestException::__construct()
S
66 1 10
FortAwesome\FontAwesome_Deactivator::uninstall()
S
71 1 6
FortAwesome\FontAwesome_Config_Controller::__construct()
S
77 1 4
FortAwesome\FontAwesome_Resource::integrity_key()
S
86 1 2
FortAwesome\FontAwesome::query()
S
80 1 3
FortAwesome\FontAwesome_Exception::get_wp_error()
S
82 1 3
FortAwesome\FontAwesome_V3Mapper::__construct()
S
82 1 3
FortAwesome\PreferenceRegistrationException::__construct()
S
66 1 10
FortAwesome\FontAwesome_ResourceCollection::version()
S
82 1 3
FortAwesome\FontAwesome::latest_version()
S
81 1 3
FortAwesome\FontAwesome_Metadata_Provider::reset()
S
76 1 4
FortAwesome\FontAwesome_Exception::with_thrown()
S
79 1 3
FortAwesome\FontAwesome_Release_Provider::releases()
S
82 1 3
FortAwesome\FontAwesome_API_Settings::set_api_token()
S
81 1 3
FortAwesome\FontAwesome_Preference_Check_Controller::__construct()
S
77 1 4
FortAwesome\FontAwesome_Command::run()
S
78 1 3
FortAwesome\FontAwesome_Conflict_Detection_Controller::__construct()
S
77 1 4
FortAwesome\FontAwesome::cdn_resource_collection_for_current_options()
S
64 1 10
FortAwesome\FontAwesome_Loader::loaded_path()
S
80 1 3
FortAwesome\FontAwesome_Resource::source()
S
86 1 2
FortAwesome\FontAwesome::technology()
S
73 1 5
FortAwesome\FontAwesome_Release_Provider::versions()
S
65 1 10
FortAwesome\FontAwesome_Release_Provider::reset()
S
76 1 4
FortAwesome\ApiTokenInvalidException::__construct()
S
66 1 10
FortAwesome\FontAwesome::create_admin_page()
S
80 1 3
FortAwesome\ConflictDetectionStorageException::__construct()
S
66 1 10
FortAwesome\FontAwesome_API_Controller::metadata_provider()
S
82 1 3
FortAwesome\FontAwesome_Command::__construct()
S
81 1 3
FortAwesome\ConfigSchemaException::kit_token_no_api_token()
S
69 1 8
fa_release_provider()
S
82 1 3
FortAwesome\FontAwesome::v4_compatibility()
S
73 1 5
FortAwesome\FontAwesome_Config_Controller::release_provider()
S
81 1 3
FortAwesome\FontAwesome::version()
S
73 1 5
FortAwesome\FontAwesome_API_Settings::api_token()
S
82 1 3
FortAwesome\FontAwesome::is_url_blocked()
S
77 1 3
FortAwesome\FontAwesome::metadata_provider()
S
81 1 3
FortAwesome\FontAwesome_ResourceCollection::resources()
S
82 1 3
FortAwesome\FontAwesome_Release_Provider::latest_version()
S
82 1 3
FortAwesome\FontAwesome_Release_Provider::query()
S
79 1 3
FortAwesome\ApiTokenEndpointResponseException::__construct()
S
66 1 10
FortAwesome\FontAwesome::release_provider()
S
81 1 3
FortAwesome\FontAwesome::releases_refreshed_at()
S
81 1 3
FortAwesome\FontAwesome::__construct()
S
91 1 2
FortAwesome\ConfigSchemaException::concrete_version_expected()
S
69 1 8
FortAwesome\FontAwesome_V3Deprecation_Controller::prepare_item_for_database()
S
76 1 4
FortAwesome\ApiRequestException::__construct()
S
66 1 10
FortAwesome\FontAwesome_ResourceCollection::__construct()
S
77 1 4
FortAwesome\FontAwesome::set_v3_deprecation_warning_data()
S
80 1 3
FortAwesome\FontAwesome_API_Settings::remove()
S
78 1 4
FortAwesome\UpgradeException::main_option_delete()
S
69 1 8
FortAwesome\FontAwesome::refresh_releases()
S
82 1 3
FortAwesome\ReleaseProviderStorageException::__construct()
S
66 1 10
FortAwesome\FontAwesome::settings_page_url()
S
79 1 3
FortAwesome\ConfigSchemaException::webfont_v4compat_introduced_later()
S
69 1 8
FortAwesome\FontAwesome_Activator::activate()
S
80 1 3
FortAwesome\FontAwesome::get_webpack_asset_url_base()
S
79 1 3
FortAwesome\FontAwesome::client_preferences()
S
82 1 3
FortAwesome\FontAwesome_Exception::get_wp_response()
S
82 1 3
FortAwesome\ConfigSchemaException::webfont_always_enables_pseudo_elements()
S
69 1 8
FortAwesome\FontAwesome_Activator::initialize_release_metadata()
S
81 1 3
fa_api_settings()
S
82 1 3
FortAwesome\FontAwesome_API_Settings::reset()
S
76 1 4
FortAwesome\FontAwesome::upgrade_for_4_0_0_rc22()
S
74 1 5
FortAwesome\FontAwesome::admin_screen_id()
S
82 1 3
FortAwesome\FontAwesome::pseudo_elements()
S
73 1 5
wpe_fontawesome_unknown_error()
S
80 1 3
FortAwesome\FontAwesome::plugin_version()
S
81 1 3
wpe_fontawesome_client_exception()
S
80 1 3
FortAwesome\ConflictDetectionSchemaException::__construct()
S
66 1 10
wpe_fontawesome_server_exception()
S
80 1 3
FortAwesome\FontAwesome::compat_js_required()
S
75 1 4
font_awesome_load()
S
77 1 4
FortAwesome\ConfigCorruptionException::__construct()
S
66 1 10
fa_metadata_provider()
S
82 1 3
FortAwesome\FontAwesome_API_Controller::__construct()
S
73 1 5
FortAwesome\AccessTokenStorageException::__construct()
S
66 1 10
FortAwesome\FontAwesome_API_Settings::set_access_token()
S
81 1 3
FortAwesome\FontAwesome_Release_Provider::refreshed_at()
S
82 1 3
FortAwesome\ApiResponseException::__construct()
S
66 1 10
FortAwesome\ApiTokenMissingException::__construct()
S
66 1 10
FortAwesome\FontAwesome::snooze_v3deprecation_warning()
S
75 1 4
FortAwesome\FontAwesome::pro()
S
73 1 5
FortAwesome\FontAwesome_Activator::initialize_conflict_detection_options()
S
79 1 3
FortAwesome\FontAwesome_API_Settings::access_token_expiration_time()
S
82 1 3
FortAwesome\FontAwesome_API_Settings::access_token()
S
82 1 3
FortAwesome\FontAwesome_API_Settings::__construct()
S
82 1 3
FortAwesome\FontAwesome_Activator::initialize_user_options()
S
71 1 5
FortAwesome\FontAwesome_V3Deprecation_Controller::__construct()
S
77 1 4