Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/wowslider/helpers.php+27
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.79MB] [CPU: ▼51.98ms] Passed 4 tests
An overview of server-side resources used by WOW Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.20 ▼1.27 | 5.56 ▼35.29 |
Dashboard /wp-admin | 2.22 ▼1.09 | 7.14 ▼44.18 |
Posts /wp-admin/edit.php | 2.22 ▼1.14 | 7.52 ▼39.17 |
Add New Post /wp-admin/post-new.php | 2.22 ▼3.67 | 6.68 ▼89.26 |
Media Library /wp-admin/upload.php | 2.22 ▼1.01 | 7.30 ▼27.67 |
All Sliders /wp-admin/admin.php?page=wowslider/admin.php | 2.22 | 6.52 |
Add New /wp-admin/admin.php?page=wowslider-add-new | 2.22 | 7.09 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 21 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wowslider |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
wowslider_installed |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WOW Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲207 | 13.82 ▼0.55 | 5.13 ▲3.29 | 38.70 ▼10.68 |
Dashboard /wp-admin | 2,241 ▲53 | 4.96 ▼0.93 | 107.99 ▼5.69 | 75.27 ▲28.10 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 1.97 ▼0.03 | 37.47 ▼2.43 | 33.74 ▼3.14 |
Add New Post /wp-admin/post-new.php | 1,551 ▲11 | 22.94 ▼0.04 | 735.06 ▲77.34 | 60.78 ▲9.29 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.12 ▼0.10 | 92.76 ▼1.00 | 65.15 ▲23.36 |
All Sliders /wp-admin/admin.php?page=wowslider/admin.php | 1,266 | 1.68 | 28.45 | 31.83 |
Add New /wp-admin/admin.php?page=wowslider-add-new | 921 | 2.02 | 27.20 | 34.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/wowslider/helpers.php+27
Array and string offset access syntax with curly braces is deprecated
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% 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)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wowslider-add-new
- > Deprecated in wp-content/plugins/wowslider/helpers.php+27
Array and string offset access syntax with curly braces is deprecated
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wowslider-add-new
- > Deprecated in wp-content/plugins/wowslider/admin.php+7
Function create_function() is deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wowslider-add-new
- > Warning in wp-content/plugins/wowslider/list-table.php+174
Declaration of WOWSlider_List_Table::single_row($id, $data, $index) should be compatible with WP_List_Table::single_row($item)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wowslider-add-new
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
- > GET request to /wp-admin/admin.php?page=wowslider/admin.php
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WOWSlider_List_Table::get_columns() should not be called statically
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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wowslider/uninstall.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wowslider/admin-bar.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wowslider/wowslider.php:24
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/wowslider/list-table.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wowslider/admin.php:267
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Preview changes. Use WOW Slider menu WOW Slider -> Add New to add each next slider) image required
- Tags: Please reduce the number of tags, currently 25 tag instead of maximum 10
wowslider/wowslider.php Passed 13 tests
The main PHP file in "WOW Slider" ver. 8.6 adds more information about the plugin and also serves as the entry point for this plugin
65 characters long description:
This module easily adds image sliders created with WOWSlider app.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,027 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 52 | 19 | 897 |
CSS | 1 | 5 | 5 | 69 |
JavaScript | 1 | 1 | 0 | 61 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 49.50 |
▷ Minimum class complexity | 47.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 6.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
data/icons.png | 0.80KB | 0.55KB | ▼ 31.58% |
data/icons32.png | 1.28KB | 0.91KB | ▼ 28.50% |
data/icon.png | 0.31KB | 0.24KB | ▼ 21.20% |