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.02MB] [CPU: ▼6.78ms] Passed 4 tests
This is a short check of server-side resources used by WPC Smart Wishlist for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 30.98 ▼8.64 |
Dashboard /wp-admin | 3.33 ▼0.02 | 46.55 ▼11.21 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 48.88 ▲0.70 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.29 ▼7.96 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.83 ▲5.12 |
About /wp-admin/admin.php?page=wpclever | 3.22 | 30.32 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.56 | 31.37 |
Server storage [IO: ▲0.74MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 51 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
woosw_page_id |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WPC Smart Wishlist for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲120 | 14.67 ▼0.04 | 1.58 ▼0.08 | 39.35 ▼8.53 |
Dashboard /wp-admin | 2,260 ▲80 | 5.60 ▼0.02 | 92.23 ▼2.38 | 82.67 ▲39.15 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 1.98 ▼0.00 | 39.85 ▲2.81 | 36.98 ▲3.56 |
Add New Post /wp-admin/post-new.php | 1,753 ▲227 | 22.63 ▼0.88 | 705.00 ▲71.25 | 38.88 ▼10.35 |
Media Library /wp-admin/upload.php | 1,471 ▲74 | 4.17 ▼0.03 | 97.24 ▲0.16 | 70.09 ▲28.80 |
About /wp-admin/admin.php?page=wpclever | 1,387 | 2.15 | 33.96 | 33.52 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,732 | 2.13 | 40.19 | 59.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- woosw_page_id
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpclever
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2 in woo-smart-wishlist/assets to your readme.txt
woo-smart-wishlist/wpc-smart-wishlist.php 92% from 13 tests
Analyzing the main PHP file in "WPC Smart Wishlist for WooCommerce" version 4.7.8
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("woo-smart-wishlist.php" instead of "wpc-smart-wishlist.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
Everything looks great! No dangerous files found in this plugin10,786 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 823 | 347 | 4,584 |
PHP | 5 | 427 | 99 | 2,680 |
CSS | 12 | 416 | 70 | 2,164 |
PO File | 5 | 487 | 554 | 1,185 |
SVG | 4 | 0 | 0 | 173 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 94.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 330.00 |
Average method complexity | 5.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 80 | |
▷ Static methods | 13 | 16.25% |
▷ Public methods | 80 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin