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.17MB] [CPU: ▼1.16ms] Passed 4 tests
Server-side resources used by Better WishList API
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 42.19 ▲5.06 |
Dashboard /wp-admin | 3.48 ▲0.17 | 52.06 ▲0.43 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 51.59 ▲1.61 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 89.59 ▼8.09 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 38.54 ▲1.43 |
Better WishList API /wp-admin/options-general.php?page=bwa_admin_page | 3.34 | 33.94 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_bwa_log |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
bwa_version |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Better WishList API
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲8 | 14.17 ▼0.11 | 1.68 ▼0.48 | 46.79 ▲4.29 |
Dashboard /wp-admin | 2,197 ▲20 | 5.52 ▼0.09 | 88.09 ▼5.98 | 40.54 ▼4.75 |
Posts /wp-admin/edit.php | 2,105 ▲2 | 2.00 ▲0.02 | 35.33 ▼2.27 | 31.90 ▼12.53 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.07 ▼0.19 | 685.46 ▲72.94 | 51.96 ▼15.87 |
Media Library /wp-admin/upload.php | 1,402 ▲5 | 4.21 ▼0.13 | 99.76 ▼3.93 | 43.19 ▲1.66 |
Better WishList API /wp-admin/options-general.php?page=bwa_admin_page | 1,088 | 2.13 | 29.00 | 29.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_bwa_log
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- bwa_version
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=bwa_admin_page
- > Notice in wp-content/plugins/better-wlm-api/better-wlm-api.php+414
Undefined variable: wlm_is_active
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/better-wlm-api/better-wlm-api.php:66
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: autorespond, wishlist member, api
better-wlm-api/better-wlm-api.php 92% from 13 tests
The main PHP file in "Better WishList API" ver. 1.1.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 242 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,198 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 293 | 168 | 1,117 |
CSS | 1 | 15 | 1 | 81 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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.21MB with 0.10MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 35.98KB | 13.23KB | ▼ 63.22% |
assets/screenshot-1.png | 92.83KB | 37.04KB | ▼ 60.10% |
img/ram_200x160.png | 7.66KB | 7.56KB | ▼ 1.35% |
assets/screenshot-2.PNG | 79.13KB | 30.91KB | ▼ 60.93% |