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
Installer ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼8.48ms] Passed 4 tests
Server-side resources used by Wishlist and Save for later for Woocommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 38.94 ▼0.32 |
Dashboard /wp-admin | 3.60 ▲0.26 | 49.79 ▼10.57 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 51.28 ▲6.28 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.32 | 89.73 ▼21.14 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 32.62 ▼1.87 |
Server storage [IO: ▲0.97MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Wishlist and Save for later for Woocommerce: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.20 ▼0.18 | 1.73 ▼0.01 | 40.54 ▼2.70 |
Dashboard /wp-admin | 2,195 ▲15 | 5.71 ▲0.05 | 95.63 ▼2.70 | 43.60 ▼1.82 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.95 ▼0.20 | 41.00 ▼1.42 | 37.66 ▲5.62 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.60 ▲0.43 | 622.43 ▼49.35 | 53.72 ▼1.00 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.18 ▼0.01 | 99.19 ▼0.82 | 42.41 ▼1.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/aco-wishlist-for-woocommerce/includes/views/admin-root.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/aco-wishlist-for-woocommerce/start.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #7, #8 in aco-wishlist-for-woocommerce/assets to your readme.txt
- Donate link: Please fix this invalid url: ""
aco-wishlist-for-woocommerce/start.php 92% from 13 tests
The primary PHP file in "Wishlist and Save for later for Woocommerce" version 1.1.12 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("aco-wishlist-for-woocommerce.php" instead of "start.php")
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
Good job! No executable or dangerous file extensions detected4,361 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 801 | 478 | 2,722 |
Sass | 1 | 81 | 8 | 1,089 |
JavaScript | 6 | 42 | 19 | 413 |
SVG | 8 | 0 | 0 | 115 |
XML | 1 | 0 | 0 | 15 |
CSS | 2 | 4 | 0 | 6 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 81.83 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 213.00 |
Average method complexity | 4.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 121 | |
▷ Static methods | 7 | 5.79% |
▷ Public methods | 120 | 99.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.83% |
Functions | 8 | |
▷ Named functions | 4 | 50.00% |
▷ Anonymous functions | 4 | 50.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/prite1.png | 2.76KB | 1.13KB | ▼ 59.25% |
assets/images/logo.png | 5.70KB | 3.11KB | ▼ 45.34% |
assets/images/icon.png | 0.76KB | 0.83KB | 0.00% |
assets/images/loading_ui.png | 2.07KB | 1.67KB | ▼ 19.42% |