Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.45ms] Passed 4 tests
An overview of server-side resources used by Product Dropdown For Contact Form 7
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 39.99 ▼3.85 |
Dashboard /wp-admin | 3.35 ▲0.05 | 44.72 ▼7.89 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.53 ▲4.55 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 94.23 ▼5.94 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.18 ▼0.11 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Product Dropdown For Contact Form 7
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲83 | 13.61 ▼0.76 | 1.71 ▼0.71 | 38.09 ▼10.19 |
Dashboard /wp-admin | 2,228 ▲28 | 4.86 ▼1.05 | 110.82 ▼20.62 | 42.32 ▼3.31 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▼0.08 | 39.54 ▲2.38 | 37.01 ▲0.32 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 18.46 ▲0.94 | 611.15 ▼79.61 | 60.31 ▼3.71 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.14 ▼0.15 | 106.32 ▼0.81 | 41.18 ▼1.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/product-dropdown-for-contact-form-7/product-dropdown-for-contact-form-7.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/product-dropdown-for-contact-form-7/inc/tag.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/product-dropdown-for-contact-form-7/inc/form-tag.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in product-dropdown-for-contact-form-7/assets to your readme.txt
- Contributors: The plugin contributors field is not present
product-dropdown-for-contact-form-7/product-dropdown-for-contact-form-7.php Passed 13 tests
The main PHP file in "Product Dropdown For Contact Form 7" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
34 characters long description:
WooCommerce Product Dropdown List.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin234 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 42 | 11 | 215 |
JavaScript | 1 | 2 | 1 | 15 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
PNG images were not found in this plugin