Code Analysis: Fastevo MP2 1.0.1

Function Rating Maintainability Complexity Lines of code
fastevo_mp2_decrypt_api_key()
C
37 27 77
Fastevo_MP2_Shortcode::render_shortcode()
C
36 25 69
Fastevo_MP2_Block::render_block()
B
37 23 62
Fastevo_MP2_Settings::sanitize_api_key()
B
40 18 60
Fastevo_MP2_Token_Service::generate_token()
A
40 15 54
Fastevo_MP2_Settings::maybe_display_toast()
A
42 13 52
Fastevo_MP2_Token_Service::create_upload_token()
A
42 13 50
Fastevo_MP2_Classic_Editor::get_player_configurations()
A
44 13 42
Fastevo_MP2_Classic_Editor::browse_content()
A
41 12 53
Fastevo_MP2_Settings::encrypt_api_key()
A
47 13 33
Fastevo_MP2_Settings::render_settings_page()
A
30 2 188
Fastevo_MP2_Block::rest_list_contents_callback()
A
40 10 62
Fastevo_MP2_Token_Service::fetch_player_configurations()
A
43 11 46
Fastevo_MP2_Settings::enqueue_admin_styles()
A
34 2 175
Fastevo_MP2_Token_Service::create_folder()
A
46 9 37
Fastevo_MP2_Classic_Editor::create_upload_token()
A
49 9 30
Fastevo_MP2_Block::rest_player_configurations_callback()
A
45 7 44
Fastevo_MP2_Settings::render_api_key_field()
A
44 5 62
Fastevo_MP2_Block::rest_create_upload_token_callback()
S
49 7 30
Fastevo_MP2_Classic_Editor::create_folder()
S
50 7 29
fastevo_mp2_get_api_key()
S
57 7 17
Fastevo_MP2_Block::rest_create_folder_callback()
S
50 5 31
Fastevo_MP2_Block::register_block()
S
44 3 49
Fastevo_MP2_Classic_Editor::enqueue_scripts()
S
48 2 35
Fastevo_MP2_Classic_Editor::setup_tinymce_plugin()
S
63 4 10
Fastevo_MP2_Block::register_rest_routes()
S
50 1 37
fastevo_mp2_enqueue_player_script()
S
62 2 14
Fastevo_MP2_Settings::register_setting()
S
54 1 24
Fastevo_MP2_Settings::add_settings_page()
S
64 1 11
Fastevo_MP2_Block::init()
S
72 1 5
Fastevo_MP2_Classic_Editor::init()
S
66 1 8
Fastevo_MP2_Classic_Editor::add_tinymce_plugin()
S
72 1 5
Fastevo_MP2_Block::enqueue_block_editor_script()
S
68 1 9
Fastevo_MP2_Block::rest_preview_callback()
S
76 1 4
Fastevo_MP2_Settings::init()
S
68 1 7
Fastevo_MP2_Classic_Editor::register_tinymce_button()
S
76 1 4
Fastevo_MP2_Settings::enqueue_global_admin_styles()
S
68 1 8
fastevo_mp2_init()
S
73 1 6
Fastevo_MP2_Shortcode::register()
S
79 1 3