Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.19ms] Passed 4 tests
Server-side resources used by Email verification for Contact Form 7
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.82 ▼2.91 |
Dashboard /wp-admin | 3.34 ▼0.04 | 52.06 ▼22.76 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 46.59 ▼0.61 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.14 ▼14.47 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.99 ▲2.00 |
Email Verification /wp-admin/admin.php?page=evcf7-email-verify | 3.23 | 34.42 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_evcf7_options |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
evcf7_alt_table |
evcf7_options |
Browser metrics Passed 4 tests
Email verification for Contact Form 7: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲209 | 13.95 ▼0.02 | 9.41 ▲7.64 | 41.85 ▼4.10 |
Dashboard /wp-admin | 2,236 ▲48 | 5.16 ▲0.25 | 112.79 ▲3.68 | 52.39 ▲0.58 |
Posts /wp-admin/edit.php | 2,099 ▲7 | 2.34 ▲0.29 | 35.12 ▼8.60 | 34.73 ▼3.54 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 23.57 ▲0.11 | 636.42 ▼92.44 | 34.03 ▼32.60 |
Media Library /wp-admin/upload.php | 1,425 ▲37 | 4.26 ▲0.11 | 100.96 ▼29.51 | 47.19 ▼7.07 |
Email Verification /wp-admin/admin.php?page=evcf7-email-verify | 1,590 | 2.65 | 60.45 | 59.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- evcf7_alt_table
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Please fix the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/email-verification-for-contact-form-7/admin/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/email-verification-for-contact-form-7/admin/class-admin.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/email-verification-for-contact-form-7/functions.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Please describe screenshot #7 in email-verification-for-contact-form-7/assets to your readme.txt
email-verification-for-contact-form-7/email-verification-for-contact-form-7.php Passed 13 tests
The main file in "Email verification for Contact Form 7" v. 2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
81 characters long description:
Fill out the contact form 7 and submit it with an email address that is verified.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin955 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 87 | 22 | 740 |
CSS | 2 | 22 | 1 | 148 |
JavaScript | 2 | 13 | 1 | 67 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 19.33 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 25 | 89.29% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
No PNG files were detected