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.17MB] [CPU: ▼2.16ms] Passed 4 tests
This is a short check of server-side resources used by WP Meta Search
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 40.86 ▲0.30 |
Dashboard /wp-admin | 3.47 ▲0.17 | 51.94 ▼5.61 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 52.59 ▲3.16 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 88.05 ▼6.47 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 42.73 ▲6.04 |
WP Meta Search /wp-admin/tools.php?page=yks_settings | 3.34 | 32.68 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_yks_wpms_form |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Meta Search
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲115 | 13.40 ▼0.95 | 9.16 ▲7.39 | 48.53 ▲2.44 |
Dashboard /wp-admin | 2,199 ▲22 | 5.62 ▲0.01 | 94.58 ▲4.40 | 41.03 ▼0.16 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.06 | 35.14 ▼5.38 | 33.84 ▼4.60 |
Add New Post /wp-admin/post-new.php | 1,530 ▲2 | 23.16 ▲0.16 | 650.68 ▼44.63 | 54.52 ▲3.78 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.16 ▲0.04 | 109.91 ▲0.16 | 49.44 ▲3.89 |
WP Meta Search /wp-admin/tools.php?page=yks_settings | 1,340 | 1.91 | 31.98 | 28.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_yks_wpms_form
- widget_theysaidso_widget
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/tools.php?page=yks_settings
- > Notice in wp-content/plugins/wp-meta-search/inc/admin.php+417
Undefined variable: vars
- > GET request to /wp-admin/tools.php?page=yks_settings
- > Notice in wp-content/plugins/wp-meta-search/inc/admin.php+417
Trying to access array offset on value of type null
- > GET request to /wp-admin/tools.php?page=yks_settings
- > Warning in wp-content/plugins/wp-meta-search/inc/admin.php+417
Invalid argument supplied for foreach()
SRP 50% from 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
Please take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-meta-search/add/taxonomy.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-meta-search/inc/admin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-meta-search/wp-meta-search.php:30
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-meta-search/inc/front.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: custom field, postmeta, category, tag, widget...
wp-meta-search/wp-meta-search.php 85% from 13 tests
The entry point to "WP Meta Search" version 1.1b... is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "1.1b...")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected1,057 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 215 | 118 | 849 |
PO File | 2 | 45 | 66 | 117 |
JavaScript | 2 | 15 | 7 | 55 |
CSS | 2 | 10 | 8 | 36 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.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.27MB with 0.20MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 131.17KB | 34.87KB | ▼ 73.42% |
assets/screenshot-2.png | 125.73KB | 36.21KB | ▼ 71.20% |
assets/form.png | 23.52KB | 5.66KB | ▼ 75.93% |