Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.02MB] [CPU: ▼294.65ms] Passed 4 tests
Server-side resources used by Advanced Woo Search
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 61.33 ▲9.63 |
Dashboard /wp-admin | 3.41 ▲0.01 | 35.59 ▼2.93 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 42.20 ▼1.15 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.08 | 93.66 ▼1,175.80 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 26.64 ▲1.28 |
Server storage [IO: ▲0.79MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 77 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Woo Search
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,781 ▲37 | 15.67 ▼0.04 | 5.82 ▼0.27 | 1.94 ▼0.33 |
Dashboard /wp-admin | 2,881 ▲23 | 6.10 ▼0.09 | 119.14 ▼18.41 | 169.17 ▲8.02 |
Posts /wp-admin/edit.php | 2,698 ▲7 | 3.25 ▲0.00 | 64.92 ▲0.25 | 147.00 ▼6.76 |
Add New Post /wp-admin/post-new.php | 1,667 ▲6 | 16.06 ▼0.44 | 411.75 ▲1.68 | 152.88 ▼1.15 |
Media Library /wp-admin/upload.php | 1,708 ▲10 | 5.49 ▼0.02 | 146.53 ▲6.06 | 201.63 ▲17.25 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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 fix the following items
- 5× PHP files trigger server-side errors or warnings 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: 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 aws_get_search_form() in wp-content/plugins/advanced-woo-search/includes/modules/bb-aws-search/includes/frontend.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
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 Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: A description for screenshot #5 is missing in advanced-woo-search/assets to your readme.txt
- Tags: Too many tags (33 tag instead of maximum 10); only the first 5 tags are used in your directory listing
advanced-woo-search/advanced-woo-search.php 92% from 13 tests
The main PHP file in "Advanced Woo Search" ver. 2.51 adds more information about the plugin and also serves as the entry point for this plugin
It is important 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 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 detected11,243 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 42 | 2,919 | 2,156 | 8,468 |
CSS | 5 | 205 | 20 | 1,193 |
PO File | 3 | 285 | 207 | 840 |
JavaScript | 3 | 262 | 19 | 741 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 40.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 239.00 |
Average method complexity | 5.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 99.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 40 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 40 | 100.00% |
▷ Final classes | 1 | 2.50% |
Methods | 350 | |
▷ Static methods | 55 | 15.71% |
▷ Public methods | 293 | 83.71% |
▷ Protected methods | 3 | 0.86% |
▷ Private methods | 54 | 15.43% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
16 compressed PNG files occupy 0.07MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/pro/feature9.png | 5.85KB | 6.01KB | 0.00% |
assets/img/pro/feature7.png | 8.27KB | 8.55KB | 0.00% |
assets/img/pro/feature5.png | 8.48KB | 8.70KB | 0.00% |
assets/img/pro/feature11.png | 2.20KB | 2.15KB | ▼ 2.35% |
assets/img/pro/feature4.png | 4.13KB | 4.18KB | 0.00% |