Benchmarks
Plugin footprint 65% 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.90MB] [CPU: ▼38.65ms] Passed 4 tests
This is a short check of server-side resources used by WP User Notifier
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 43.28 ▲1.19 |
Dashboard /wp-admin | 3.05 ▼0.29 | 24.84 ▼40.49 |
Posts /wp-admin/edit.php | 3.06 ▼0.30 | 28.23 ▼24.45 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.83 | 26.88 ▼79.70 |
Media Library /wp-admin/upload.php | 3.06 ▼0.17 | 26.72 ▼9.97 |
User Notifier /wp-admin/options-general.php?page=wp-user-notifier-settings | 3.06 | 28.88 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 12 new options
New WordPress options |
---|
wp_user_notifier_comment_need_pending |
can_compress_scripts |
widget_recent-comments |
wp_user_notifier |
db_upgraded |
wp_user_notifier_enabled_cf7 |
wp_user_notifier_enable |
wp_user_notifier_message |
widget_recent-posts |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP User Notifier
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▼0.00 | 1.77 ▲0.08 | 43.97 ▼0.01 |
Dashboard /wp-admin | 2,196 ▲19 | 5.56 ▼0.08 | 84.01 ▼11.46 | 39.53 ▼1.26 |
Posts /wp-admin/edit.php | 2,086 ▼14 | 2.00 ▲0.02 | 35.66 ▼4.87 | 35.98 ▼0.76 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.13 ▲0.32 | 688.36 ▲10.83 | 59.48 ▲7.97 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.13 ▼0.01 | 114.02 ▲6.48 | 47.54 ▲1.52 |
User Notifier /wp-admin/options-general.php?page=wp-user-notifier-settings | 1,643 | 6.88 | 137.93 | 71.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options detected upon uninstall: 12 options
- theysaidso_admin_options
- wp_user_notifier_enabled_cf7
- widget_recent-posts
- wp_user_notifier_message
- wp_user_notifier_comment_need_pending
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- wp_user_notifier
- widget_recent-comments
- ...
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-user-notifier-settings
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
wp-user-notifier/wp-user-notifier.php Passed 13 tests
"WP User Notifier" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
67 characters long description:
Notify a user about when he sent comment or form via Contact Form 7
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
Good job! No executable or dangerous file extensions detected281 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 95 | 146 | 280 |
JavaScript | 1 | 0 | 1 | 1 |
CSS | 1 | 0 | 1 | 0 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 42.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 57.14% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 38.29KB | 22.45KB | ▼ 41.36% |