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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.20ms] Passed 4 tests
Server-side resources used by Post Notify Users
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 36.37 ▼4.63 |
Dashboard /wp-admin | 3.37 ▲0.06 | 43.99 ▼3.66 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.53 ▲1.29 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 88.02 ▼7.03 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 31.92 ▼1.48 |
Post Notify Users /wp-admin/options-general.php?page=postnotifyusers | 3.26 | 31.29 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
postnotifyusers |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Post Notify Users
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.27 ▼0.32 | 1.84 ▲0.08 | 40.36 ▼7.00 |
Dashboard /wp-admin | 2,199 ▲22 | 5.59 ▼0.09 | 91.66 ▼5.06 | 41.32 ▼1.79 |
Posts /wp-admin/edit.php | 2,107 ▲1 | 2.00 ▲0.01 | 38.54 ▼19.56 | 36.56 ▼13.05 |
Add New Post /wp-admin/post-new.php | 1,532 ▲3 | 23.29 ▼0.10 | 700.66 ▲58.66 | 62.06 ▲13.74 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.18 ▼0.01 | 98.60 ▲2.68 | 41.79 ▼0.01 |
Post Notify Users /wp-admin/options-general.php?page=postnotifyusers | 872 | 2.01 | 25.06 | 27.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
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 take a closer look at the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/post-notify-users/lib/class-postnotifyusersadmin.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/post-notify-users/lib/class-postnotifyusersadmin.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/post-notify-users/lib/class-postnotifyusers.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: posts, roles, notify, users, mail
post-notify-users/postnotifyusers.php 92% from 13 tests
Analyzing the main PHP file in "Post Notify Users" version 1.06
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("post-notify-users.php" instead of "postnotifyusers.php")
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 detected321 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 58 | 149 | 321 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin