Benchmarks
Plugin footprint 83% 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.03MB] [CPU: ▼5.53ms] Passed 4 tests
This is a short check of server-side resources used by Advanced Woo Search
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.49 ▼7.97 |
Dashboard /wp-admin | 3.34 ▼0.00 | 47.56 ▼13.92 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 46.78 ▲0.46 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 89.44 ▼0.70 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.92 ▲5.00 |
Server storage [IO: ▲0.97MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 98 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Advanced Woo Search: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲60 | 14.14 ▼0.14 | 1.65 ▲0.04 | 36.09 ▼8.18 |
Dashboard /wp-admin | 2,201 ▲24 | 5.64 ▼0.20 | 92.88 ▲3.01 | 39.18 ▼6.80 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▲0.01 | 39.84 ▲0.96 | 37.12 ▲2.35 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 22.98 ▼0.23 | 707.15 ▲37.67 | 55.86 ▼4.75 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.21 ▼0.03 | 102.13 ▼1.40 | 42.15 ▼1.28 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/advanced-woo-search/includes/modules/elementor-widget/class-elementor-aws-widget.php:10
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/advanced-woo-search/includes/modules/bb-aws-search/class-aws-bb-module.php:3
- > PHP Notice
Trying to get property 'placeholder' of non-object in wp-content/plugins/advanced-woo-search/includes/modules/bb-aws-search/includes/frontend.php on line 3
- > PHP Notice
Undefined variable: settings in wp-content/plugins/advanced-woo-search/includes/modules/bb-aws-search/includes/frontend.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function aws_get_search_form() in wp-content/plugins/advanced-woo-search/includes/modules/bb-aws-search/includes/frontend.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-woo-search/includes/modules/divi/class-divi-aws-module.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-woo-search/includes/widget.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Tags: There are too many tags (33 tag instead of maximum 10)
- Screenshots: Add a description for screenshot #5 in advanced-woo-search/assets to your readme.txt
advanced-woo-search/advanced-woo-search.php 92% from 13 tests
The principal PHP file in "Advanced Woo Search" v. 2.93 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "3.0.0")
Code Analysis 97% from 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 detected12,504 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 55 | 3,336 | 2,685 | 9,697 |
CSS | 8 | 205 | 20 | 1,198 |
PO File | 3 | 285 | 207 | 840 |
JavaScript | 6 | 272 | 19 | 768 |
SVG | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
It is recommended to fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 105)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 35.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 216.00 |
Average method complexity | 5.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 105.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 53 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 53 | 100.00% |
▷ Final classes | 1 | 1.89% |
Methods | 425 | |
▷ Static methods | 68 | 16.00% |
▷ Public methods | 366 | 86.12% |
▷ Protected methods | 3 | 0.71% |
▷ Private methods | 56 | 13.18% |
Functions | 13 | |
▷ Named functions | 11 | 84.62% |
▷ Anonymous functions | 2 | 15.38% |
Constants | 9 | |
▷ Global constants | 9 | 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
17 PNG files occupy 0.12MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/btn-layout3.png | 0.82KB | 0.52KB | ▼ 36.23% |
assets/img/pro/feature7.png | 8.27KB | 8.55KB | 0.00% |
assets/img/pro/feature3.png | 4.01KB | 3.94KB | ▼ 1.58% |
assets/img/pro/feature12.png | 6.97KB | 7.14KB | 0.00% |
assets/img/logo-small.png | 1.64KB | 0.64KB | ▼ 60.93% |