Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.95MB] [CPU: ▼35.73ms] Passed 4 tests
An overview of server-side resources used by Responsive Logo Slideshow
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.30 ▲1.09 |
Dashboard /wp-admin | 2.99 ▼0.31 | 23.62 ▼26.15 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 24.48 ▼26.81 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 25.11 ▼79.18 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 23.33 ▼10.76 |
Responsive Logo Slideshow /wp-admin/options-general.php?page=responsive-logo-slideshow/options.php | 3.00 | 22.69 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Responsive Logo Slideshow
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 13.24 ▼1.34 | 2.34 ▲0.51 | 42.59 ▲0.47 |
Dashboard /wp-admin | 2,213 ▲22 | 4.83 ▼1.04 | 106.94 ▲5.14 | 42.03 ▼0.68 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▲0.00 | 42.41 ▲2.49 | 35.32 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,540 ▲11 | 23.26 ▲4.90 | 602.14 ▼18.54 | 49.79 ▼12.04 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.05 | 92.83 ▼4.14 | 39.94 ▼4.98 |
Responsive Logo Slideshow /wp-admin/options-general.php?page=responsive-logo-slideshow/options.php | 935 | 2.02 | 23.79 | 23.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > 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 does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=responsive-logo-slideshow/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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/responsive-logo-slideshow/options.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/responsive-logo-slideshow/responsive-logo-slider.php:2
- > PHP Notice
Undefined variable: options_page in wp-content/plugins/responsive-logo-slideshow/options.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/responsive-logo-slideshow/responsive-logo-slideshow.php:11
- > 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 issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (screen1.png), #2 (screen2.png)
responsive-logo-slideshow/responsive-logo-slideshow.php Passed 13 tests
Analyzing the main PHP file in "Responsive Logo Slideshow" version 1.2
58 characters long description:
This Plugin shows 10 Logos with links in a nice slideshow.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin346 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 18 | 2 | 141 |
PHP | 3 | 14 | 9 | 109 |
JavaScript | 1 | 14 | 0 | 96 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 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
2 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screen1.png | 26.93KB | 11.21KB | ▼ 58.36% |
screen2.png | 36.67KB | 14.88KB | ▼ 59.43% |