Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.78ms] Passed 4 tests
An overview of server-side resources used by Error Notify Slack
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.77 ▼1.53 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.06 ▼3.76 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.29 ▼1.01 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.18 ▼15.84 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.79 ▼1.98 |
Error Notify Slack /wp-admin/options-general.php?page=error_notify_slack | 3.05 | 22.08 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Error Notify Slack: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.16 ▼0.23 | 1.76 ▼0.12 | 39.95 ▼2.65 |
Dashboard /wp-admin | 2,199 ▲19 | 5.56 ▼0.13 | 94.33 ▼1.02 | 42.40 ▲3.05 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.03 | 38.53 ▲2.10 | 31.90 ▼7.27 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.49 ▲0.10 | 686.69 ▲11.54 | 60.35 ▲4.49 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.21 ▲0.03 | 100.44 ▲1.10 | 42.74 ▼0.95 |
Error Notify Slack /wp-admin/options-general.php?page=error_notify_slack | 981 | 2.17 | 24.94 | 28.50 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=error_notify_slack
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
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 fix the following items
- 1× 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/error-notify-slack/includes/admin/class-admin.php:34
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: reporting, debugging, error, fatal
error-notify-slack/error-notify-slack.php 92% from 13 tests
The main PHP script in "Error Notify Slack" version 1... is automatically included on every request by WordPress
Please take the time to fix the following:
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "1...")
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
Good job! No executable or dangerous file extensions detected299 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 128 | 125 | 285 |
JavaScript | 1 | 4 | 0 | 14 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 14.33 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 12 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 25.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin