Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.40MB] [CPU: ▼2.19ms] Passed 4 tests
Analyzing server-side resources used by WP Gravity Forms Keap/Infusionsoft
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.39 | 39.40 ▲2.94 |
Dashboard /wp-admin | 3.76 ▲0.45 | 46.53 ▼0.79 |
Posts /wp-admin/edit.php | 3.81 ▲0.45 | 48.21 ▲2.34 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.38 | 85.17 ▼5.36 |
Media Library /wp-admin/upload.php | 3.61 ▲0.38 | 36.92 ▼4.94 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 33 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_vxg_infusionsoft_log |
wp_vxg_infusionsoft_accounts |
wp_vxg_infusionsoft |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
vxg_infusionsoft_pro_version |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Gravity Forms Keap/Infusionsoft
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.25 ▼1.13 | 1.55 ▼0.23 | 39.29 ▼4.62 |
Dashboard /wp-admin | 2,234 ▲82 | 4.82 ▼0.87 | 109.39 ▲8.80 | 41.15 ▲2.13 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 1.99 ▼0.01 | 36.88 ▲1.06 | 36.14 ▲1.07 |
Add New Post /wp-admin/post-new.php | 1,561 ▲28 | 18.09 ▼4.90 | 639.69 ▼48.03 | 51.27 ▼2.55 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.24 ▲0.08 | 97.94 ▼18.13 | 41.97 ▼7.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure failed, leaving 3 tables in the database
- wp_vxg_infusionsoft_accounts
- wp_vxg_infusionsoft_log
- wp_vxg_infusionsoft
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- vxg_infusionsoft_pro_version
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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: gravity forms infusionsoft by keap, infusionsoft gravity forms integration, gravity forms, gravity forms infusionsoft, keap
gf-infusionsoft/gf-infusionsoft.php 92% from 13 tests
The principal PHP file in "WP Gravity Forms Keap/Infusionsoft" v. 1.1.9 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected8,442 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 848 | 1,025 | 8,436 |
JavaScript | 2 | 1 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 136)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 141.75 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 367.00 |
Average method complexity | 7.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 136.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 | 185 | |
▷ Static methods | 3 | 1.62% |
▷ Public methods | 175 | 94.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 5.41% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 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/filtered.png | 1.47KB | 0.48KB | ▼ 67.40% |
images/active0.png | 0.22KB | 0.18KB | ▼ 16.67% |
images/updated.png | 1.53KB | 0.50KB | ▼ 67.37% |
images/active1.png | 0.21KB | 0.18KB | ▼ 16.89% |
images/created.png | 1.52KB | 0.50KB | ▼ 67.24% |