Shortcode D

Total Complexity 301
Dependencies 5
Dependents 8
Total lines 1,427
Lines of code 908
Logical lines of code 528
Comment lines 221
Methods 40
Properties 7

Methods 40

Method Rating Maintainability Complexity Lines of code
parseContent()
D
21
45 199
getParamData()
C
42 31 36
do_shortcode_pdf()
C
34 26 80
parseContentAttributes()
C
36 24 79
do_shortcode()
B
40 24 46
do_shortcode_doc()
B
39 16 55
modify_spotify_content()
A
52 12 21
display_password_form()
A
44 9 39
set_embera_settings()
A
51 9 26
sanitizeUrlData()
A
54 9 21
check_for_google_url()
A
50 8 30
modify_content_for_fb_and_canada()
A
51 8 26
valueIsFalse()
S
59 8 15
get_content_from_template()
S
53 7 22
addServiceProvider()
S
56 7 19
content_protection_content()
S
57 5 15
get_provider_name()
S
60 5 12
set_default_size()
S
64 5 9
get_embera_instance()
S
59 4 15
parseContentAttributesFromString()
S
60 4 13
purify_html_content()
S
59 4 13
get_fake_response_for_url()
S
60 3 13
get_oembed()
S
61 3 12
get_url_data()
S
62 3 12
extractContentFromHeaderAsArray()
S
64 3 10
is_problematic_provider()
S
65 3 9
get_excluded_height_sources()
S
64 2 10
getUnit()
S
70 2 6
shortcode_scripts()
S
89 1 2
register()
S
68 1 7
getAttributesData()
S
76 1 4
get_embera_settings()
S
80 1 3
get_block_controls_data()
S
80 1 3
get_collection()
S
80 1 3
get_problematic_providers()
S
71 1 6
get_oembed_attributes()
S
80 1 3
set_oembed_attributes()
S
80 1 3
is_file_url()
S
74 1 4
is_external_url()
S
78 1 3
is_pdf()
S
74 1 4