Shortcode D

Total Complexity 203
Dependencies 5
Dependents 8
Total lines 1,054
Lines of code 672
Logical lines of code 383
Comment lines 168
Methods 32
Properties 7

Methods 32

Method Rating Maintainability Complexity Lines of code
parseContent()
D
23
39 183
parseContentAttributes()
B
36 22 80
getParamData()
B
50 18 23
do_shortcode_pdf()
A
42 11 50
modify_spotify_content()
A
52 12 21
sanitizeUrlData()
A
54 9 21
check_for_google_url()
A
50 8 30
modify_content_for_fb_and_canada()
A
51 8 26
do_shortcode()
A
52 8 23
valueIsFalse()
S
59 8 15
set_embera_settings()
S
54 7 20
addServiceProvider()
S
56 7 19
get_provider_name()
S
60 5 12
get_embera_instance()
S
59 4 15
get_content_from_template()
S
59 4 15
set_default_size()
S
64 5 9
purify_html_content()
S
59 4 13
parseContentAttributesFromString()
S
60 4 13
get_oembed()
S
61 3 12
extractContentFromHeaderAsArray()
S
64 3 10
shortcode_scripts()
S
60 1 16
get_url_data()
S
66 2 8
getUnit()
S
70 2 6
get_oembed_attributes()
S
80 1 3
set_oembed_attributes()
S
80 1 3
get_collection()
S
80 1 3
register()
S
70 1 6
get_block_controls_data()
S
80 1 3
get_embera_settings()
S
80 1 3
getAttributesData()
S
76 1 4
is_external_url()
S
78 1 3
is_pdf()
S
74 1 4