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.05MB] [CPU: ▼1.88ms] Passed 4 tests
Server-side resources used by Woocommerce Simla.com
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.35 ▼5.76 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.02 ▼2.84 |
Posts /wp-admin/edit.php | 3.48 ▲0.11 | 46.26 ▼0.22 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.07 ▲1.69 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.83 ▲1.31 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 61 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Woocommerce Simla.com
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲63 | 14.53 ▼0.23 | 1.56 ▼0.16 | 37.08 ▼6.83 |
Dashboard /wp-admin | 2,207 ▲26 | 5.61 ▼0.13 | 92.85 ▼16.51 | 42.63 ▲3.23 |
Posts /wp-admin/edit.php | 2,110 ▲7 | 1.94 ▲0.00 | 41.74 ▲6.77 | 38.07 ▲7.61 |
Add New Post /wp-admin/post-new.php | 1,535 ▲4 | 23.50 ▲0.70 | 712.79 ▲73.74 | 51.82 ▲6.83 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.27 ▲0.10 | 96.15 ▼2.84 | 41.87 ▼1.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
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
Please take a closer look at the following
- 16× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration_Retailcrm' not found in wp-content/plugins/woo-retailcrm/include/api/class-wc-retailcrm-client-v5.php:4
- > PHP Fatal error
Uncaught Error: Class 'WC_Retailcrm_Abstracts_Address' not found in wp-content/plugins/woo-retailcrm/include/order/class-wc-retailcrm-order-address.php:14
- > PHP Fatal error
Uncaught Error: Class 'WC_Retailcrm_Abstracts_Data' not found in wp-content/plugins/woo-retailcrm/include/order/class-wc-retailcrm-order-payment.php:14
- > PHP Fatal error
Uncaught Error: Class 'WC_Retailcrm_Url_Constraint' not found in wp-content/plugins/woo-retailcrm/include/validators/url-validator/class-wc-retailcrm-url-validator.php:15
- > PHP Fatal error
Uncaught Error: Class 'WC_Retailcrm_Abstract_Builder' not found in wp-content/plugins/woo-retailcrm/include/customer/woocommerce/class-wc-retailcrm-wc-customer-builder.php:14
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration_Retailcrm' not found in wp-content/plugins/woo-retailcrm/include/api/class-wc-retailcrm-request.php:4
- > PHP Fatal error
Uncaught Error: Interface 'WC_Retailcrm_Builder_Interface' not found in wp-content/plugins/woo-retailcrm/include/abstracts/class-wc-retailcrm-abstract-builder.php:14
- > PHP Fatal error
Uncaught Error: Class 'WC_Retailcrm_Abstracts_Data' not found in wp-content/plugins/woo-retailcrm/include/order/class-wc-retailcrm-order-item.php:14
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration_Retailcrm' not found in wp-content/plugins/woo-retailcrm/include/api/class-wc-retailcrm-response.php:4
- > PHP Fatal error
Uncaught Error: Class 'WC_Retailcrm_Abstracts_Data' not found in wp-content/plugins/woo-retailcrm/include/abstracts/class-wc-retailcrm-abstracts-address.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: simlacom, simla
woo-retailcrm/retailcrm.php 77% from 13 tests
The principal PHP file in "Woocommerce Simla.com" v. 4.6.14 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("woo-retailcrm.php" instead of "retailcrm.php")
- Requires at least: Required version must match the one declared in readme.txt ("5.3" instead of "5.4")
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
No dangerous file extensions were detected8,318 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 1,714 | 3,657 | 7,609 |
JavaScript | 3 | 121 | 5 | 471 |
CSS | 8 | 14 | 0 | 123 |
XML | 1 | 9 | 0 | 115 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 31.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 247.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 38 | |
▷ Abstract classes | 4 | 10.53% |
▷ Concrete classes | 34 | 89.47% |
▷ Final classes | 0 | 0.00% |
Methods | 420 | |
▷ Static methods | 38 | 9.05% |
▷ Public methods | 309 | 73.57% |
▷ Protected methods | 33 | 7.86% |
▷ Private methods | 78 | 18.57% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 15 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 15 | 100.00% |
▷ Public constants | 15 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin