Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.54ms] Passed 4 tests
An overview of server-side resources used by Bulk Product Sync - Bulk Product Editor for WooCommerce with Google Sheets™
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.54 ▲1.20 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.29 ▼4.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.51 ▼0.78 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.48 ▼8.83 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.19 ▲0.24 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Bulk Product Sync - Bulk Product Editor for WooCommerce with Google Sheets™
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.29 ▼0.42 | 1.85 ▲0.13 | 43.77 ▲2.13 |
Dashboard /wp-admin | 2,195 ▲18 | 5.58 ▼0.03 | 85.54 ▼3.66 | 38.84 ▼4.21 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.95 ▲0.01 | 39.02 ▼1.09 | 36.26 ▼1.54 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.96 ▼0.83 | 578.12 ▼29.44 | 52.62 ▲0.62 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.18 ▲0.01 | 100.52 ▲1.84 | 42.68 ▼1.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 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 0% 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
Please fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/sync-wc-google/includes/meta.json.php
- > /wp-content/plugins/sync-wc-google/includes/wprest.class.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wbps_get_webapp_url() in wp-content/plugins/sync-wc-google/templates/main.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/sync-wc-google/sync-wc-google.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wbps_get_authcode() in wp-content/plugins/sync-wc-google/templates/setup.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: woocommerce stock, stock update, bulk stock manage, bulk products, woocommerce products...
sync-wc-google/sync-wc-google.php 92% from 13 tests
"Bulk Product Sync - Bulk Product Editor for WooCommerce with Google Sheets™" version 8.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,844 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 803 | 480 | 1,770 |
CSS | 1 | 7 | 5 | 68 |
JavaScript | 1 | 5 | 6 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 30.71 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 77 | |
▷ Static methods | 15 | 19.48% |
▷ Public methods | 77 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 63 | |
▷ Named functions | 24 | 38.10% |
▷ Anonymous functions | 39 | 61.90% |
Constants | 5 | |
▷ Global constants | 5 | 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
1 PNG file occupies 0.08MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bps-logo.png | 86.84KB | 28.08KB | ▼ 67.67% |