74% comments-not-replied-to

Code Review | Comments Not Replied To

WordPress plugin Comments Not Replied To scored 74% from 54 tests.

About plugin

  • Plugin page: comments-not-repl...
  • Plugin version: 1.5.8
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-6.3
  • WordPress version: 6.3.1
  • First release: Apr 8, 2013
  • Latest release: Jul 22, 2023
  • Number of updates: 68
  • Update frequency: every 55.7 days
  • Top authors: Dudo (83.82%)mordauk (11.76%)tommcfarlin (4.41%)norcross (4.41%)

Code review

54 tests

User reviews

5 reviews

Install metrics

200+ active / 10,853 total downloads

Benchmarks

Plugin footprint 65% 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: ▲5.04MB] [CPU: ▲21.90ms] 75% from 4 tests

An overview of server-side resources used by Comments Not Replied To
Please take the time to fix the following items
  • Extra RAM: Extra memory usage should kept under 5MB (currently 5.04MB on /wp-admin/admin.php?page=freemius)
PageMemory (MB)CPU Time (ms)
Home /8.88 ▲5.4267.87 ▲24.03
Dashboard /wp-admin8.90 ▲5.6077.04 ▲28.25
Posts /wp-admin/edit.php8.90 ▲5.5577.12 ▲33.25
Add New Post /wp-admin/post-new.php9.47 ▲3.58107.85 ▲2.06
Media Library /wp-admin/upload.php8.90 ▲5.6772.35 ▲36.62
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius8.9059.21

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 208 new files
Database: no new tables, 10 new options
New WordPress options
fs_debug_mode
widget_recent-posts
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
cnrt-version
fs_active_plugins
fs_accounts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

Comments Not Replied To: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,856 ▲9913.69 ▼0.711.62 ▼0.3531.34 ▼17.54
Dashboard /wp-admin2,265 ▲805.88 ▲0.0398.24 ▼3.0140.89 ▲1.31
Posts /wp-admin/edit.php2,126 ▲372.05 ▼0.0138.94 ▼2.6440.36 ▲3.75
Add New Post /wp-admin/post-new.php1,557 ▲2118.04 ▼5.21619.89 ▲24.2155.04 ▲1.02
Media Library /wp-admin/upload.php1,419 ▲344.23 ▲0.0294.73 ▼1.8144.10 ▲2.28
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius1,0971.6923.0429.15

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin cannot be uninstalled
    • > Notice in wp-content/plugins/comments-not-replied-to/vendor/freemius/wordpress-sdk/includes/class-freemius.php+8486
    Undefined property: stdClass::$plugins
  • This plugin does not fully uninstall, leaving 10 options in the database
    • fs_accounts
    • fs_active_plugins
    • widget_theysaidso_widget
    • cnrt-version
    • fs_debug_mode
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
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
  • 4× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/comments-not-replied-to/commentsNotRepliedTo.php
    • > /wp-content/plugins/comments-not-replied-to/comments-not-replied-to.php
    • > /wp-content/plugins/comments-not-replied-to/admin/pricing-page.php
    • > /wp-content/plugins/comments-not-replied-to/admin/Admin.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: comments, replied, comments reply, not replied

comments-not-replied-to/comments-not-replied-to.php Passed 13 tests

"Comments Not Replied To" version 1.5.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
76 characters long description:
Easily see which comments have not received a reply from each post's author.

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin35,846 lines of code in 158 files:
LanguageFilesBlank linesComment linesLines of code
PHP1338,34618,12834,475
JavaScript562133537
CSS158611514
PO File27678207
Markdown139059
JSON10052
SVG1002

PHP code 50% from 2 tests

A short review of cyclomatic complexity and code structure
Please tend to the following items
  • Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity
Average complexity per logical line of code0.63
Average class complexity83.04
▷ Minimum class complexity1.00
▷ Maximum class complexity3,073.00
Average method complexity4.46
▷ Minimum method complexity1.00
▷ Maximum method complexity94.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes56
▷ Abstract classes23.57%
▷ Concrete classes5496.43%
▷ Final classes00.00%
Methods1,359
▷ Static methods22616.63%
▷ Public methods94569.54%
▷ Protected methods171.25%
▷ Private methods39729.21%
Functions103
▷ Named functions9996.12%
▷ Anonymous functions43.88%
Constants163
▷ Global constants11671.17%
▷ Class constants4728.83%
▷ Public constants47100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/img/kofi.png9.90KB3.59KB▼ 63.77%
vendor/freemius/wordpress-sdk/assets/img/plugin-icon.png9.16KB5.26KB▼ 42.58%
admin/img/comments-not-replied-to.png2.76KB2.46KB▼ 10.87%
vendor/freemius/wordpress-sdk/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%