Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲1.36MB] [CPU: ▲1.87ms] Passed 4 tests
This is a short check of server-side resources used by Slider, Gallery, and Carousel by MetaSlider - Responsive WordPress Slideshows
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.52 ▲1.06 | 44.10 ▲3.02 |
Dashboard /wp-admin | 4.80 ▲1.45 | 58.71 ▼5.19 |
Posts /wp-admin/edit.php | 4.85 ▲1.49 | 64.17 ▲16.32 |
Add New Post /wp-admin/post-new.php | 7.40 ▲1.51 | 96.55 ▼2.68 |
Media Library /wp-admin/upload.php | 4.66 ▲1.43 | 48.19 ▲12.32 |
Quick Start /wp-admin/admin.php?page=metaslider-start | 4.68 | 46.98 |
Settings & Help /wp-admin/admin.php?page=metaslider-settings | 4.68 | 50.13 |
Upgrade to Pro /wp-admin/admin.php?page=upgrade-metaslider | 4.72 | 52.53 |
Home /wp-admin/admin.php?page=metaslider | 4.78 | 52.60 |
Server storage [IO: ▲21.74MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 980 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
ms_hide_all_ads_until |
ms_was_installed_on |
widget_metaslider_widget |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Slider, Gallery, and Carousel by MetaSlider - Responsive WordPress Slideshows
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,894 ▲123 | 14.29 ▼0.06 | 1.61 ▼0.37 | 42.98 ▼1.53 |
Dashboard /wp-admin | 2,288 ▲110 | 5.61 ▼0.13 | 95.68 ▼10.10 | 41.81 ▲2.69 |
Posts /wp-admin/edit.php | 2,196 ▲99 | 2.02 ▲0.05 | 41.67 ▲5.76 | 34.29 ▲0.31 |
Add New Post /wp-admin/post-new.php | 6,267 ▲4,738 | 19.45 ▼4.25 | 1,006.68 ▲306.81 | 42.00 ▼9.06 |
Media Library /wp-admin/upload.php | 1,490 ▲87 | 4.20 ▲0.02 | 105.50 ▲0.61 | 41.48 ▼2.35 |
Quick Start /wp-admin/admin.php?page=metaslider-start | 1,535 | 6.08 | 184.08 | 31.37 |
Settings & Help /wp-admin/admin.php?page=metaslider-settings | 1,777 | 7.21 | 175.83 | 65.55 |
Upgrade to Pro /wp-admin/admin.php?page=upgrade-metaslider | 1,975 | 5.42 | 99.07 | 75.81 |
Home /wp-admin/admin.php?page=metaslider | 1,474 | 5.90 | 87.95 | 41.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 9 options in the database
- ms_was_installed_on
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_metaslider_widget
- ms_hide_all_ads_until
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 95× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/ml-slider/admin/views/slides/tabs/schedule.php
- > /wp-content/plugins/ml-slider/inc/slide/metaslide.image.class.php
- > /wp-content/plugins/ml-slider/metagallery/app/Controllers/GalleryController.php
- > /wp-content/plugins/ml-slider/themes/radix/v1.0.0/theme.php
- > /wp-content/plugins/ml-slider/admin/slideshows/Settings.php
- > /wp-content/plugins/ml-slider/metagallery/routes/console.php
- > /wp-content/plugins/ml-slider/metagallery/app/Traits/Routable.php
- > /wp-content/plugins/ml-slider/admin/lib/Updraft_Notices.php
- > /wp-content/plugins/ml-slider/metagallery/resources/views/pages/single.php
- > /wp-content/plugins/ml-slider/metagallery/resources/views/layouts/main.php
- 174× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_AttrDef' not found in wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Number.php:6
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_Injector' not found in wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/Injector/DisplayLinkURI.php:6
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_Token' not found in wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/Token/Text.php:12
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_HTMLModule' not found in wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/HTMLModule/Proprietary.php:7
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_HTMLModule' not found in wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/HTMLModule/Legacy.php:19
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_AttrTransform' not found in wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/AttrTransform/ImgSpace.php:6
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_AttrTransform' not found in wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/AttrTransform/SafeObject.php:6
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_AttrDef' not found in wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/TextDecoration.php:8
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_URIScheme' not found in wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/URIScheme/mailto.php:12
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_AttrDef' not found in wp-content/plugins/ml-slider/lib/htmlpurifier/library/HTMLPurifier/AttrDef/URI/Host.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #7 (Manage and edit all your slideshows from one screen), #8 (Easily edit your sliders inside WordPress), #9 (You can easily preview sliders from the WordPress admin)
- Tags: Please delete some tags, you are using 29 tag instead of maximum 10
ml-slider/ml-slider.php Passed 13 tests
"Slider, Gallery, and Carousel by MetaSlider - Responsive WordPress Slideshows" version 3.50.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
108 characters long description:
MetaSlider gives you the power to create a beautiful slideshow, carousel, or gallery on your WordPress site.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected214,448 lines of code in 639 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 65 | 33,981 | 371 | 119,217 |
PHP | 360 | 5,626 | 15,166 | 31,067 |
JavaScript | 97 | 4,855 | 7,328 | 30,015 |
PO File | 20 | 11,333 | 12,728 | 26,701 |
Vuejs Component | 38 | 236 | 256 | 4,866 |
Markdown | 5 | 272 | 0 | 1,124 |
Sass | 22 | 218 | 18 | 987 |
JSON | 26 | 0 | 0 | 297 |
CoffeeScript | 1 | 31 | 0 | 103 |
HTML | 1 | 7 | 1 | 37 |
SVG | 3 | 0 | 1 | 33 |
INI | 1 | 1 | 1 | 1 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Method cyclomatic complexity should be reduced to less than 100 (currently 232)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 15.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 539.00 |
Average method complexity | 4.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 232.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 293 | |
▷ Abstract classes | 18 | 6.14% |
▷ Concrete classes | 275 | 93.86% |
▷ Final classes | 1 | 0.36% |
Methods | 1,333 | |
▷ Static methods | 86 | 6.45% |
▷ Public methods | 1,033 | 77.49% |
▷ Protected methods | 126 | 9.45% |
▷ Private methods | 174 | 13.05% |
Functions | 37 | |
▷ Named functions | 23 | 62.16% |
▷ Anonymous functions | 14 | 37.84% |
Constants | 85 | |
▷ Global constants | 25 | 29.41% |
▷ Class constants | 60 | 70.59% |
▷ Public constants | 60 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
103 PNG files occupy 3.34MB with 0.95MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/features/metaslider_logo.png | 2.39KB | 2.66KB | 0.00% |
admin/assets/vendor/colorbox/images/ie6/borderTopCenter.png | 0.11KB | 0.10KB | ▼ 8.11% |
assets/sliders/nivoslider/themes/dark/bullets.png | 3.07KB | 0.42KB | ▼ 86.27% |
admin/images/notices/keyy_logo.png | 2.25KB | 1.19KB | ▼ 47.19% |
admin/images/upgrade/post-feed.png | 223.92KB | 241.64KB | 0.00% |