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.00MB] [CPU: ▼5.79ms] Passed 4 tests
Server-side resources used by Contact Form 7 Redirects
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 45.99 ▲5.23 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.05 ▲0.70 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.16 ▼10.29 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.32 ▼12.29 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.67 ▼1.28 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Contact Form 7 Redirects
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.21 ▼1.37 | 1.77 ▼0.20 | 45.70 ▲1.34 |
Dashboard /wp-admin | 2,206 ▲15 | 5.81 ▲0.91 | 102.66 ▲3.78 | 39.73 ▼0.97 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▲0.01 | 35.65 ▼1.77 | 32.23 ▼4.64 |
Add New Post /wp-admin/post-new.php | 1,514 ▼14 | 17.72 ▼5.61 | 663.21 ▼45.84 | 50.38 ▼7.43 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.17 ▼0.01 | 94.77 ▼5.70 | 43.45 ▼4.04 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: redirect contact form 7, contact form 7 thank you page, redirect cf7, contact form 7 redirect
cf7-redirects/contact-form-7-redirects.php 92% from 13 tests
The main file in "Contact Form 7 Redirects" v. 1.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("cf7-redirects.php" instead of "contact-form-7-redirects.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin5,591 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 1,281 | 334 | 4,950 |
PHP | 3 | 69 | 46 | 396 |
CSS | 3 | 40 | 4 | 245 |
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.55 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 8.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 10 | 90.91% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
There were not PNG files found in your plugin