Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/simple-seo-slideshow/simpleslideshow.php+421
Function create_function() is deprecated
Server metrics [RAM: ▼1.97MB] [CPU: ▼55.62ms] Passed 4 tests
An overview of server-side resources used by Simple SEO Slideshow
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 3.88 ▼47.14 |
Dashboard /wp-admin | 2.05 ▼1.30 | 5.46 ▼53.18 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 4.97 ▼37.43 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 4.90 ▼84.71 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.69 ▼30.78 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_simpleslideshowwidget |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Simple SEO Slideshow
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲170 | 13.66 ▼0.71 | 7.23 ▲4.15 | 40.20 ▼21.98 |
Dashboard /wp-admin | 2,210 ▲22 | 4.88 ▲0.02 | 114.09 ▲0.20 | 43.43 ▼0.44 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.00 | 37.52 ▲1.63 | 34.85 ▼0.58 |
Add New Post /wp-admin/post-new.php | 1,518 ▼1 | 22.94 ▼0.19 | 675.01 ▲35.08 | 57.44 ▲7.38 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.24 ▲0.09 | 99.53 ▼2.26 | 41.50 ▼1.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/simple-seo-slideshow/simpleslideshow.php+421
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 7 options
- widget_simpleslideshowwidget
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/simple-seo-slideshow/simpleslideshow.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Widget admin screenshot.), #2 (tinyMCE editor plugin for easily inserting slideshow shortcode.), #3 (How it may look like in the frontend.)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== simple-seo-slideshow ===
)
simple-seo-slideshow/simpleslideshow.php 92% from 13 tests
The main file in "Simple SEO Slideshow" v. 1.2.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("simple-seo-slideshow.php" instead of "simpleslideshow.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected677 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 71 | 24 | 329 |
JavaScript | 3 | 39 | 8 | 190 |
HTML | 1 | 2 | 0 | 127 |
CSS | 1 | 5 | 0 | 31 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 55.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 11.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/arrows.png | 2.71KB | 1.71KB | ▼ 36.87% |
screenshot-1.png | 7.15KB | 6.27KB | ▼ 12.32% |
screenshot-2.png | 7.56KB | 6.58KB | ▼ 12.95% |
js/mceicon.png | 1.08KB | 0.16KB | ▼ 85.46% |
images/slidedot.png | 0.97KB | 0.15KB | ▼ 84.78% |