Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.26ms] Passed 4 tests
An overview of server-side resources used by MiniCRM WooCommerce Sync
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.16 ▼1.41 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.78 ▼3.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.27 ▲1.49 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 98.19 ▲13.62 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.22 ▼2.11 |
Server storage [IO: ▲0.18MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MiniCRM WooCommerce Sync
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.34 ▼0.01 | 1.76 ▲0.02 | 44.66 ▲2.55 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▲0.10 | 83.29 ▼3.03 | 36.76 ▼5.34 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.01 | 34.87 ▼1.25 | 33.47 ▼3.34 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.28 ▲4.87 | 673.45 ▲68.68 | 64.28 ▲5.30 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.26 ▲0.11 | 108.90 ▲5.04 | 45.49 ▼0.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/minicrm-woocommerce-sync/includes/settings-sync.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 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
No tags were detected
minicrm-woocommerce-sync/minicrm-woocommerce-sync.php Passed 13 tests
The principal PHP file in "MiniCRM WooCommerce Sync" v. 1.5.26 is loaded by WordPress automatically on each request
45 characters long description:
Provides XML feed for MiniCRM webshop module.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin3,938 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 338 | 475 | 3,559 |
PO File | 1 | 44 | 44 | 234 |
JavaScript | 1 | 17 | 35 | 106 |
CSS | 1 | 8 | 0 | 32 |
HTML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 28.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 1 | 16.67% |
▷ Concrete classes | 5 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 38 | 79.17% |
▷ Public methods | 24 | 50.00% |
▷ Protected methods | 24 | 50.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 1 | 4.55% |
▷ Anonymous functions | 21 | 95.45% |
Constants | 17 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 17 | 100.00% |
▷ Public constants | 17 | 100.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
There are no PNG files in this plugin