Code Analysis: AM LottiePlayer 3.3.6

Function Rating Maintainability Complexity Lines of code
AAMD_Lottie\Elementor::register_controls()
D
11
15 823
AAMD_Lottie\Builder::frontend_enqueue()
D
36 34 64
AAMD_Lottie\ET_Builder_Module_LottiePlayer::get_fields()
B
21
1 357
render_lottieplayer()
B
34 17 96
AAMD_Lottie\Elementor::render()
B
38 16 63
AAMD_Lottie\Media::_svg_dimensions()
A
44 15 45
AAMD_Lottie\Admin::enqueue_backend_scripts()
A
42 10 54
AAMD_Lottie\Media::_media_sideload_lottie()
A
43 10 49
AAMD_Lottie\Admin::deactivate_other_instances()
A
49 7 33
AAMD_Lottie\Media::generate_lottie_metadata()
S
42 4 57
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\Media::lottie_filetypes()
S
58 5 16
AAMD_Lottie\Builder::_get_divi_shortcodes_from_layouts()
S
58 5 15
AAMD_Lottie\UploadThumbnail::_upload_file()
S
50 4 28
AAMD_Lottie\Admin::__construct()
S
50 2 36
AAMD_Lottie\Admin::plugin_deactivated_notice()
S
58 3 16
str_ends_with()
S
63 4 10
AAMD_Lottie\Media::set_default_file()
S
65 4 10
AAMD_Lottie\Media::icon_filter()
S
70 4 6
get_animation_direction()
S
71 4 6
AAMD_Lottie\Media::__construct()
S
59 3 13
render_shortcode()
S
46 1 42
AAMD_Lottie\Elementor::content_template()
S
63 1 41
get_allowed_html()
S
49 1 37
AAMD_Lottie::__construct()
S
61 2 16
is_true()
S
79 3 3
AAMD_Lottie\Builder::init_plugin()
S
54 1 25
AAMD_Lottie\Media::print_media_templates()
S
55 1 25
get_ux_template()
S
66 2 9
get_static_url()
S
76 2 3
AAMD_Lottie\Media::metadata_error_fix()
S
69 2 7
include_file()
S
68 2 7
AAMD_Lottie\Media::override_media_templates()
S
63 2 10
AAMD_Lottie\Admin::on_activation()
S
69 2 7
AAMD_Lottie\Builder::init_flatsome()
S
71 2 6
AAMD_Lottie\Media::get_default_file()
S
71 2 7
AAMD_Lottie\Elementor::get_script_depends()
S
79 2 3
am_vc_attach_field_settings()
S
62 1 12
get_style()
S
79 1 3
AAMD_Lottie\DiviModules::__construct()
S
72 1 5
AAMD_Lottie\UploadThumbnail::allow_svg()
S
76 1 4
get_asset()
S
80 1 3
AAMD_Lottie\Elementor::get_categories()
S
81 1 3
AAMD_Lottie\UploadThumbnail::__construct()
S
82 1 3
AAMD_Lottie\Media::mimetypes()
S
73 1 5
get_build()
S
79 1 3
AAMD_Lottie\Builder::init_vc()
S
81 1 3
AAMD_Lottie\Builder::init_divi()
S
81 1 3
AAMD_Lottie\Elementor::_set_preview_id()
S
80 1 3
AAMD_Lottie\Elementor::get_name()
S
82 1 3
AAMD_Lottie\Elementor::get_icon()
S
82 1 3
idify()
S
77 1 3
AAMD_Lottie\Admin::register_am_lottieplayer_dashboard_widget()
S
70 1 7
AAMD_Lottie\Admin::add_action_link()
S
66 1 7
AAMD_Lottie\Elementor::get_keywords()
S
78 1 3
use_id()
S
76 1 4
get_path()
S
73 1 4
AAMD_Lottie\Elementor::_switcher_value()
S
80 1 3
AAMD_Lottie\Builder::__construct()
S
66 1 8
AAMD_Lottie\Elementor::get_title()
S
79 1 3
get_build_path()
S
79 1 3
get_script()
S
79 1 3
AAMD_Lottie\Elementor::__construct()
S
75 1 4
AAMD_Lottie\Admin::render_am_lottieplayer_dashboard_widget()
S
66 1 10
AAMD_Lottie\Builder::init_elementor()
S
67 1 9