Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.42ms] Passed 4 tests
A check of server-side resources used by WP Gravity Forms Constant Contact Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.46 ▲0.68 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.47 ▲0.74 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 45.55 ▼0.78 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 92.57 ▼2.30 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.77 ▲4.96 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 34 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_vxg_ccontact |
wp_vxg_ccontact_accounts |
wp_vxg_ccontact_log |
New WordPress options |
---|
vxg_ccontact_pro_version |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP Gravity Forms Constant Contact Plugin: 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,825 ▲14 | 14.76 ▲1.16 | 1.75 ▼0.16 | 43.11 ▲2.59 |
Dashboard /wp-admin | 2,234 ▲28 | 4.85 ▼0.95 | 116.24 ▲19.27 | 42.55 ▲3.11 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.07 ▲0.08 | 42.11 ▲7.80 | 37.48 ▲3.76 |
Add New Post /wp-admin/post-new.php | 1,551 ▲9 | 23.22 ▲4.91 | 581.76 ▼38.33 | 53.02 ▼2.66 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.21 ▲0.02 | 99.07 ▲2.39 | 41.44 ▲0.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure failed, leaving 3 tables in the database
- wp_vxg_ccontact_accounts
- wp_vxg_ccontact
- wp_vxg_ccontact_log
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- vxg_ccontact_pro_version
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: constant contact, gravity forms constant contact, gravity forms, gravity forms and constant contact
gf-constant-contact/gf-constant-contact.php 92% from 13 tests
The main file in "WP Gravity Forms Constant Contact Plugin" v. 1.0.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- 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 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin6,572 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 699 | 894 | 6,566 |
JavaScript | 2 | 1 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 105.25 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 305.00 |
Average method complexity | 5.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 96.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 169 | |
▷ Static methods | 3 | 1.78% |
▷ Public methods | 159 | 94.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 5.92% |
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
9 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/active1.png | 0.21KB | 0.18KB | ▼ 16.89% |
images/deleted.png | 0.48KB | 0.33KB | ▼ 31.03% |
images/active0.png | 0.22KB | 0.18KB | ▼ 16.67% |
images/failed.png | 1.54KB | 0.48KB | ▼ 68.88% |
images/ccontact-crm-logo.png | 7.41KB | 3.94KB | ▼ 46.75% |