Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.37ms] Passed 4 tests
This is a short check of server-side resources used by Mantiq Integration for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.82 ▼9.54 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.96 ▼2.94 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.59 ▲3.05 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.32 ▼1.93 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.90 ▲0.93 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 75 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mantiq Integration for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.17 ▲0.02 | 1.69 ▼0.08 | 39.56 ▼2.82 |
Dashboard /wp-admin | 2,192 ▲12 | 5.52 ▼0.09 | 84.66 ▼2.22 | 39.23 ▼0.87 |
Posts /wp-admin/edit.php | 2,103 ▲24 | 1.96 ▼0.03 | 35.88 ▼0.97 | 29.40 ▼4.19 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.09 ▲0.03 | 587.80 ▼36.92 | 70.49 ▲20.74 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.25 ▲0.07 | 99.61 ▼0.14 | 45.58 ▼0.90 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 51× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mantiq-integration-for-woocommerce/views/actions/orders/add-note-to-order.php:3
- > PHP Fatal error
Uncaught Error: Class 'Mantiq\\Models\\Action' not found in wp-content/plugins/mantiq-integration-for-woocommerce/src/Actions/WooCommerce/Orders/AddProductItemToOrder.php:13
- > PHP Fatal error
Uncaught Error: Class 'Mantiq\\Models\\Action' not found in wp-content/plugins/mantiq-integration-for-woocommerce/src/Actions/WooCommerce/Orders/GetOrder.php:14
- > PHP Fatal error
Uncaught Error: Class 'Mantiq\\Models\\TriggerEvent' not found in wp-content/plugins/mantiq-integration-for-woocommerce/src/Triggers/Events/WooCommerce/Developers/CartLoaded.php:7
- > PHP Fatal error
Uncaught Error: Class 'Mantiq\\Models\\TriggerEvent' not found in wp-content/plugins/mantiq-integration-for-woocommerce/src/Triggers/Events/WooCommerce/Orders/OrderProcessing.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mantiq-integration-for-woocommerce/views/actions/coupons/delete-coupon.php:4
- > PHP Fatal error
Uncaught Error: Class 'Mantiq\\Models\\TriggerEvent' not found in wp-content/plugins/mantiq-integration-for-woocommerce/src/Triggers/Events/WooCommerce/Carts/CartAbandoned.php:10
- > PHP Fatal error
Uncaught Error: Class 'Mantiq\\Models\\Action' not found in wp-content/plugins/mantiq-integration-for-woocommerce/src/Actions/WooCommerce/Orders/ResendOrderDetailsToCustomer.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mantiq-integration-for-woocommerce/views/actions/orders/resend-new-order-notification.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mantiq-integration-for-woocommerce/views/actions/orders/add-fee-item-to-order.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (WooCommerce events), #2 (WooCommerce actions)
mantiq-integration-for-woocommerce/plugin.php 54% from 13 tests
The main PHP file in "Mantiq Integration for WooCommerce" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 182 characters long)
- Requires at least: Required version does not match the one declared in readme.txt ("5.0.0" instead of "5.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("mantiq-integration-for-woocommerce.php" instead of "plugin.php")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected4,421 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 51 | 522 | 51 | 4,421 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 3.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 37 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 204 | |
▷ Static methods | 15 | 7.35% |
▷ Public methods | 204 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 7 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected