Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼5.45ms] Passed 4 tests
A check of server-side resources used by Comment Reply Email Notification
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 49.53 ▲4.43 |
Dashboard /wp-admin | 3.43 ▲0.13 | 50.80 ▲2.63 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 47.17 ▼8.13 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 85.29 ▼16.47 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 36.30 ▲0.18 |
Comment subscriptions /wp-admin/edit-comments.php?page=comment_reply_email_notification_subscriptions | 3.39 | 35.08 |
Comment Reply Email Notification /wp-admin/options-general.php?page=comment_reply_email_notification | 3.32 | 31.29 |
All Comments /wp-admin/edit-comments.php | 3.42 | 41.56 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Comment Reply Email Notification
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲24 | 14.26 ▲0.02 | 1.81 ▼0.52 | 44.57 ▼6.73 |
Dashboard /wp-admin | 2,216 ▲42 | 5.64 ▼0.01 | 91.02 ▼11.84 | 38.29 ▼8.92 |
Posts /wp-admin/edit.php | 2,118 ▲21 | 2.00 ▲0.05 | 35.46 ▼4.99 | 33.14 ▼2.29 |
Add New Post /wp-admin/post-new.php | 1,544 ▲16 | 23.23 ▲0.08 | 676.01 ▼16.35 | 76.24 ▲21.89 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.19 ▼0.05 | 98.48 ▼17.50 | 43.64 ▼6.13 |
Comment subscriptions /wp-admin/edit-comments.php?page=comment_reply_email_notification_subscriptions | 984 | 2.03 | 26.18 | 28.82 |
Comment Reply Email Notification /wp-admin/options-general.php?page=comment_reply_email_notification | 939 | 2.04 | 25.11 | 28.42 |
All Comments /wp-admin/edit-comments.php | 1,828 | 2.28 | 39.44 | 36.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/comment-reply-email-notification/templates/cren/notification.php:1
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/comment-reply-email-notification/classes/SubscriptionsTable.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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: reply, notification, comment, email
comment-reply-email-notification/cren_plugin.php 92% from 13 tests
The primary PHP file in "Comment Reply Email Notification" version 1.31.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("comment-reply-email-notification.php" instead of "cren_plugin.php")
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
Everything looks great! No dangerous files found in this plugin1,899 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 15 | 484 | 605 | 1,412 |
PHP | 5 | 99 | 199 | 487 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 93.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.25% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin