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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.74MB] [CPU: ▼1.57ms] Passed 4 tests
A check of server-side resources used by Integration for Salesforce and Contact Form 7, WPForms, Elementor, Ninja Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 38.99 ▲3.06 |
Dashboard /wp-admin | 4.23 ▲0.89 | 49.79 ▼13.50 |
Posts /wp-admin/edit.php | 4.28 ▲0.93 | 51.09 ▲1.30 |
Add New Post /wp-admin/post-new.php | 6.75 ▲0.86 | 97.56 ▲2.88 |
Media Library /wp-admin/upload.php | 4.09 ▲0.86 | 39.70 ▲6.80 |
Server storage [IO: ▲1.38MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 71 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_vxcf_sales_accounts |
wp_vxcf_sales |
wp_vxcf_sales_log |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
vxcf_sales_version |
Browser metrics Passed 4 tests
Integration for Salesforce and Contact Form 7, WPForms, Elementor, Ninja Forms: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲59 | 14.31 ▼0.04 | 1.61 ▲0.02 | 39.97 ▲1.94 |
Dashboard /wp-admin | 2,211 ▲33 | 5.63 ▼0.03 | 90.46 ▼22.11 | 41.99 ▼1.28 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.95 ▼0.00 | 39.11 ▼0.15 | 34.73 ▼1.69 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 22.91 ▼0.33 | 581.28 ▼119.94 | 63.05 ▲10.72 |
Media Library /wp-admin/upload.php | 1,416 ▲22 | 4.25 ▲0.05 | 98.22 ▼1.43 | 40.47 ▼2.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie tables detected upon uninstall: 3 tables
- wp_vxcf_sales_log
- wp_vxcf_sales
- wp_vxcf_sales_accounts
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- vxcf_sales_version
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 | A shallow check that no browser errors were triggered
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 is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: salesforce, wordpress salesforce, contact form 7 salesforce web to lead, contact form 7 salesforce, wpforms salesforce...
cf7-salesforce/cf7-salesforce.php 92% from 13 tests
"Integration for Salesforce and Contact Form 7, WPForms, Elementor, Ninja Forms" version 1.3.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 236 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin9,086 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 827 | 970 | 8,169 |
SVG | 1 | 0 | 0 | 640 |
CSS | 5 | 23 | 10 | 271 |
JavaScript | 3 | 1 | 20 | 6 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
These items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 139)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 194.14 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 503.00 |
Average method complexity | 7.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 139.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 | 203 | |
▷ Static methods | 6 | 2.96% |
▷ Public methods | 197 | 97.04% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 2.96% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
35 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/salesforce-crm-logo.png | 5.83KB | 3.02KB | ▼ 48.21% |
css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
css/images/ui-icons_ffeb33_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
css/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |