Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.51MB] [CPU: ▼18.22ms] Passed 4 tests
An overview of server-side resources used by WooCommerce CRM
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 40.71 ▼6.78 |
Dashboard /wp-admin | 3.48 ▲0.18 | 52.36 ▼1.49 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 49.30 ▼2.31 |
Add New Post /wp-admin/post-new.php | 3.33 ▼2.55 | 39.68 ▼62.30 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 39.49 ▲2.58 |
Groups /wp-admin/admin.php?page=woo-crm-groups | 3.37 | 30.24 |
Pro Features /wp-admin/admin.php?page=woo-crm-pro | 3.37 | 34.04 |
Tasks /wp-admin/admin.php?page=woo-crm-tasks | 3.37 | 32.73 |
Calls /wp-admin/admin.php?page=woo-crm-calls | 3.37 | 32.66 |
Customers /wp-admin/edit.php?post_type=customers | 3.48 | 44.31 |
Accounts /wp-admin/admin.php?page=woo-crm-accounts | 3.37 | 35.67 |
Emails /wp-admin/admin.php?page=woo-crm-emails | 3.37 | 34.96 |
Server storage [IO: ▲1.28MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please fix the following
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/woo-crm/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
WooCommerce CRM: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲101 | 13.57 ▼0.81 | 1.69 ▲0.07 | 48.00 ▲2.41 |
Dashboard /wp-admin | 2,265 ▲59 | 4.88 ▼0.93 | 111.70 ▲8.52 | 82.22 ▲38.80 |
Posts /wp-admin/edit.php | 2,148 ▲48 | 2.00 ▲0.01 | 38.42 ▲3.58 | 34.82 ▼2.69 |
Add New Post /wp-admin/post-new.php | 1,561 ▲16 | 23.64 ▲0.56 | 742.84 ▲55.06 | 54.33 ▼0.01 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.18 ▼0.09 | 105.02 ▼10.27 | 74.08 ▲24.14 |
Groups /wp-admin/admin.php?page=woo-crm-groups | 976 | 2.02 | 27.33 | 44.57 |
Pro Features /wp-admin/admin.php?page=woo-crm-pro | 957 | 2.02 | 26.30 | 32.94 |
Tasks /wp-admin/admin.php?page=woo-crm-tasks | 982 | 2.02 | 21.87 | 34.12 |
Calls /wp-admin/admin.php?page=woo-crm-calls | 961 | 2.03 | 25.78 | 34.01 |
Customers /wp-admin/edit.php?post_type=customers | 1,316 | 3.64 | 59.15 | 67.99 |
Accounts /wp-admin/admin.php?page=woo-crm-accounts | 981 | 2.02 | 23.71 | 32.55 |
Emails /wp-admin/admin.php?page=woo-crm-emails | 978 | 2.01 | 24.59 | 38.49 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=woo-crm-emails
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-crm/includes/customer-meta-fields.php:368
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-crm/includes/admin-menu.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-crm/includes/post-type.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function is_ssl() in wp-content/plugins/woo-crm/woocommerce-crm.php:21
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=woo-crm-emails
- > Network (severe)
wp-content/plugins/woocommerce-crm/assets/images/wooexim_logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Manage You Customers), #2 (Customer Details), #3 (Customer Account Management), #4 (Create Task), #5 (Schedule Call)
- Donate link: Please fix this invalid URI: ""
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
woo-crm/woocommerce-crm.php 77% from 13 tests
"WooCommerce CRM" version 1.0.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path is invalid: folder "/lang/" does not exist
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-crm.php" instead of "woocommerce-crm.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin823 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 153 | 48 | 620 |
CSS | 1 | 36 | 0 | 180 |
JavaScript | 2 | 9 | 12 | 23 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/wooexim_logo.png | 1.68KB | 0.76KB | ▼ 54.65% |