Benchmarks
Plugin footprint 48% 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.44MB] [CPU: ▼40.98ms] Passed 4 tests
A check of server-side resources used by WANotifier - Send Message Notifications Using Cloud API
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 17.22 ▼26.31 |
Dashboard /wp-admin | 3.59 ▲0.24 | 23.32 ▼36.57 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 19.32 ▼25.25 |
Add New Post /wp-admin/post-new.php | 3.58 ▼2.30 | 21.89 ▼75.77 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 22.00 ▼13.56 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 3.58 | 20.65 |
Server storage [IO: ▲1.42MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 189 new files
Database: 4 new tables, 10 new options
New tables |
---|
wp_actionscheduler_actions |
wp_actionscheduler_logs |
wp_actionscheduler_claims |
wp_actionscheduler_groups |
New WordPress options |
---|
action_scheduler_hybrid_store_demarkation |
widget_recent-posts |
db_upgraded |
schema-ActionScheduler_StoreSchema |
schema-ActionScheduler_LoggerSchema |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
action_scheduler_lock_async-request-runner |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WANotifier - Send Message Notifications Using Cloud API: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲84 | 14.37 ▲0.10 | 2.16 ▲0.24 | 44.20 ▲1.62 |
Dashboard /wp-admin | 2,214 ▲37 | 5.62 ▼0.00 | 94.61 ▼5.24 | 42.53 ▼1.08 |
Posts /wp-admin/edit.php | 2,116 ▲19 | 2.01 ▼0.00 | 37.91 ▼0.57 | 34.06 ▼5.81 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 22.80 ▼0.61 | 621.09 ▼1.51 | 53.98 ▲6.17 |
Media Library /wp-admin/upload.php | 1,413 ▲16 | 4.27 ▲0.09 | 101.30 ▲2.70 | 43.66 ▲0.86 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,264 | 1.82 | 26.14 | 32.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/notifier/includes/class-notifier.php+243
include_once(wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-session.php): failed to open stream: No such file or directory
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_actionscheduler_logs
- wp_actionscheduler_actions
- wp_actionscheduler_claims
- wp_actionscheduler_groups
- Zombie WordPress options were found after uninstall: 10 options
- can_compress_scripts
- widget_recent-comments
- action_scheduler_lock_async-request-runner
- schema-ActionScheduler_StoreSchema
- action_scheduler_hybrid_store_demarkation
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- schema-ActionScheduler_LoggerSchema
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/tools.php?page=action-scheduler
- > Warning in wp-content/plugins/notifier/includes/class-notifier.php+243
include_once(wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-session.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/tools.php?page=action-scheduler
- > Warning in wp-content/plugins/notifier/includes/class-notifier.php+243
include_once(): Failed opening 'wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-session.php' for inclusion (include_path='.:/usr/share/php')
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 80× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schema' not found in wp-content/plugins/notifier/libraries/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store' not found in wp-content/plugins/notifier/libraries/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_UnitTestCase' not found in wp-content/plugins/notifier/libraries/action-scheduler/tests/phpunit/versioning/ActionScheduler_Versions_Test.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/notifier/libraries/action-scheduler/classes/WP_CLI/Migration_Command.php:22
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/notifier/libraries/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Clean_Command.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store' not found in wp-content/plugins/notifier/libraries/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_UnitTestCase' not found in wp-content/plugins/notifier/libraries/action-scheduler/tests/phpunit/procedural_api/procedural_api_Test.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_SimpleSchedule' not found in wp-content/plugins/notifier/libraries/action-scheduler/classes/schedules/ActionScheduler_CanceledSchedule.php:6
- > PHP Fatal error
Uncaught Error: Interface 'CronExpression_FieldInterface' not found in wp-content/plugins/notifier/libraries/action-scheduler/lib/cron-expression/CronExpression_AbstractField.php:8
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/notifier/libraries/action-scheduler/lib/cron-expression/CronExpression_DayOfWeekField.php:18
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in notifier/assets to your readme.txt
notifier/notifier.php 85% from 13 tests
"WANotifier - Send Message Notifications Using Cloud API" version 2.4.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Requires at least: Required version must match the one declared in readme.txt ("5.0" instead of "5.7")
- Description: Keep the plugin description shorter than 140 characters (currently 151 characters long)
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
There were no executable files found in this plugin16,313 lines of code in 174 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 143 | 3,080 | 6,339 | 13,904 |
CSS | 2 | 58 | 8 | 979 |
Markdown | 11 | 378 | 0 | 670 |
JavaScript | 4 | 51 | 52 | 283 |
Bourne Shell | 1 | 23 | 11 | 147 |
SVG | 4 | 0 | 0 | 129 |
XML | 2 | 1 | 0 | 55 |
HTML | 2 | 8 | 0 | 52 |
Sass | 1 | 10 | 0 | 47 |
JSON | 2 | 0 | 0 | 29 |
YAML | 2 | 2 | 0 | 18 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 11.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 124 | |
▷ Abstract classes | 16 | 12.90% |
▷ Concrete classes | 108 | 87.10% |
▷ Final classes | 0 | 0.00% |
Methods | 924 | |
▷ Static methods | 174 | 18.83% |
▷ Public methods | 741 | 80.19% |
▷ Protected methods | 145 | 15.69% |
▷ Private methods | 38 | 4.11% |
Functions | 169 | |
▷ Named functions | 36 | 21.30% |
▷ Anonymous functions | 133 | 78.70% |
Constants | 45 | |
▷ Global constants | 11 | 24.44% |
▷ Class constants | 34 | 75.56% |
▷ Public constants | 34 | 100.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
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libraries/action-scheduler/docs/mstile-150x150.png | 4.15KB | 3.67KB | ▼ 11.47% |
libraries/action-scheduler/docs/favicon-16x16.png | 0.39KB | 0.38KB | ▼ 3.02% |
libraries/action-scheduler/docs/android-chrome-192x192.png | 6.77KB | 2.46KB | ▼ 63.68% |
libraries/action-scheduler/docs/apple-touch-icon.png | 6.77KB | 2.46KB | ▼ 63.68% |
libraries/action-scheduler/docs/android-chrome-256x256.png | 2.93KB | 3.03KB | 0.00% |