Better_Font_Awesome_Library B

Total Complexity 83
Dependencies 1
Dependents 2
Total lines 1,162
Lines of code 316
Logical lines of code 175
Comment lines 616
Methods 43
Properties 13

Methods 43

Method Rating Maintainability Complexity Lines of code
render_shortcode()
A
44 10 42
load()
A
52 9 24
fetch_api_data()
S
53 5 21
get_remote_css()
S
58 4 15
setup_root_url()
S
59 3 15
remove_font_awesome_css()
S
66 4 8
enqueue_admin_scripts()
S
59 3 12
get_instance()
S
71 2 6
get_transient_css()
S
74 2 4
get_api_value()
S
68 2 8
api_data_exists()
S
71 2 7
get_error()
S
78 2 3
get_min_suffix()
S
78 2 3
setup_prefix()
S
65 2 9
guess_latest_version()
S
67 2 8
get_css_transient_latest_version()
S
66 2 8
add_insert_shortcode_button()
S
64 1 13
setup_icon_array()
S
63 1 11
setup_stylesheet_data()
S
72 1 5
setup_api_data()
S
80 1 3
get_api_data()
S
82 1 3
get_prefix()
S
82 1 3
get_icons()
S
82 1 3
get_stylesheet_url()
S
82 1 3
get_fallback_version()
S
80 1 3
get_version()
S
82 1 3
initialize()
S
74 1 5
parse_args()
S
72 1 5
setup_fallback_data()
S
62 1 10
set_error()
S
78 1 3
set_active_version()
S
80 1 3
get_local_file_contents()
S
71 1 6
get_css()
S
71 1 6
add_editor_styles()
S
81 1 3
register_font_awesome_css()
S
74 1 4
get_latest_version()
S
81 1 3
add_icon_shortcode()
S
79 1 3
remove_icon_shortcode()
S
81 1 3
__construct()
S
77 1 4
get_fallback_css()
S
79 1 3
set_css_transient()
S
69 1 6
set_stylesheet_url()
S
78 1 3
get_errors()
S
82 1 3