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: ▲0.07MB] [CPU: ▼2.22ms] Passed 4 tests
Analyzing server-side resources used by Slideshow SE
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.21 ▲0.61 |
Dashboard /wp-admin | 3.37 ▲0.07 | 48.35 ▼3.72 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 54.99 ▲4.49 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 96.34 ▼4.25 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.00 ▼1.52 |
Slideshows /wp-admin/edit.php?post_type=slideshow | 3.36 | 40.76 |
General Settings /wp-admin/edit.php?post_type=slideshow&page=general_settings | 3.35 | 39.49 |
Add New /wp-admin/post-new.php?post_type=slideshow | 3.49 | 51.37 |
Server storage [IO: ▲1.41MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 128 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_slideshowsewidget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
slideshow-jquery-image-gallery-plugin-version |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Slideshow SE
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲111 | 13.43 ▼1.13 | 1.76 ▲0.15 | 38.65 ▲1.08 |
Dashboard /wp-admin | 2,252 ▲60 | 5.21 ▲0.23 | 112.48 ▼0.69 | 41.53 ▼0.69 |
Posts /wp-admin/edit.php | 2,127 ▲35 | 2.41 ▲0.36 | 42.93 ▲1.48 | 36.14 ▼0.74 |
Add New Post /wp-admin/post-new.php | 6,231 ▲4,696 | 19.56 ▼3.48 | 823.58 ▲117.64 | 35.03 ▼33.42 |
Media Library /wp-admin/upload.php | 1,444 ▲56 | 4.42 ▲0.20 | 90.26 ▼20.69 | 42.49 ▼7.88 |
Slideshows /wp-admin/edit.php?post_type=slideshow | 1,273 | 3.56 | 45.79 | 26.13 |
General Settings /wp-admin/edit.php?post_type=slideshow&page=general_settings | 1,926 | 3.57 | 41.55 | 25.15 |
Add New /wp-admin/post-new.php?post_type=slideshow | 2,893 | 4.13 | 71.25 | 36.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- widget_slideshowsewidget
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- slideshow-jquery-image-gallery-plugin-version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 19× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-se/views/SlideshowSEPluginSlideshowSlide/frontend_attachment.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/slideshow-se/classes/SlideshowSEPluginWidget.php:8
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-se/views/SlideshowSEPluginSlideshowSlide/frontend_video.php on line 3
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-se/views/SlideshowSEPluginSlideshowSlide/backend_templates.php on line 1
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-se/views/SlideshowSEPluginPostType/settings.php on line 1
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-se/views/SlideshowSEPluginGeneralSettings/general-settings.php on line 2
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-se/views/SlideshowSEPluginSlideshowSlide/frontend_text.php on line 3
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-se/views/SlideshowSEPluginPostType/style-settings.php on line 1
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-se/views/SlideshowSEPluginSlideshowSlide/backend_attachment.php on line 3
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-se/views/SlideshowSEPluginSlideshowSlide/backend_text.php on line 3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
slideshow-se/slideshow-se.php 92% from 13 tests
The main file in "Slideshow SE" v. 2.5.12 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 247 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected15,180 lines of code in 90 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 22 | 3,556 | 7,643 | 8,016 |
PHP | 32 | 900 | 1,015 | 3,549 |
JavaScript | 20 | 592 | 853 | 2,658 |
CSS | 8 | 141 | 13 | 691 |
SVG | 4 | 0 | 0 | 236 |
JSON | 1 | 0 | 0 | 14 |
Sass | 2 | 1 | 0 | 14 |
Markdown | 1 | 3 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 28.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 5.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 70 | 92.11% |
▷ Public methods | 64 | 84.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 15.79% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/SlideshowSEPluginPostType/adminIcon32.png | 0.41KB | 0.19KB | ▼ 53.85% |
images/SlideshowSEPlugin/dark-bullet.png | 2.91KB | 0.22KB | ▼ 92.59% |
images/SlideshowSEPlugin/light-controlpanel.png | 2.90KB | 0.23KB | ▼ 92.08% |
images/SlideshowSEPlugin/light-arrows.png | 3.65KB | 0.87KB | ▼ 76.16% |
images/SlideshowSEPlugin/dark-arrows.png | 3.67KB | 0.42KB | ▼ 88.63% |