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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.48MB] [CPU: ▼5.36ms] Passed 4 tests
A check of server-side resources used by Notify.Events - Ultimate notifications
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.42 | 42.73 ▲7.10 |
Dashboard /wp-admin | 3.81 ▲0.51 | 39.50 ▼5.21 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 49.33 ▲1.27 |
Add New Post /wp-admin/post-new.php | 6.53 ▲0.64 | 72.49 ▼14.55 |
Media Library /wp-admin/upload.php | 3.74 ▲0.52 | 34.07 ▼2.95 |
Notify.Events /wp-admin/options-general.php?page=notify-events | 3.79 | 32.55 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 102 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Notify.Events - Ultimate notifications: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.72 ▲0.36 | 1.98 ▲0.36 | 43.81 ▲0.12 |
Dashboard /wp-admin | 2,199 ▲19 | 5.65 ▼0.03 | 90.11 ▲4.76 | 44.11 ▲1.45 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.05 | 38.38 ▲3.83 | 35.13 ▼2.94 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.06 ▼4.85 | 586.93 ▼106.28 | 67.00 ▲11.04 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.11 ▼0.12 | 94.39 ▼19.96 | 40.19 ▼5.85 |
Notify.Events /wp-admin/options-general.php?page=notify-events | 899 | 2.05 | 27.65 | 31.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 83× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/notify-events/modules/woocommerce/views/event/order_status_change.php:18
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/notify-events/models/ChannelList.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'notify_events\\models\\Model' not found in wp-content/plugins/notify-events/models/Test.php:16
- > PHP Fatal error
Uncaught Error: Class 'notify_events\\modules\\woocommerce\\models\\Event' not found in wp-content/plugins/notify-events/modules/woocommerce/models/events/product/LowStock.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/notify-events/modules/ninja_forms/views/event/form_submit.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/notify-events/views/about/index.php:15
- > PHP Fatal error
Uncaught Error: Class 'notify_events\\models\\Event' not found in wp-content/plugins/notify-events/modules/wpforms/models/Event.php:9
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/notify-events/models/ChannelList.php on line 6
- > PHP Fatal error
Uncaught Error: Call to a member function has_error() on null in wp-content/plugins/notify-events/views/event/form/_select.php:16
- > PHP Fatal error
Uncaught Error: Class 'notify_events\\modules\\wordpress\\models\\Event' not found in wp-content/plugins/notify-events/modules/wordpress/models/events/post/PostCustom.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7, #8, #9 in notify-events/assets to your readme.txt
- Tags: There are too many tags (12 tag instead of maximum 10)
notify-events/notify-events.php 92% from 13 tests
This is the main PHP file of "Notify.Events - Ultimate notifications" version 1.4.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 210 characters long)
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
Good job! No executable or dangerous file extensions detected5,297 lines of code in 98 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 97 | 1,185 | 1,858 | 5,295 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 3.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 1.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 23 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 66 | |
▷ Abstract classes | 10 | 15.15% |
▷ Concrete classes | 56 | 84.85% |
▷ Final classes | 0 | 0.00% |
Methods | 387 | |
▷ Static methods | 220 | 56.85% |
▷ Public methods | 357 | 92.25% |
▷ Protected methods | 30 | 7.75% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 26 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 26 | 100.00% |
▷ Public constants | 26 | 100.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