Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.46MB] [CPU: ▼181.88ms] Passed 4 tests
An overview of server-side resources used by Plugin Name: GMO Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼0.55 | 11.04 ▼12.71 |
Dashboard /wp-admin | 2.19 ▼0.86 | 21.09 ▼26.37 |
Posts /wp-admin/edit.php | 2.19 ▼0.92 | 13.72 ▼30.91 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.24 | 11.26 ▼643.34 |
Media Library /wp-admin/upload.php | 2.19 ▼0.81 | 10.93 ▼26.89 |
General Settings /wp-admin/edit.php?post_type=gmoslider&page=general_settings | 2.19 | 13.93 |
GMO Slider /wp-admin/edit.php?post_type=gmoslider | 2.19 | 13.45 |
Add New /wp-admin/post-new.php?post_type=gmoslider | 2.19 | 15.14 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 81 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_gmosliderwidget |
Browser metrics Passed 4 tests
Checking browser requirements for Plugin Name: GMO Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,767 ▲171 | 16.54 ▲1.03 | 9.34 ▼0.94 | 51.81 ▼3.33 |
Dashboard /wp-admin | 3,034 ▲100 | 6.54 ▲0.61 | 142.75 ▼13.90 | 113.60 ▲5.96 |
Posts /wp-admin/edit.php | 2,806 ▲67 | 2.76 ▲0.09 | 71.01 ▲2.98 | 117.25 ▲17.58 |
Add New Post /wp-admin/post-new.php | 1,561 ▼54 | 20.93 ▼0.56 | 357.45 ▲67.15 | 127.23 ▲14.30 |
Media Library /wp-admin/upload.php | 1,872 ▲65 | 5.30 ▲0.26 | 128.24 ▼21.57 | 127.52 ▲6.23 |
General Settings /wp-admin/edit.php?post_type=gmoslider&page=general_settings | 2,513 | 3.86 | 77.69 | 102.02 |
GMO Slider /wp-admin/edit.php?post_type=gmoslider | 1,685 | 4.42 | 87.58 | 73.59 |
Add New /wp-admin/post-new.php?post_type=gmoslider | 3,737 | 5.08 | 123.58 | 119.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/gmo-slider/classes/GMOsliderWidget.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; GMOsliderWidget has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 1 option
- widget_gmosliderwidget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=gmoslider
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-content/plugins/gmo-slider/classes/GMOsliderWidget.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; GMOsliderWidget has a deprecated constructor
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=gmoslider
- > POST request to /wp-admin/admin-ajax.php
- > User deprecated in wp-includes/functions.php+5304
The called constructor method for WP_Widget in GMOsliderWidget is deprecated since version 4.3.0! Use __construct() instead.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=gmoslider
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/gmo-slider/classes/GMOsliderSlideInserter.php+87
Undefined index: search
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 take a closer look at the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/gmo-slider/views/GMOsliderSlide/video.php
- > /wp-content/plugins/gmo-slider/views/GMOsliderPostType/settings.php
- > /wp-content/plugins/gmo-slider/views/GMOslider/gmoslider.php
- 32× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/gmo-slider/views/GMOsliderPostType/settings.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/gmo-slider/views/GMOsliderSlideInserter/insert-text-button.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gmo-slider/gmoslider.php:42
- > PHP Notice
Undefined variable: sessionID in wp-content/plugins/gmo-slider/views/GMOslider/gmoslider.php on line 1
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/gmo-slider/views/GMOsliderPostType/style-settings.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/gmo-slider/views/GMOsliderGeneralSettings/custom-styles-tab.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/gmo-slider/views/GMOsliderSlide/admin_video.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/gmo-slider/views/GMOsliderShortcode/shortcode-inserter.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post() in wp-content/plugins/gmo-slider/views/GMOsliderSlide/admin_attachment.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/gmo-slider/views/GMOsliderPostType/slides.php:2
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=gmoslider
- > Network (severe)
wp-content/plugins/gmo-slider/css/gmo-admin-plugin.css?ver=5.8.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=gmoslider
- > Network (severe)
wp-content/plugins/gmo-slider/images/bnr_themes.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=gmoslider
- > Network (severe)
wp-content/plugins/gmo-slider/images/bnr_plugins.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=gmoslider
- > Network (severe)
wp-content/plugins/gmo-slider/images/logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== Plugin Name: GMO Slider===
)
gmo-slider/gmoslider.php 77% from 13 tests
The principal PHP file in "Plugin Name: GMO Slider" v. 1.2 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("gmo-slider.php" instead of "gmoslider.php")
- Description: The description should be shorter than 140 characters (currently 170 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected4,836 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 828 | 28 | 3,223 |
JavaScript | 5 | 143 | 194 | 979 |
PO File | 1 | 134 | 0 | 314 |
CSS | 6 | 33 | 26 | 301 |
SVG | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 18.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 4.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 77 | |
▷ Static methods | 65 | 84.42% |
▷ Public methods | 75 | 97.40% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.60% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
22 PNG files occupy 0.35MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wpshop_logo.png | 7.22KB | 5.91KB | ▼ 18.12% |
images/GMOslider/light-bullet.png | 2.87KB | 0.26KB | ▼ 90.88% |
images/GMOsliderSlideInserter/close.png | 0.52KB | 0.30KB | ▼ 42.96% |
images/GMOsliderPostType/adminIcon.png | 2.80KB | 0.13KB | ▼ 95.46% |
images/wpcloud_bnr_plugins.png | 9.14KB | 4.07KB | ▼ 55.50% |