Benchmarks
Plugin footprint 65% 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 gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼8.77ms] Passed 4 tests
A check of server-side resources used by Categorize your Wishlist for Woocomerce,Posts & Custom Post Types
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 44.02 ▼1.60 |
Dashboard /wp-admin | 3.42 ▲0.08 | 53.77 ▼15.57 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 65.42 ▲11.85 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 88.58 ▼20.93 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 42.66 ▲3.02 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_favourite_posts |
wp_favourite_categories |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
cwwpcpt_db_version |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Categorize your Wishlist for Woocomerce,Posts & Custom Post Types
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,067 ▲306 | 15.13 ▲0.71 | 7.08 ▲5.29 | 47.19 ▲3.67 |
Dashboard /wp-admin | 2,371 ▲191 | 6.38 ▲0.71 | 109.37 ▲18.90 | 40.68 ▼1.42 |
Posts /wp-admin/edit.php | 2,293 ▲193 | 3.55 ▲1.52 | 52.41 ▲13.15 | 33.59 ▼0.36 |
Add New Post /wp-admin/post-new.php | 1,713 ▲187 | 22.34 ▼0.66 | 666.72 ▼28.04 | 40.30 ▼16.29 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.35 ▲0.13 | 84.01 ▼30.49 | 46.22 ▼1.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure failed, leaving 2 tables in the database
- wp_favourite_posts
- wp_favourite_categories
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- cwwpcpt_db_version
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Add an image for screenshot #6 (Help)
categorize-your-wishlist-for-woocomerceposts-custom-post-types/categorize-wishlist-woocomerce-posts-custom-post-types.php 92% from 13 tests
The main file in "Categorize your Wishlist for Woocomerce,Posts & Custom Post Types" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("categorize-your-wishlist-for-woocomerceposts-custom-post-types.php" instead of "categorize-wishlist-woocomerce-posts-custom-post-types.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,097 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 51 | 1 | 743 |
CSS | 2 | 10 | 7 | 224 |
PO File | 1 | 34 | 38 | 93 |
JavaScript | 2 | 4 | 0 | 37 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
Constants | 1 | |
▷ Global constants | 1 | 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
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/hearts.png | 16.08KB | 0.92KB | ▼ 94.29% |
images/shopping-cart.png | 0.65KB | 0.69KB | 0.00% |
images/nested.png | 14.26KB | 0.22KB | ▼ 98.47% |