Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.54ms] Passed 4 tests
An overview of server-side resources used by Common Wish and Bridal Lists
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.09 ▼3.92 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.53 ▼15.65 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.25 ▼0.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.17 ▼14.45 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.36 ▲1.00 |
Server storage [IO: ▲1.62MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 77 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Common Wish and Bridal Lists
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▼0.07 | 1.84 ▲0.15 | 42.42 ▼0.64 |
Dashboard /wp-admin | 2,203 ▲18 | 6.01 ▲0.15 | 96.37 ▼6.77 | 38.62 ▼1.70 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▼0.00 | 36.22 ▲0.30 | 36.51 ▲1.97 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.52 ▼5.74 | 661.50 ▲54.96 | 49.63 ▼3.28 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.19 ▼0.06 | 95.84 ▼4.21 | 39.92 ▼2.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% 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 take a closer look at the following
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Trait 'WB_Data' not found in wp-content/plugins/common-wish-and-bridal-lists/includes/base/class-wb-base.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'WB_Base' not found in wp-content/plugins/common-wish-and-bridal-lists/includes/class-wb-bridal.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/common-wish-and-bridal-lists/includes/class-wb-setting.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/common-wish-and-bridal-lists/includes/class-wb-process.php:15
- > PHP Fatal error
Uncaught Error: Class 'WB_Base' not found in wp-content/plugins/common-wish-and-bridal-lists/includes/class-wb-wish.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: wedding list, wish list, add to wish list, woocommerce, wishlist...
common-wish-and-bridal-lists/wish-bridal-list.php 85% from 13 tests
The entry point to "Common Wish and Bridal Lists" version 1.3.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("common-wish-and-bridal-lists.php" instead of "wish-bridal-list.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
Success! There were no dangerous files found in this plugin16,108 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 4,863 |
CSS | 6 | 55 | 95 | 3,953 |
SVG | 1 | 0 | 0 | 2,671 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 12 | 397 | 586 | 873 |
JavaScript | 3 | 46 | 25 | 143 |
Markdown | 1 | 27 | 0 | 79 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 4 | |
Classes | 6 | |
▷ Abstract classes | 1 | 16.67% |
▷ Concrete classes | 5 | 83.33% |
▷ Final classes | 1 | 20.00% |
Methods | 75 | |
▷ Static methods | 3 | 4.00% |
▷ Public methods | 49 | 65.33% |
▷ Protected methods | 18 | 24.00% |
▷ Private methods | 8 | 10.67% |
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
11 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/lib/components-jqueryui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.32KB | 0.15KB | ▼ 53.40% |
assets/lib/components-jqueryui/themes/smoothness/images/ui-icons_888888_256x240.png | 6.94KB | 4.18KB | ▼ 39.78% |
assets/lib/components-jqueryui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png | 0.26KB | 0.09KB | ▼ 66.79% |
assets/lib/components-jqueryui/themes/smoothness/images/ui-icons_222222_256x240.png | 6.86KB | 4.18KB | ▼ 39.05% |
assets/lib/components-jqueryui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png | 0.32KB | 0.16KB | ▼ 50.46% |