Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.26MB] [CPU: ▼4.60ms] Passed 4 tests
A check of server-side resources used by Slideshow Reloaded
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 40.35 ▼0.27 |
Dashboard /wp-admin | 3.56 ▲0.21 | 53.38 ▼9.86 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 48.38 ▼2.71 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.35 | 99.26 ▼5.56 |
Media Library /wp-admin/upload.php | 3.48 ▲0.24 | 41.77 ▲4.25 |
Add New /wp-admin/post-new.php?post_type=slideshow | 3.65 | 53.63 |
General Settings /wp-admin/edit.php?post_type=slideshow&page=general_settings | 3.68 | 44.13 |
Slideshows /wp-admin/edit.php?post_type=slideshow | 3.55 | 45.11 |
Server storage [IO: ▲1.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 97 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_slideshowwidget |
widget_recent-comments |
db_upgraded |
slideshow-reloaded-plugin-version |
slideshow-reloaded-last-fetch-upsell |
Browser metrics Passed 4 tests
Slideshow Reloaded: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲76 | 13.16 ▼1.07 | 4.90 ▲3.01 | 38.88 ▼0.28 |
Dashboard /wp-admin | 2,253 ▲76 | 4.89 ▼0.83 | 92.56 ▲2.53 | 41.59 ▲1.65 |
Posts /wp-admin/edit.php | 2,138 ▲35 | 2.37 ▲0.40 | 37.10 ▲0.20 | 35.98 ▲1.06 |
Add New Post /wp-admin/post-new.php | 1,576 ▲50 | 23.27 ▼0.26 | 602.54 ▼63.21 | 34.54 ▼36.46 |
Media Library /wp-admin/upload.php | 1,459 ▲62 | 4.42 ▲0.17 | 91.24 ▼26.05 | 42.24 ▼6.09 |
Add New /wp-admin/post-new.php?post_type=slideshow | 2,856 | 4.07 | 72.05 | 40.01 |
General Settings /wp-admin/edit.php?post_type=slideshow&page=general_settings | 1,820 | 3.47 | 41.34 | 28.90 |
Slideshows /wp-admin/edit.php?post_type=slideshow | 1,283 | 3.70 | 46.01 | 27.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-comments
- db_upgraded
- slideshow-reloaded-plugin-version
- theysaidso_admin_options
- widget_slideshowwidget
- can_compress_scripts
- slideshow-reloaded-last-fetch-upsell
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
- 18× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-reloaded/views/SlideshowReloadedGeneralSettings/general-settings-tab.php on line 3
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-reloaded/views/SlideshowReloadedSlideshowSlide/backend_attachment.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/slideshow-reloaded/includes/SlideshowReloadedWidget.php:8
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-reloaded/views/SlideshowReloadedPostType/settings.php on line 1
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-reloaded/views/SlideshowReloadedGeneralSettings/general-settings.php on line 3
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-reloaded/views/SlideshowReloadedPostType/slides.php on line 1
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-reloaded/views/SlideshowReloadedSlideshowSlide/backend_video.php on line 3
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-reloaded/views/SlideshowReloadedGeneralSettings/default-slideshow-settings-tab.php on line 3
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-reloaded/views/SlideshowReloadedSlideshowSlide/backend_templates.php on line 1
- > PHP Notice
Undefined variable: data in wp-content/plugins/slideshow-reloaded/views/SlideshowReloadedShortcode/shortcode-inserter.php on line 1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: slideshow, gallery, carousel, photo, slider
slideshow-reloaded/slideshow.php 85% from 13 tests
"Slideshow Reloaded" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 256 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("slideshow-reloaded.php" instead of "slideshow.php")
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
There were no executable files found in this plugin11,480 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 22 | 3,645 | 7,783 | 8,383 |
PHP | 29 | 686 | 818 | 2,465 |
CSS | 4 | 78 | 0 | 376 |
SVG | 4 | 0 | 0 | 236 |
JavaScript | 2 | 2 | 0 | 20 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.66 |
Average class complexity | 17.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 66 | |
▷ Static methods | 60 | 90.91% |
▷ Public methods | 63 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.55% |
Functions | 5 | |
▷ Named functions | 5 | 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.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/light-bullet.png | 2.87KB | 0.26KB | ▼ 90.88% |
public/images/dark-arrows.png | 3.67KB | 0.42KB | ▼ 88.63% |
public/images/dark-bullet.png | 2.91KB | 0.22KB | ▼ 92.59% |
public/images/light-controlpanel.png | 2.90KB | 0.23KB | ▼ 92.08% |
public/images/no-img.png | 4.49KB | 1.16KB | ▼ 74.17% |