Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▲0.24ms] Passed 4 tests
A check of server-side resources used by Integration for WooCommerce and Salesforce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 40.95 ▲3.16 |
Dashboard /wp-admin | 3.63 ▲0.32 | 49.98 ▼1.87 |
Posts /wp-admin/edit.php | 3.74 ▲0.39 | 51.86 ▲7.79 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 90.80 ▼7.11 |
Media Library /wp-admin/upload.php | 3.54 ▲0.32 | 38.16 ▲6.77 |
Server storage [IO: ▲1.32MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 66 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_vxc_sales_accounts |
wp_vxc_sales_log |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
vxc_sales_pro_version |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Integration for WooCommerce and Salesforce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲53 | 14.28 ▼0.07 | 1.71 ▼0.12 | 38.13 ▼7.47 |
Dashboard /wp-admin | 2,220 ▲45 | 5.54 ▼0.04 | 87.44 ▼31.78 | 40.03 ▼5.11 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 1.98 ▼0.02 | 37.75 ▲3.81 | 36.57 ▼0.29 |
Add New Post /wp-admin/post-new.php | 1,544 ▲9 | 23.28 ▼1.82 | 690.36 ▲56.98 | 67.10 ▼12.47 |
Media Library /wp-admin/upload.php | 1,419 ▲16 | 4.19 ▲0.03 | 97.49 ▲1.13 | 41.75 ▼1.35 |
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
The following items require your attention
- Zombie tables were found after uninstall: 2 tables
- wp_vxc_sales_log
- wp_vxc_sales_accounts
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- vxc_sales_pro_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/woo-salesforce-plugin-crm-perks/templates/crm-order-box.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 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: salesforce add-on, woocommerce salesforce, woocommerce salesforce integration, salesforce, woocommerce integration with salesforce
woo-salesforce-plugin-crm-perks/woo-salesforce-plugin-crm-perks.php Passed 13 tests
The main file in "Integration for WooCommerce and Salesforce" v. 1.6.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
111 characters long description:
Integrates WooCommerce with Salesforce allowing new orders to be automatically sent to your Salesforce account.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected8,299 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 674 | 863 | 7,467 |
SVG | 1 | 0 | 0 | 640 |
CSS | 4 | 37 | 12 | 186 |
JavaScript | 3 | 0 | 33 | 6 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
These items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 135)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 211.67 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 503.00 |
Average method complexity | 8.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 135.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 159 | |
▷ Static methods | 4 | 2.52% |
▷ Public methods | 157 | 98.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.26% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
32 PNG files occupy 0.07MB with 0.04MB 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/created.png | 1.52KB | 0.50KB | ▼ 67.24% |
css/images/ui-icons_88a206_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
images/failed.png | 1.54KB | 0.48KB | ▼ 68.88% |