84% comment-reply-email

Code Review | Comment Reply Email

WordPress plugin Comment Reply Email scored84%from 54 tests.

About plugin

  • Plugin page: comment-reply-email
  • Plugin version: 1.0.5
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3.2
  • WordPress version: 6.3.1
  • First release: Jun 18, 2020
  • Latest release: Nov 8, 2023
  • Number of updates: 12
  • Update frequency: every 103.2 days
  • Top authors: treeflips (100%)

Code review

54 tests

User reviews

13 reviews

Install metrics

500+ active /7,523 total downloads

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.07MB] [CPU: ▼3.70ms] Passed 4 tests

Server-side resources used by Comment Reply Email
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0740.23 ▼4.60
Dashboard /wp-admin3.37 ▲0.0756.55 ▲5.76
Posts /wp-admin/edit.php3.43 ▲0.0748.44 ▼2.87
Add New Post /wp-admin/post-new.php5.96 ▲0.0783.51 ▼8.40
Media Library /wp-admin/upload.php3.30 ▲0.0734.83 ▲1.07
Comment Reply /wp-admin/options-general.php?page=comment-reply-email/comment-reply-email.php3.2630.67

Server storage [IO: ▲0.05MB] [DB: ▲0.31MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options
commentreplyemail
can_compress_scripts
widget_theysaidso_widget
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Comment Reply Email
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,794 ▲3214.27 ▼0.081.90 ▲0.0942.83 ▼1.69
Dashboard /wp-admin2,199 ▲295.49 ▼0.1382.77 ▼19.5938.35 ▼4.80
Posts /wp-admin/edit.php2,104 ▲41.94 ▼0.0034.43 ▲1.0138.88 ▲1.15
Add New Post /wp-admin/post-new.php1,531 ▲523.03 ▼0.42648.88 ▼38.0249.06 ▼7.38
Media Library /wp-admin/upload.php1,407 ▲104.14 ▼0.0296.37 ▼2.9143.26 ▼1.13
Comment Reply /wp-admin/options-general.php?page=comment-reply-email/comment-reply-email.php9922.0022.4329.58

Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 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: 7 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • commentreplyemail
    • widget_recent-comments

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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/comment-reply-email/comment-reply-email.php:57

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)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: email, notification, comment, reply

comment-reply-email/comment-reply-email.php Passed 13 tests

This is the main PHP file of "Comment Reply Email" version 1.0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
72 characters long description:
Commenters can receive email notifications of replies to their comments.

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 detected315 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP15713314
Markdown1001

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity62.00
▷ Minimum class complexity62.00
▷ Maximum class complexity62.00
Average method complexity5.07
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods15
▷ Static methods00.00%
▷ Public methods15100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
PNG images were not found in this plugin