Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.62ms] Passed 4 tests
This is a short check of server-side resources used by Extensions For CF7 (Contact form 7 Database, Conditional Fields and Redirection)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.61 ▼0.70 |
Dashboard /wp-admin | 3.32 ▼0.03 | 44.80 ▼14.64 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.62 ▲5.66 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.21 ▼0.09 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.06 ▼3.03 |
Server storage [IO: ▲0.46MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 62 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_extcf7_db |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Extensions For CF7 (Contact form 7 Database, Conditional Fields and Redirection)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲153 | 13.58 ▼0.76 | 10.10 ▲8.41 | 47.72 ▲0.61 |
Dashboard /wp-admin | 2,203 ▲23 | 5.56 ▼0.09 | 89.60 ▼10.75 | 40.77 ▼2.18 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.13 ▲0.13 | 38.25 ▲2.92 | 36.98 ▼0.02 |
Add New Post /wp-admin/post-new.php | 1,537 ▲6 | 23.14 ▼0.01 | 588.30 ▼108.33 | 51.02 ▼5.12 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.17 ▼0.02 | 97.31 ▼8.65 | 43.46 ▼3.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% 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)
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/extensions-for-cf7/admin/template/general-options-layout.php:2
- > PHP Fatal error
Uncaught Error: Class 'Extensions_Cf7_Installer' not found in wp-content/plugins/extensions-for-cf7/includes/class.cf7-extensions.php:211
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/extensions-for-cf7/admin/template/conditional-setting.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_posts() in wp-content/plugins/extensions-for-cf7/admin/template/redierect-options-layout.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/extensions-for-cf7/admin/template/conditional-field-layout.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/extensions-for-cf7/admin/template/fields-group-layout.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/extensions-for-cf7/admin/template/pro-feature-list.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/extensions-for-cf7/admin/template/mailchimp-pannel-layout.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: redirection, contact form db, cf7, contact form 7
extensions-for-cf7/extensions-for-cf7.php 92% from 13 tests
The primary PHP file in "Extensions For CF7 (Contact form 7 Database, Conditional Fields and Redirection)" version 3.0.3 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
No dangerous file extensions were detected4,782 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 595 | 304 | 2,943 |
CSS | 2 | 91 | 66 | 1,033 |
JavaScript | 8 | 174 | 38 | 806 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 18.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 4.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 105 | |
▷ Static methods | 13 | 12.38% |
▷ Public methods | 94 | 89.52% |
▷ Protected methods | 1 | 0.95% |
▷ Private methods | 10 | 9.52% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
23 PNG files occupy 0.20MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/extensions/ht-slider-addons-pro.png | 6.41KB | 4.35KB | ▼ 32.23% |
admin/assets/images/acceptence-3.png | 54.88KB | 18.22KB | ▼ 66.80% |
admin/assets/images/extensions/multicurrencypro.png | 19.01KB | 9.36KB | ▼ 50.77% |
(invalid) admin/assets/images/extensions/was-this-helpful.png | 1.21KB | 0.00KB | ▼ 100.00% |
admin/assets/images/extensions/woolentor-addons-pro.png | 3.20KB | 1.69KB | ▼ 47.09% |