Code Analysis: Media License 1.5.2

Function Rating Maintainability Complexity Lines of code
Palasthotel\MediaLicense\MetaFields::attachment_fields_to_edit()
S
52 6 23
Palasthotel\MediaLicense\Render::get_template_path()
S
56 6 18
Palasthotel\MediaLicense\CreativeCommon::getList()
S
38 1 89
Palasthotel\MediaLicense\MetaFields::edit_attachment()
S
60 5 13
Palasthotel\MediaLicense\BlockX\ListOfLicenses::prepare()
S
61 4 12
Palasthotel\MediaLicense\MetaFields::add_fields()
S
51 2 30
media_license_get_caption()
S
61 3 13
Palasthotel\MediaLicense\CreativeCommon::__construct()
S
65 3 9
Palasthotel\MediaLicense\Render::get_sub_dirs()
S
63 3 10
Palasthotel\MediaLicense\Shortcode::get_caption_info()
S
65 3 8
Palasthotel\MediaLicense\Rest::captions()
S
61 2 12
Palasthotel\MediaLicense\Plugin::__construct()
S
57 1 16
Palasthotel\MediaLicense\CreativeCommon::hasLicense()
S
78 2 3
Palasthotel\MediaLicense\CreativeCommon::hasLicensePath()
S
78 2 3
Palasthotel\MediaLicense\Shortcode::shortcode_atts_caption()
S
67 2 7
Palasthotel\MediaLicense\CreativeCommon::getLink()
S
73 2 4
Palasthotel\MediaLicense\CreativeCommon::getImage()
S
72 2 4
Palasthotel\MediaLicense\Plugin::instance()
S
71 2 6
Palasthotel\MediaLicense\MetaFields::getMetaFields()
S
71 2 6
Palasthotel\MediaLicense\CreativeCommon::getImageUrl()
S
74 2 4
Palasthotel\MediaLicense\CreativeCommon::getUrl()
S
74 2 4
Palasthotel\MediaLicense\CreativeCommon::getLabel()
S
75 2 4
Palasthotel\MediaLicense\Render::get_template_dirs()
S
65 2 9
Palasthotel\MediaLicense\Assets::register()
S
60 1 14
Palasthotel\MediaLicense\Rest::init()
S
60 1 14
Palasthotel\MediaLicense\BlockX\ListOfLicenses::registerBlockTypeArgs()
S
70 1 6
Palasthotel\MediaLicense\BlockX\ListOfLicenses::contentStructure()
S
74 1 5
Palasthotel\MediaLicense\Assets::__construct()
S
72 1 5
Palasthotel\MediaLicense\Rest::__construct()
S
75 1 4
Palasthotel\MediaLicense\MetaFields::init()
S
79 1 3
Palasthotel\MediaLicense\Gutenberg::collect()
S
81 1 3
Palasthotel\MediaLicense\Gutenberg::__construct()
S
69 1 6
Palasthotel\MediaLicense\Render::__construct()
S
77 1 4
Palasthotel\MediaLicense\BlockX\ListOfLicenses::id()
S
79 1 3
Palasthotel\MediaLicense\BlockX\ListOfLicenses::category()
S
82 1 3
Palasthotel\MediaLicense\Rest::getCaptionsUrl()
S
79 1 3
media_license_get_plugin()
S
82 1 3
Palasthotel\MediaLicense\Assets::enqueue_script()
S
82 1 3
Palasthotel\MediaLicense\Gutenberg::enqueue_block_editor_assets()
S
66 1 9
Palasthotel\MediaLicense\Gutenberg::add_templates_paths()
S
76 1 4
Palasthotel\MediaLicense\BlockX\ListOfLicenses::title()
S
79 1 3
Palasthotel\MediaLicense\Shortcode::__construct()
S
72 1 5
Palasthotel\MediaLicense\BlockX\ListOfLicenses::script()
S
82 1 3
Palasthotel\MediaLicense\MetaFields::__construct()
S
72 1 5
Palasthotel\MediaLicense\Shortcode::edit_caption()
S
65 1 9