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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼12.33ms] Passed 4 tests
Server-side resources used by Call for Price for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 36.77 ▲0.31 |
Dashboard /wp-admin | 3.33 ▼0.02 | 44.82 ▼21.43 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.11 ▼3.32 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 80.27 ▼24.89 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.62 ▲1.76 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Call for Price for WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.22 ▼1.18 | 1.89 ▲0.05 | 42.48 ▼3.46 |
Dashboard /wp-admin | 2,209 ▲27 | 5.84 ▼0.19 | 96.14 ▼8.11 | 41.75 ▼2.49 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.00 ▲0.01 | 35.07 ▼3.89 | 31.21 ▼4.73 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.43 ▼5.62 | 693.28 ▲63.82 | 51.39 ▼2.37 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.23 ▲0.05 | 95.37 ▼4.18 | 42.82 ▲0.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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 everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: request a quote, woocommerce, call for price
woocommerce-call-for-price/woocommerce-call-for-price.php Passed 13 tests
This is the main PHP file of "Call for Price for WooCommerce" version 3.6.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
101 characters long description:
Plugin extends WooCommerce by outputting "Call for Price" when price field for product is left empty.
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
There were no executable files found in this plugin1,624 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 164 | 679 | 1,334 |
JavaScript | 2 | 49 | 7 | 210 |
Markdown | 3 | 13 | 0 | 46 |
YAML | 2 | 1 | 0 | 34 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 3.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 65 | |
▷ Static methods | 2 | 3.08% |
▷ Public methods | 64 | 98.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.54% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin