Benchmarks
Plugin footprint 83% 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.35MB] [CPU: ▲1.26ms] Passed 4 tests
Server-side resources used by Connect WooCommerce Holded
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 44.32 ▲3.03 |
Dashboard /wp-admin | 3.65 ▲0.35 | 45.34 ▼0.95 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 46.96 ▲1.21 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.35 | 92.98 ▲1.76 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 40.21 ▲4.59 |
Connect Holded /wp-admin/admin.php?page=import_holded | 3.54 | 33.57 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
wcpimh_version |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Connect WooCommerce Holded
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.30 ▼1.08 | 1.78 ▲0.22 | 42.87 ▲0.19 |
Dashboard /wp-admin | 2,225 ▲36 | 5.90 ▲0.95 | 108.32 ▼0.35 | 42.96 ▲3.01 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.05 ▲0.08 | 39.59 ▲4.93 | 38.13 ▲7.53 |
Add New Post /wp-admin/post-new.php | 1,542 ▼0 | 23.18 ▲4.70 | 654.30 ▼8.75 | 55.97 ▼8.79 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.21 ▲0.04 | 97.29 ▼0.90 | 44.50 ▲2.00 |
Connect Holded /wp-admin/admin.php?page=import_holded | 789 | 2.03 | 25.47 | 24.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- wcpimh_version
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% 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 50% from 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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/import-holded-products-woocommerce/includes/class-public.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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
3 plugin tags: woocommerce, holded, connect woocommerce
import-holded-products-woocommerce/import-holded-products-woocommerce.php 92% from 13 tests
The main PHP script in "Connect WooCommerce Holded" version 2.0.1 is automatically included on every request by WordPress
You should first fix the following items:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.0" instead of "5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin2,067 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 264 | 535 | 1,771 |
PO File | 1 | 152 | 250 | 267 |
CSS | 1 | 1 | 0 | 29 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 87.25 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 5.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 1 | 1.43% |
▷ Public methods | 64 | 91.43% |
▷ Protected methods | 1 | 1.43% |
▷ Private methods | 5 | 7.14% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
There were not PNG files found in your plugin