Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.38ms] Passed 4 tests
A check of server-side resources used by Post Notification by Email
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.07 ▼1.32 |
Dashboard /wp-admin | 3.31 ▼0.04 | 57.05 ▼9.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.79 ▼1.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.63 ▼16.75 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.17 ▼2.43 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 91 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Post Notification by Email
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.17 | 1.66 ▼0.08 | 42.71 ▲0.02 |
Dashboard /wp-admin | 2,209 ▲21 | 5.84 ▲0.03 | 99.77 ▼5.54 | 36.77 ▼1.65 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.00 ▼0.17 | 33.21 ▼4.53 | 30.77 ▲0.39 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.28 ▲4.83 | 647.99 ▼20.32 | 55.97 ▲0.82 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.25 ▼0.03 | 97.09 ▼2.89 | 42.36 ▲0.95 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
notify-users-e-mail/notify-users-e-mail.php Passed 13 tests
The main file in "Post Notification by Email" v. 4.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
48 characters long description:
Notification of new posts by e-mail to all users
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin6,091 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 48 | 670 | 629 | 3,361 |
PO File | 10 | 493 | 552 | 1,403 |
PHP | 8 | 170 | 383 | 714 |
CSS | 2 | 137 | 21 | 613 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 36 | |
▷ Static methods | 4 | 11.11% |
▷ Public methods | 25 | 69.44% |
▷ Protected methods | 7 | 19.44% |
▷ Private methods | 4 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/img/select2x2.png | 0.83KB | 0.77KB | ▼ 6.15% |
lib/img/select2.png | 0.60KB | 0.99KB | 0.00% |