90% zeno-report-comments

Code Review | Zeno Report Comments

WordPress plugin Zeno Report Comments scored90%from 54 tests.

About plugin

  • Plugin page: zeno-report-comments
  • Plugin version: 2.0.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-6.4
  • WordPress version: 6.3.1
  • First release: Jul 31, 2016
  • Latest release: Dec 1, 2023
  • Number of updates: 80
  • Update frequency: every 33.5 days
  • Top authors: mpol (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

300+ active /7,582 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.11MB] [CPU: ▼9.09ms] Passed 4 tests

Analyzing server-side resources used by Zeno Report Comments
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1038.30 ▼1.39
Dashboard /wp-admin3.43 ▲0.0945.21 ▼15.51
Posts /wp-admin/edit.php3.55 ▲0.1954.05 ▲8.03
Add New Post /wp-admin/post-new.php6.03 ▲0.1582.69 ▼19.77
Media Library /wp-admin/upload.php3.36 ▲0.1333.53 ▲0.33

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Zeno Report Comments
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲3314.38 ▼0.331.72 ▼0.0640.47 ▼3.16
Dashboard /wp-admin2,200 ▲235.62 ▲0.0593.70 ▼4.4141.79 ▲3.86
Posts /wp-admin/edit.php2,105 ▲21.97 ▲0.0241.03 ▼1.5436.40 ▲0.70
Add New Post /wp-admin/post-new.php1,531 ▲523.23 ▼0.05679.39 ▲0.3451.00 ▼14.03
Media Library /wp-admin/upload.php1,402 ▲54.22 ▲0.0498.04 ▼3.3442.57 ▲0.61

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test

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)
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: safe report comments, flag comments, crowd control, spam comment, report comments

zeno-report-comments/zeno-report-comments.php 92% from 13 tests

Analyzing the main PHP file in "Zeno Report Comments" version 2.0.2
You should first fix the following items:
  • Domain Path: The domain path is invalid: folder "/lang/" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin617 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP5245248573
JavaScript213644

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 code0.33
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%
Functions33
▷ Named functions33100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin