Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.20MB] [CPU: ▼1.78ms] Passed 4 tests
A check of server-side resources used by wBounce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 43.68 ▲5.73 |
Dashboard /wp-admin | 3.53 ▲0.22 | 49.18 ▲3.34 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 45.84 ▼7.18 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 83.40 ▼2.49 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 34.31 ▼0.77 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 58 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
wbounce_version |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for wBounce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,018 ▲257 | 13.54 ▼0.99 | 11.97 ▲10.39 | 42.97 ▲0.84 |
Dashboard /wp-admin | 2,204 ▲30 | 5.65 ▲0.07 | 95.79 ▲11.45 | 42.54 ▼2.17 |
Posts /wp-admin/edit.php | 2,118 ▲15 | 2.15 ▲0.18 | 35.95 ▼5.88 | 32.56 ▼6.64 |
Add New Post /wp-admin/post-new.php | 6,344 ▲4,809 | 25.91 ▲7.66 | 864.54 ▲236.50 | 63.91 ▼5.22 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.17 ▼0.06 | 98.26 ▼3.61 | 40.24 ▼5.57 |
wBounce /wp-admin/wbounce.php | 26 | 0.42 | 0.08 | 12.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wbounce/admin/inc/signup.php
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WBOUNCE_Setup' not found in wp-content/plugins/wbounce/frontend/class-shortcodes.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wbounce/frontend/class-frontend.php:8
- > PHP Warning
Use of undefined constant WBOUNCE_NEWS_NAME - assumed 'WBOUNCE_NEWS_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/wbounce/admin/inc/signup.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wbounce/admin/class-meta.php:32
- > PHP Warning
Use of undefined constant WBOUNCE_NEWS_BUTTON - assumed 'WBOUNCE_NEWS_BUTTON' (this will throw an Error in a future version of PHP) in wp-content/plugins/wbounce/admin/inc/signup.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/wbounce/wbounce.php:22
- > PHP Warning
Use of undefined constant WBOUNCE_NEWS_GROUP - assumed 'WBOUNCE_NEWS_GROUP' (this will throw an Error in a future version of PHP) in wp-content/plugins/wbounce/admin/inc/signup.php on line 6
- > PHP Warning
Use of undefined constant WBOUNCE_NEWS_ACTION_URL - assumed 'WBOUNCE_NEWS_ACTION_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wbounce/admin/inc/signup.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wbounce/admin/class-register.php:10
- > PHP Warning
Use of undefined constant WBOUNCE_NEWS_TEXT - assumed 'WBOUNCE_NEWS_TEXT' (this will throw an Error in a future version of PHP) in wp-content/plugins/wbounce/admin/inc/signup.php on line 4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/wbounce.php
- > Network (severe)
wp-admin/wbounce.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
wbounce/wbounce.php Passed 13 tests
The main PHP script in "wBounce" version 1.8.1 is automatically included on every request by WordPress
115 characters long description:
wBounce improves bounce rate to boost conversions and sales. The free alternative to Bounce Exchange for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin4,715 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 2,821 |
PHP | 12 | 181 | 185 | 1,068 |
Sass | 7 | 60 | 1 | 458 |
JavaScript | 6 | 79 | 45 | 327 |
Markdown | 1 | 9 | 0 | 17 |
XML | 1 | 0 | 0 | 12 |
Bourne Shell | 1 | 1 | 0 | 6 |
CSS | 5 | 2 | 7 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 9.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 54 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 10.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.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
6 compressed PNG files occupy 0.07MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 9.26KB | 10.01KB | 0.00% |
screenshot-3.png | 27.21KB | 28.69KB | 0.00% |
screenshot-4.png | 9.16KB | 10.04KB | 0.00% |
kevinw_framework/images/gray-grad.png | 0.21KB | 0.18KB | ▼ 11.74% |
screenshot-2.png | 11.15KB | 12.05KB | 0.00% |