Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.70MB] [CPU: ▼0.90ms] Passed 4 tests
A check of server-side resources used by Integration for Constant Contact and Contact Form 7, WPForms, Elementor, Ninja Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 45.07 ▲2.46 |
Dashboard /wp-admin | 4.17 ▲0.87 | 53.17 ▼1.97 |
Posts /wp-admin/edit.php | 4.22 ▲0.87 | 47.02 ▼11.63 |
Add New Post /wp-admin/post-new.php | 6.69 ▲0.81 | 97.10 ▲7.55 |
Media Library /wp-admin/upload.php | 4.03 ▲0.80 | 42.37 ▲10.19 |
Server storage [IO: ▲1.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 70 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_vxcf_ccontact_accounts |
wp_vxcf_ccontact |
wp_vxcf_ccontact_log |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
vxcf_ccontact_version |
Browser metrics Passed 4 tests
Integration for Constant Contact and Contact Form 7, WPForms, Elementor, Ninja Forms: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.20 ▼1.18 | 1.70 ▼0.25 | 43.63 ▼1.54 |
Dashboard /wp-admin | 2,225 ▲37 | 5.90 ▲1.02 | 97.87 ▼9.09 | 36.62 ▼9.78 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.02 ▼0.03 | 37.83 ▼9.67 | 32.41 ▼7.12 |
Add New Post /wp-admin/post-new.php | 1,555 ▲34 | 18.40 ▼4.78 | 612.39 ▼52.36 | 54.51 ▼5.80 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.16 ▼0.10 | 94.09 ▼14.88 | 42.16 ▼4.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure failed, leaving 3 tables in the database
- wp_vxcf_ccontact
- wp_vxcf_ccontact_log
- wp_vxcf_ccontact_accounts
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- vxcf_ccontact_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output 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 93% from 29 tests
readme.txt Passed 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
4 plugin tags: wpforms constant contact, elementor forms constant contact integration, contact form 7 constant contact, ninja forms constant contact
cf7-constant-contact/cf7-constant-contact.php 85% from 13 tests
This is the main PHP file of "Integration for Constant Contact and Contact Form 7, WPForms, Elementor, Ninja Forms" version 1.1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: Please don't use more than 140 characters for the plugin description (currently 248 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected7,935 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 766 | 797 | 7,018 |
SVG | 1 | 0 | 0 | 640 |
CSS | 5 | 23 | 10 | 271 |
JavaScript | 3 | 1 | 20 | 6 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
The following items need your attention
- Method cyclomatic complexity should be reduced to less than 100 (currently 105)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 148.57 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 466.00 |
Average method complexity | 6.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 105.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 193 | |
▷ Static methods | 6 | 3.11% |
▷ Public methods | 187 | 96.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 3.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
34 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/deleted.png | 0.48KB | 0.33KB | ▼ 31.03% |
css/images/ui-bg_diagonals-small_75_ccd232_40x40.png | 0.33KB | 0.10KB | ▼ 69.97% |
css/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
css/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
css/images/ui-icons_88a206_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |