Code Analysis: AM LottiePlayer 3.5.8

Function Rating Maintainability Complexity Lines of code
AAMD_Lottie\Elementor::register_controls()
D
11
15 823
AAMD_Lottie\Builder::frontend_enqueue()
D
36 34 65
render_lottieplayer()
C
29 26 131
AAMD_Lottie\Element_Lottie_Player::set_controls()
B
20
1 404
AAMD_Lottie\ET_Builder_Module_LottiePlayer::get_fields()
B
21
1 364
AAMD_Lottie\Elementor::render()
B
37 18 68
AAMD_Lottie\Media::am_handle_upload_prefilter()
B
39 18 62
AAMD_Lottie\Media::svg_dimensions()
B
43 16 49
AAMD_Lottie\Admin::enqueue_backend_scripts()
A
40 12 65
AAMD_Lottie\UploadThumbnail::_upload_file()
A
41 12 53
AAMD_Lottie\Media::am_check_filetype_and_ext()
A
49 12 31
AAMD_Lottie\Media::_media_sideload_lottie()
A
41 10 57
AAMD_Lottie\Element_Lottie_Player::render()
A
47 10 33
AAMD_Lottie\Admin::deactivate_other_instances()
A
49 7 33
is_lottie_valid()
S
60 8 13
AAMD_Lottie\Media::am_generate_attachment_metadata()
S
42 5 57
tempdir()
S
54 7 20
AAMD_Lottie\Builder::init_plugin()
S
47 5 41
AAMD_Lottie\Media::_lottie_asset()
S
55 6 19
get_shortcode_instances()
S
56 6 17
AAMD_Lottie\ET_Builder_Module_LottiePlayer::render()
S
49 5 28
get_animation_mode()
S
63 6 12
AAMD_Lottie\ET_Builder_Module_LottiePlayer::init()
S
39 1 81
AAMD_Lottie\Builder::_get_divi_shortcodes_from_layouts()
S
58 5 15
AAMD_Lottie\Media::__construct()
S
56 4 17
AAMD_Lottie\Element_Lottie_Player::enqueue_scripts()
S
63 5 10
boolean_to_string()
S
70 5 6
AAMD_Lottie\Admin::__construct()
S
50 2 36
AAMD_Lottie::__construct()
S
58 3 19
AAMD_Lottie\Elementor::content_template()
S
61 1 48
AAMD_Lottie\Element_Lottie_Player::enqueue_backend()
S
60 3 16
AAMD_Lottie\Admin::plugin_deactivated_notice()
S
58 3 16
get_animation_direction()
S
71 4 6
str_ends_with()
S
63 4 10
str_starts_with()
S
63 4 10
get_allowed_html()
S
46 1 45
AAMD_Lottie\Builder::init_divi()
S
65 4 10
AAMD_Lottie\Media::am_mime_type_icon()
S
70 4 6
AAMD_Lottie\Media::set_default_file()
S
65 4 10
is_true()
S
78 4 3
render_shortcode()
S
46 1 42
AAMD_Lottie\Builder::init_bricks()
S
63 3 11
AAMD_Lottie\Media::security_notice()
S
64 2 11
AAMD_Lottie\Media::print_media_templates()
S
55 1 25
AAMD_Lottie\Element_Lottie_Player::set_control_groups()
S
55 1 22
AAMD_Lottie\Elementor::__construct()
S
59 1 16
AAMD_Lottie\Elementor::get_script_depends()
S
79 2 3
include_file()
S
68 2 7
AAMD_Lottie\Builder::init_flatsome()
S
71 2 6
AAMD_Lottie\Media::am_get_attachment_metadata()
S
69 2 7
AAMD_Lottie\Admin::on_activation()
S
69 2 7
AAMD_Lottie\Media::get_default_file()
S
71 2 7
AAMD_Lottie\Builder::init_elementor()
S
70 2 6
AAMD_Lottie\Media::override_media_templates()
S
65 2 8
AAMD_Lottie\DiviModules::_custom_style()
S
64 1 15
get_static_url()
S
76 2 3
get_ux_template()
S
66 2 9
AAMD_Lottie\Builder::init_vc()
S
71 2 6
AAMD_Lottie\DiviModules::__construct()
S
61 1 13
am_vc_attach_field_settings()
S
62 1 12
AAMD_Lottie\Admin::render_am_lottieplayer_dashboard_widget()
S
66 1 10
AAMD_Lottie\Element_Lottie_Player::get_label()
S
79 1 3
AAMD_Lottie\UploadThumbnail::__construct()
S
82 1 3
unleadingslashhit()
S
80 1 3
replace_extension()
S
75 1 4
AAMD_Lottie\Elementor::_switcher_value()
S
80 1 3
AAMD_Lottie\Builder::__construct()
S
68 1 7
AAMD_Lottie\Admin::add_action_link()
S
66 1 7
AAMD_Lottie\Elementor::get_icon()
S
82 1 3
AAMD_Lottie\Element_Lottie_Player::get_keywords()
S
68 1 9
get_style()
S
79 1 3
AAMD_Lottie\Element_Lottie_Player::add_actions()
S
75 1 4
AAMD_Lottie\Admin::register_am_lottieplayer_dashboard_widget()
S
70 1 7
get_path()
S
73 1 4
use_id()
S
76 1 4
idify()
S
77 1 3
AAMD_Lottie\Elementor::get_keywords()
S
78 1 3
get_build_path()
S
79 1 3
get_script()
S
79 1 3
AAMD_Lottie\UploadThumbnail::allow_svg()
S
76 1 4
AAMD_Lottie\Elementor::get_title()
S
79 1 3
AAMD_Lottie\Media::am_upload_mimes()
S
71 1 6
AAMD_Lottie\Elementor::_set_preview_id()
S
80 1 3
AAMD_Lottie\Elementor::get_name()
S
82 1 3
get_build()
S
79 1 3
get_asset()
S
80 1 3
AAMD_Lottie\Elementor::get_categories()
S
81 1 3