AmazonAI_Common D

Total Complexity 246
Dependencies 12
Dependents 18
Total lines 1,915
Lines of code 1,126
Logical lines of code 652
Comment lines 324
Methods 107
Properties 12

Methods 107

Method Rating Maintainability Complexity Lines of code
break_text()
A
44 8 48
clean_text()
A
44 8 44
get_price_message_for_update_all()
A
43 7 47
validate_amazon_polly_access()
A
49 7 35
is_translation_enabled()
S
51 5 28
get_aws_sdk_config()
S
54 5 23
should_conversational_style_be_used()
S
59 5 16
is_polly_conversational_enabled()
S
60 4 15
get_feed_size()
S
60 4 15
get_audio_speed()
S
60 4 14
should_news_style_be_used()
S
62 4 13
is_language_translatable()
S
62 4 12
get_polly_engine()
S
64 4 11
remove_id3()
S
53 3 21
delete_post_audio()
S
56 3 18
get_s3_object_link()
S
56 3 17
is_ssml_enabled()
S
61 3 14
is_subscribe_button_enabled()
S
61 3 14
modify_speed()
S
60 3 13
is_auto_breaths_enabled()
S
61 3 13
check_if_language_is_checked()
S
61 3 13
is_polly_news_enabled()
S
62 3 12
add_quicktags()
S
65 3 12
get_all_translatable_languages()
S
63 3 11
get_all_polly_languages()
S
63 3 11
is_polly_enabled()
S
63 3 11
clean_paragraph()
S
56 2 18
aws_configuration_update()
S
65 3 10
is_audio_for_translations_enabled()
S
64 3 10
delete_post()
S
71 3 6
is_polly_neural_enabled()
S
65 3 9
get_language_name()
S
64 3 10
get_source_language_name()
S
63 3 10
is_language_supported_for_polly()
S
65 3 9
is_polly_enabled_for_new_posts()
S
65 3 10
is_translation_supported()
S
70 3 6
is_neural_only_voice()
S
60 2 13
check_aws_access()
S
63 2 11
prepare_wp_filesystem()
S
63 2 11
allowed_tags_tinymce()
S
54 1 25
is_news_style_for_voice()
S
66 2 8
is_neural_supported_in_region()
S
64 2 9
is_conversational_style_for_voice()
S
67 2 8
is_conversational_supported_in_region()
S
65 2 9
is_neural_supported_for_voice()
S
64 2 8
is_medialibrary_enabled()
S
65 2 10
is_poweredby_enabled()
S
65 2 10
is_s3_enabled()
S
65 2 10
is_excerpt_adder_enabled()
S
65 2 10
modify_sentence_speed()
S
68 2 7
checked_validator()
S
66 2 9
is_rss2namespace_enabled()
S
65 2 10
is_title_adder_enabled()
S
65 2 10
get_voice_id()
S
67 2 8
prepare_paragraphs()
S
63 2 10
replace_if_empty()
S
69 2 8
get_subscribe_link()
S
69 2 7
get_podcast_author()
S
69 2 7
get_all_languages()
S
67 2 8
get_language_display()
S
67 2 8
get_language_label()
S
67 2 8
init()
S
58 1 15
validate_cloudfront_access()
S
65 2 10
get_file_handler()
S
68 2 8
endsWith()
S
68 2 7
deactive_translation_for_post()
S
65 2 9
get_post_source_language()
S
68 2 7
is_podcast_enabled()
S
65 2 10
get_source_language()
S
69 2 7
is_audio_download_enabled()
S
67 2 8
get_sample_rate()
S
65 2 9
if_translatable_enabled_for_language()
S
66 2 9
get_aws_region()
S
67 2 8
is_logging_enabled()
S
67 2 8
skip_tags()
S
67 2 7
validate_amazon_translate_access()
S
65 2 10
show_error_notice()
S
64 1 13
field_checkbox()
S
63 1 12
enqueue_styles()
S
67 1 7
enqueue_scripts()
S
64 1 9
is_cloudfront_enabled()
S
79 1 3
add_settings_link()
S
73 1 5
encode_ssml_tags()
S
75 1 4
enqueue_custom_scripts()
S
68 1 6
get_posttypes_array()
S
70 1 6
get_skiptags_array()
S
73 1 5
allowed_tags_kses()
S
67 1 8
is_cloudfront_deployed()
S
79 1 3
__construct()
S
80 1 3
add_pauses()
S
72 1 5
deactivate_all()
S
75 1 5
get_cloudformation_client()
S
82 1 3
get_acm_client()
S
82 1 3
get_cloudfront_client()
S
82 1 3
get_translate_client()
S
82 1 3
get_polly_client()
S
82 1 3
startsWith()
S
74 1 4
deactivate_polly()
S
80 1 3
replace_images()
S
75 1 4
deactivate_translate()
S
80 1 3
deactivate_podcast()
S
80 1 3
get_s3_bucket_name()
S
77 1 4
get_polly_voices()
S
77 1 4
get_posttypes()
S
68 1 7
get_aws_sdk_config_use1()
S
80 1 3
decode_ssml_tags()
S
75 1 4
get_lexicons()
S
73 1 5