Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼11.39ms] Passed 4 tests
A check of server-side resources used by Platform Notification For WooCommerce - Get notification on different platform on WooCommerce action
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.85 ▼5.16 |
Dashboard /wp-admin | 3.36 ▲0.01 | 52.16 ▼18.44 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 54.83 ▲3.21 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.05 | 85.65 ▼20.62 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 38.66 ▼1.35 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Platform Notification For WooCommerce - Get notification on different platform on WooCommerce action
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.30 ▼0.06 | 1.84 ▼0.00 | 43.55 ▼1.25 |
Dashboard /wp-admin | 2,195 ▲15 | 5.66 ▲0.01 | 91.44 ▲2.15 | 41.49 ▼1.79 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▼0.02 | 41.93 ▲1.27 | 37.32 ▲5.46 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.85 ▼0.22 | 662.25 ▼43.39 | 70.82 ▲8.64 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.21 ▲0.02 | 94.87 ▼21.30 | 44.62 ▼3.30 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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
Everything seems fine, however this is by no means 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
Please fix the following items
- 3× 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/platform-notification-for-woocommerce/platform-notification-for-woocommerce.php:22
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/platform-notification-for-woocommerce/app/Slack/SlackIntegration.php:4
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/platform-notification-for-woocommerce/app/Discord/DiscordIntegration.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Add a description for screenshot #1 in platform-notification-for-woocommerce/assets to your readme.txt
platform-notification-for-woocommerce/platform-notification-for-woocommerce.php Passed 13 tests
"Platform Notification For WooCommerce - Get notification on different platform on WooCommerce action" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
60 characters long description:
Get notification on different platform on WooCommerce action
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 plugin757 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 159 | 273 | 740 |
JSON | 1 | 1 | 0 | 17 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 5.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 11 | 22.92% |
▷ Public methods | 44 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.33% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG images were found in this plugin