Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.43MB] [CPU: ▼6.70ms] Passed 4 tests
An overview of server-side resources used by WP Gravity Forms Salesforce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 43.29 ▲1.95 |
Dashboard /wp-admin | 3.80 ▲0.45 | 46.71 ▼16.47 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 46.95 ▼3.62 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.43 | 84.18 ▼8.64 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 40.92 ▲6.73 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 34 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_vxg_salesforce_accounts |
wp_vxg_salesforce_log |
wp_vxg_salesforce |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
vxg_salesforce_pro_version |
Browser metrics Passed 4 tests
WP Gravity Forms Salesforce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲53 | 14.32 ▼0.05 | 1.68 ▲0.04 | 44.20 ▲0.72 |
Dashboard /wp-admin | 2,217 ▲37 | 5.64 ▼0.01 | 87.85 ▼9.40 | 41.55 ▼0.75 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 1.99 ▼0.01 | 34.63 ▼1.36 | 36.09 ▲1.03 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 25.12 ▲1.57 | 645.30 ▼80.29 | 72.72 ▲20.21 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.18 ▼0.13 | 101.67 ▼4.27 | 44.38 ▼2.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie tables detected upon uninstall: 3 tables
- wp_vxg_salesforce
- wp_vxg_salesforce_accounts
- wp_vxg_salesforce_log
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- vxg_salesforce_pro_version
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: gravity forms salesforce, gravity forms salesforce integration, gravity forms salesforce crm, gravity forms salesforce add on, salesforce wordpress gravity forms...
gf-salesforce-crmperks/gf-salesforce-crmperks.php 92% from 13 tests
This is the main PHP file of "WP Gravity Forms Salesforce" version 1.4.0, 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: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected8,009 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 799 | 1,066 | 8,003 |
JavaScript | 2 | 1 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
The following items need your attention
- Method cyclomatic complexity should be reduced to less than 100 (currently 134)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 154.25 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 410.00 |
Average method complexity | 7.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 134.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 | 188 | |
▷ Static methods | 3 | 1.60% |
▷ Public methods | 178 | 94.68% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 5.32% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.01MB with 0.00MB 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% |
images/failed.png | 1.54KB | 0.48KB | ▼ 68.88% |
images/active0.png | 0.22KB | 0.18KB | ▼ 16.67% |
images/Android.png | 0.56KB | 0.62KB | 0.00% |
images/updated.png | 1.53KB | 0.50KB | ▼ 67.37% |