Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.70ms] Passed 4 tests
An overview of server-side resources used by Notify Comment Reply
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.75 ▼2.76 |
Dashboard /wp-admin | 3.36 ▲0.01 | 51.04 ▼11.89 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 57.33 ▲6.39 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 90.90 ▼5.25 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.45 ▲1.09 |
Notify Comment Reply /wp-admin/options-general.php?page=mnp_ncr_settings | 3.25 | 38.00 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
mnp_ncr_basic |
mnp_ncr_edit |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Notify Comment Reply
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲186 | 15.08 ▲0.42 | 1.82 ▼0.12 | 41.62 ▲0.93 |
Dashboard /wp-admin | 2,350 ▲170 | 6.33 ▲0.67 | 110.83 ▲24.47 | 37.22 ▼5.55 |
Posts /wp-admin/edit.php | 2,281 ▲181 | 3.51 ▲1.50 | 56.72 ▲19.12 | 35.18 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.14 ▼0.03 | 621.63 ▼114.05 | 37.62 ▼29.81 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.31 ▲0.06 | 87.09 ▼19.46 | 41.86 ▼3.03 |
Notify Comment Reply /wp-admin/options-general.php?page=mnp_ncr_settings | 1,090 | 3.43 | 54.18 | 32.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- mnp_ncr_edit
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- mnp_ncr_basic
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/notify-comment-reply/templates/template-reply.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/notify-comment-reply/includes/functions.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/notify-comment-reply/templates/template-edit.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/notify-comment-reply/init.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: email, notify, comment, notification, alert...
notify-comment-reply/init.php 92% from 13 tests
The main PHP file in "Notify Comment Reply" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("notify-comment-reply.php" instead of "init.php")
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
Everything looks great! No dangerous files found in this plugin557 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 176 | 257 | 532 |
Markdown | 1 | 9 | 0 | 25 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 35.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 35 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin