Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.98ms] Passed 4 tests
An overview of server-side resources used by WCBoost - Wishlist
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.99 ▼1.07 |
Dashboard /wp-admin | 3.35 ▲0.01 | 48.24 ▼12.99 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.74 ▼4.00 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 84.68 ▼9.86 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.08 ▲0.39 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WCBoost - Wishlist
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.20 ▼0.15 | 1.73 ▲0.10 | 44.72 ▲6.40 |
Dashboard /wp-admin | 2,195 ▲24 | 5.62 ▼0.07 | 94.98 ▼1.65 | 42.06 ▼5.13 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▲0.00 | 38.86 ▼8.33 | 35.50 ▼1.23 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.31 ▲0.10 | 675.67 ▲11.07 | 50.91 ▼18.20 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.21 ▲0.03 | 98.09 ▲1.89 | 40.90 ▲0.06 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: woocommerce, products, woocommerce wishlist, wishlist, e-commerce
wcboost-wishlist/wcboost-wishlist.php 92% from 13 tests
This is the main PHP file of "WCBoost - Wishlist" version 1.0.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 266 characters long)
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
Everything looks great! No dangerous files found in this plugin4,521 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 929 | 1,434 | 3,735 |
JavaScript | 6 | 147 | 57 | 566 |
CSS | 1 | 40 | 8 | 191 |
XML | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 25.88 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 1 | 5.88% |
Methods | 208 | |
▷ Static methods | 47 | 22.60% |
▷ Public methods | 189 | 90.87% |
▷ Protected methods | 13 | 6.25% |
▷ Private methods | 6 | 2.88% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected