Benchmarks
Plugin footprint Passed 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: ▼137.30ms] Passed 4 tests
A check of server-side resources used by Contact Form 7: Support Deprecated Settings
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 36.04 ▲15.15 |
Dashboard /wp-admin | 3.08 ▲0.03 | 45.23 ▲1.82 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 43.75 ▲0.22 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 90.90 ▼546.35 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 32.33 ▼4.89 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Contact Form 7: Support Deprecated Settings
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 16.30 ▲0.67 | 8.44 ▼1.38 | 51.35 ▲1.30 |
Dashboard /wp-admin | 2,973 ▲42 | 5.91 ▼0.02 | 134.53 ▼7.28 | 117.03 ▲8.96 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▲0.00 | 61.19 ▼3.99 | 84.73 ▼13.27 |
Add New Post /wp-admin/post-new.php | 1,606 ▼270 | 18.86 ▼0.37 | 366.84 ▲9.02 | 103.45 ▼9.86 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.01 ▼0.00 | 161.06 ▲11.51 | 119.24 ▲0.72 |
Uninstaller [IO: ▲0.00MB] [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 Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: javascript, email, contact form, contact, form
cf7-support-deprecated-settings/cf7-support-deprecated-settings.php Passed 13 tests
This is the main PHP file of "Contact Form 7: Support Deprecated Settings" version 0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
102 characters long description:
Provide continued support for `on_sent_ok` and `on_submit` within Contact Form 7's Additional Settings
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
Everything looks great! No dangerous files found in this plugin114 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 63 | 112 | 114 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 36.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 63.64% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin