Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.59ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Users Custom Meta Search
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.02 | 46.17 ▲1.99 |
Dashboard /wp-admin | 3.59 ▲0.02 | 56.17 ▼1.39 |
Posts /wp-admin/edit.php | 3.70 ▲0.02 | 49.40 ▼4.26 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.02 | 88.04 ▼6.70 |
Media Library /wp-admin/upload.php | 3.51 ▲0.02 | 40.52 ▲2.76 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Users Custom Meta Search
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.26 ▼0.49 | 1.81 ▼0.03 | 46.50 ▲2.06 |
Dashboard /wp-admin | 2,189 ▲12 | 5.88 ▲0.32 | 96.68 ▼4.70 | 46.41 ▲7.72 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.16 ▲0.14 | 38.56 ▼2.78 | 36.93 ▲0.19 |
Add New Post /wp-admin/post-new.php | 1,546 ▲15 | 23.08 ▼0.18 | 643.94 ▼87.61 | 62.32 ▼3.66 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▼0.01 | 99.41 ▼1.55 | 44.41 ▼3.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/woocommerce-users-custom-meta-search/woocommerce-users-custom-meta-search.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Screenshot #1 (The plugin settings within WooCommerce settings) image missing
woocommerce-users-custom-meta-search/woocommerce-users-custom-meta-search.php 77% from 13 tests
Analyzing the main PHP file in "WooCommerce Users Custom Meta Search" version 1.0
Please take the time to fix the following:
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Domain Path: The domain path must begin with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin174 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 1 | 65 | 121 | 93 |
PHP | 1 | 38 | 49 | 81 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.75 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 68.32KB | 21.31KB | ▼ 68.81% |