Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.94MB] [CPU: ▼33.95ms] Passed 4 tests
An overview of server-side resources used by WP Content Slideshow Reborn
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.71 ▼1.37 |
Dashboard /wp-admin | 3.00 ▼0.30 | 25.03 ▼35.54 |
Posts /wp-admin/edit.php | 3.01 ▼0.35 | 26.40 ▼18.79 |
Add New Post /wp-admin/post-new.php | 3.01 ▼2.88 | 26.30 ▼66.21 |
Media Library /wp-admin/upload.php | 3.01 ▼0.22 | 22.39 ▼15.27 |
WP Content Slideshow /wp-admin/options-general.php?page=wp-content-slideshow-reborn/options.php | 3.01 | 23.78 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP Content Slideshow Reborn: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲152 | 13.57 ▼0.58 | 5.98 ▲4.24 | 38.76 ▼10.02 |
Dashboard /wp-admin | 2,210 ▲36 | 5.07 ▼0.74 | 102.76 ▲2.26 | 38.24 ▼1.57 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.97 ▼0.04 | 39.54 ▲1.59 | 34.75 ▼2.98 |
Add New Post /wp-admin/post-new.php | 6,239 ▲4,719 | 21.48 ▼1.96 | 892.85 ▲218.99 | 56.11 ▼7.20 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.20 ▲0.02 | 95.67 ▼15.66 | 44.05 ▼3.91 |
WP Content Slideshow /wp-admin/options-general.php?page=wp-content-slideshow-reborn/options.php | 1,060 | 2.03 | 27.87 | 35.51 |
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
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-content-slideshow-reborn/options.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: options_page in wp-content/plugins/wp-content-slideshow-reborn/options.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-content-slideshow-reborn/wp-content-slideshow-reborn.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/wp-content-slideshow-reborn/options.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/wp-content-slideshow-reborn/content-slideshow.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wp-content-slideshow-reborn ===
) - Screenshots: These screenshots do not have images: #1 (This is how WP-Content Slideshow Reborn might look in your theme.), #2 (This is what your Administration Section for the Content Slideshow will look like.)
wp-content-slideshow-reborn/wp-content-slideshow-reborn.php 92% from 13 tests
The principal PHP file in "WP Content Slideshow Reborn" v. 3.2 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 145 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
Good job! No executable or dangerous file extensions detected1,445 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 114 | 126 | 1,064 |
PHP | 3 | 94 | 24 | 381 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.15MB with 0.10MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 99.10KB | 32.04KB | ▼ 67.67% |
screenshot-2.png | 55.96KB | 20.83KB | ▼ 62.78% |