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.20MB] [CPU: ▲1.17ms] Passed 4 tests
Server-side resources used by Advanced Woo Ajax Search
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 45.30 ▲6.64 |
Dashboard /wp-admin | 3.57 ▲0.27 | 53.90 ▲1.10 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 51.99 ▲4.37 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 95.22 ▼2.54 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 36.37 ▲1.73 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_woolivetitlewidget |
widget_recent-posts |
awas_woo_inf_basics |
awas_woo_inf_color |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Woo Ajax Search
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,097 ▲336 | 15.39 ▲1.02 | 5.69 ▲4.07 | 42.50 ▼3.40 |
Dashboard /wp-admin | 2,391 ▲214 | 6.58 ▲0.95 | 113.44 ▲23.98 | 39.52 ▼0.13 |
Posts /wp-admin/edit.php | 2,317 ▲217 | 3.72 ▲1.77 | 50.06 ▲11.97 | 31.25 ▼2.89 |
Add New Post /wp-admin/post-new.php | 1,736 ▲210 | 22.99 ▼0.05 | 619.77 ▼49.26 | 41.28 ▼10.73 |
Media Library /wp-admin/upload.php | 1,453 ▲50 | 4.52 ▲0.28 | 80.19 ▼18.38 | 41.21 ▼5.38 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_woolivetitlewidget
- awas_woo_inf_color
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- awas_woo_inf_basics
Smoke tests 50% 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 0% 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
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/advanced-woo-ajax-search/public/partials/advanced-awas-woo-public-display.php
- 1× 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/advanced-woo-ajax-search/includes/functions.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in advanced-woo-ajax-search/assets to your readme.txt
advanced-woo-ajax-search/advanced-woo-ajax-search.php 85% from 13 tests
The entry point to "Advanced Woo Ajax Search" version 1.0.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 155 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected5,894 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 1,295 | 386 | 4,991 |
PHP | 17 | 241 | 640 | 835 |
CSS | 5 | 16 | 13 | 68 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 7.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 2 | 3.28% |
▷ Public methods | 56 | 91.80% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 8.20% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin