Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/simple-slideshow-manager/function.php+1013
Methods with the same name as their class will not be constructors in a future version of PHP; Acx_Slideshow_Widget has a deprecated constructor
Server metrics [RAM: ▼1.21MB] [CPU: ▼194.15ms] Passed 4 tests
This is a short check of server-side resources used by Simple Slideshow Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.43 ▼0.41 | 7.69 ▼20.52 |
Dashboard /wp-admin | 2.44 ▼0.62 | 6.49 ▼36.35 |
Posts /wp-admin/edit.php | 2.45 ▼0.67 | 7.51 ▼40.11 |
Add New Post /wp-admin/post-new.php | 2.44 ▼2.99 | 6.53 ▼668.19 |
Media Library /wp-admin/upload.php | 2.45 ▼0.57 | 6.03 ▼31.94 |
Misc /wp-admin/admin.php?page=Acurax-Slideshow-Misc | 2.45 | 6.14 |
Help /wp-admin/admin.php?page=Acurax-Slideshow-Help | 2.45 | 8.21 |
Add Images /wp-admin/admin.php?page=Acurax-Slideshow-Add-Images | 2.45 | 6.61 |
Code Generator /wp-admin/admin.php?page=Acurax-Slideshow-Generate-Shortcode | 2.45 | 6.79 |
Slideshow /wp-admin/admin.php?page=Acurax-Slideshow-Settings | 2.45 | 6.19 |
Add-ons /wp-admin/admin.php?page=Acurax-Slideshow-Add-ons | 2.45 | 11.96 |
Server storage [IO: ▲1.40MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 85 new files
Database: no new tables, 5 new options
New WordPress options |
---|
acx_slideshow_installed_date |
widget_acx_slideshow_widget |
acx_slideshow_version |
acx_slideshow_gallery_data |
acx_slideshow_imageupload_complete_data |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Slideshow Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,115 ▲509 | 17.75 ▲1.85 | 12.10 ▼0.70 | 50.91 ▼2.18 |
Dashboard /wp-admin | 3,246 ▲315 | 7.93 ▲1.90 | 151.97 ▲12.16 | 133.89 ▲24.17 |
Posts /wp-admin/edit.php | 3,046 ▲310 | 4.25 ▲1.53 | 81.81 ▲17.84 | 112.27 ▲17.86 |
Add New Post /wp-admin/post-new.php | 1,912 ▲236 | 19.15 ▲0.28 | 367.01 ▼16.73 | 114.91 ▲8.09 |
Media Library /wp-admin/upload.php | 1,879 ▲69 | 4.76 ▼0.27 | 119.68 ▼27.29 | 139.06 ▲15.53 |
Misc /wp-admin/admin.php?page=Acurax-Slideshow-Misc | 4,046 | 3.41 | 68.86 | 103.55 |
Help /wp-admin/admin.php?page=Acurax-Slideshow-Help | 3,960 | 3.40 | 69.21 | 99.79 |
Add Images /wp-admin/admin.php?page=Acurax-Slideshow-Add-Images | 3,997 | 3.41 | 68.21 | 90.52 |
Code Generator /wp-admin/admin.php?page=Acurax-Slideshow-Generate-Shortcode | 4,030 | 3.42 | 69.69 | 105.98 |
Slideshow /wp-admin/admin.php?page=Acurax-Slideshow-Settings | 3,999 | 3.43 | 71.34 | 90.66 |
Add-ons /wp-admin/admin.php?page=Acurax-Slideshow-Add-ons | 1,517 | 3.33 | 67.53 | 86.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/simple-slideshow-manager/function.php+1013
Methods with the same name as their class will not be constructors in a future version of PHP; Acx_Slideshow_Widget has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 5 options
- widget_acx_slideshow_widget
- acx_slideshow_imageupload_complete_data
- acx_slideshow_gallery_data
- acx_slideshow_installed_date
- acx_slideshow_version
Smoke tests 50% 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 server-side errors were triggered
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Acurax-Slideshow-Add-ons
- > Deprecated in wp-content/plugins/simple-slideshow-manager/function.php+1013
Methods with the same name as their class will not be constructors in a future version of PHP; Acx_Slideshow_Widget has a deprecated constructor
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Acurax-Slideshow-Add-ons
- > Deprecated in wp-content/plugins/simple-slideshow-manager/function.php+1126
Function create_function() is deprecated
- > GET request to /wp-admin/admin.php?page=Acurax-Slideshow-Generate-Shortcode
- > Warning in wp-content/plugins/simple-slideshow-manager/includes/option_fields.php+1609
Invalid argument supplied for foreach()
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 11× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function acx_slideshow_hook_function() in wp-content/plugins/simple-slideshow-manager/includes/acx_slideshow_addons.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function acx_slideshow_hook_function() in wp-content/plugins/simple-slideshow-manager/includes/acx_slideshow_managegallery.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-slideshow-manager/includes/option_fields.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function acx_slideshow_hook_function() in wp-content/plugins/simple-slideshow-manager/includes/help.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/simple-slideshow-manager/acx_slideshow_main.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function acx_slideshow_hook_function() in wp-content/plugins/simple-slideshow-manager/includes/acx_slideshow_option.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function acx_slideshow_hook_function() in wp-content/plugins/simple-slideshow-manager/includes/simple-slideshow-manager-misc.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function acx_slideshow_hook_function() in wp-content/plugins/simple-slideshow-manager/includes/acx_slideshow_generate_shortcode.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/simple-slideshow-manager/includes/acx-slideshow-licence-activation.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-slideshow-manager/function.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
simple-slideshow-manager/acx_slideshow_main.php 85% from 13 tests
The main PHP file in "Simple Slideshow Manager" ver. 2.3.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 150 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("simple-slideshow-manager.php" instead of "acx_slideshow_main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected10,021 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 869 | 1,716 | 7,162 |
CSS | 4 | 71 | 21 | 2,114 |
SVG | 3 | 0 | 0 | 745 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 43.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 105 | |
▷ Static methods | 5 | 4.76% |
▷ Public methods | 82 | 78.10% |
▷ Protected methods | 23 | 21.90% |
▷ Private methods | 0 | 0.00% |
Functions | 209 | |
▷ Named functions | 209 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
39 PNG files occupy 0.24MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Play-1-Normal-Red-icon.png | 1.34KB | 1.32KB | ▼ 1.38% |
images/yellow.png | 20.55KB | 5.51KB | ▼ 73.17% |
images/next.png | 3.36KB | 0.86KB | ▼ 74.37% |
images/refresh.png | 0.57KB | 0.79KB | 0.00% |
images/upload_video.png | 0.98KB | 1.12KB | 0.00% |