90% comment-reply-by-admins-notifier

Code Review | Comment Reply by Admins Notifier

WordPress plugin Comment Reply by Admins Notifier scored90%from 54 tests.

About plugin

  • Plugin page: comment-reply-by-...
  • Plugin version: 2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.5.2
  • WordPress version: 6.3.1
  • First release: Jul 16, 2013
  • Latest release: Jul 26, 2013
  • Number of updates: 14
  • Update frequency: every 0.7 days
  • Top authors: yakuphoca (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,783 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼9.23ms] Passed 4 tests

This is a short check of server-side resources used by Comment Reply by Admins Notifier
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.02 ▼4.48
Dashboard /wp-admin3.31 ▼0.0448.83 ▼21.37
Posts /wp-admin/edit.php3.36 ▲0.0050.45 ▲0.88
Add New Post /wp-admin/post-new.php5.89 ▲0.0093.33 ▼11.96
Media Library /wp-admin/upload.php3.23 ▲0.0034.59 ▲1.23

Server storage [IO: ▲0.00MB] [DB: ▲0.07MB] Passed 3 tests

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

Comment Reply by Admins Notifier: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.30 ▼0.291.78 ▼0.0238.92 ▼4.64
Dashboard /wp-admin2,192 ▲155.57 ▲0.0183.84 ▼7.9741.01 ▲2.87
Posts /wp-admin/edit.php2,100 ▼02.02 ▲0.0340.78 ▲2.7834.19 ▼2.21
Add New Post /wp-admin/post-new.php1,545 ▲1423.33 ▲0.19640.52 ▼57.4350.64 ▼15.17
Media Library /wp-admin/upload.php1,394 ▼64.32 ▲0.1596.31 ▼8.4645.38 ▼0.86

Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded

Smoke tests Passed 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 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: reply, notifier, admin, comment reply, comments

comment-reply-by-admins-notifier/comment-reply-by-admins-notifier.php Passed 13 tests

Analyzing the main PHP file in "Comment Reply by Admins Notifier" version 2.0
87 characters long description:
When you reply a comment as Admin or Editor, an E-mail will send a notify to commenter.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected42 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP141042

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin