Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.82ms] Passed 4 tests
An overview of server-side resources used by Comment Approved Notifier Extended
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.25 ▼3.96 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.64 ▼4.49 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.57 ▲0.03 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.92 ▼14.86 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.14 ▲0.25 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
cane_default_message_subject |
db_upgraded |
cane_default_message_body |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Comment Approved Notifier Extended: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.20 ▼1.10 | 1.83 ▼0.27 | 43.39 ▼5.25 |
Dashboard /wp-admin | 2,219 ▲28 | 5.89 ▲0.99 | 111.96 ▲7.08 | 39.76 ▼1.01 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.04 ▲0.06 | 39.06 ▼1.08 | 36.78 ▲1.88 |
Add New Post /wp-admin/post-new.php | 1,527 ▼3 | 17.70 ▼0.71 | 655.59 ▲22.61 | 51.15 ▼4.22 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.16 ▼0.13 | 94.48 ▼5.16 | 41.38 ▼3.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/comment-approved-notifier-extended/templates/email-template2.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/comment-approved-notifier-extended/templates/email-template.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (The plugin sends an TURKISH e-mail like that.), #2 (The plugin sends an ENGLISH e-mail like that.)
comment-approved-notifier-extended/comment-approved-notifier-extended.php Passed 13 tests
The main PHP script in "Comment Approved Notifier Extended" version 5.2 is automatically included on every request by WordPress
55 characters long description:
Send notification e-mail to user when comment approved.
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
No dangerous file extensions were detected1,461 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 92 | 41 | 1,054 |
PO File | 4 | 84 | 119 | 211 |
PHP | 3 | 11 | 22 | 196 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.21MB with 0.15MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 157.63KB | 23.58KB | ▼ 85.04% |
screenshot-1.png | 55.25KB | 22.89KB | ▼ 58.58% |