94% mention-comments-authors

Code Review | Mention comment's Authors by Wabeo

WordPress plugin Mention comment's Authors by Wabeo scored 94% from 54 tests.

About plugin

  • Plugin page: mention-comments-...
  • Plugin version: 0.9.8
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.5.2
  • WordPress version: 5.8.1
  • First release: May 16, 2013
  • Latest release: May 30, 2016
  • Number of updates: 37
  • Update frequency: every 30.0 days
  • Top authors: willybahuaud (100%)

Code review

54 tests

User reviews

12 reviews

Install metrics

200+ active / 7,439 total downloads

Benchmarks

Plugin footprint Passed 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.06MB] [CPU: ▼138.99ms] Passed 4 tests

Analyzing server-side resources used by Mention comment's Authors by Wabeo
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.78 ▲0.0619.59 ▼0.85
Dashboard /wp-admin3.12 ▲0.0743.44 ▼1.81
Posts /wp-admin/edit.php3.21 ▲0.1041.47 ▲0.12
Add New Post /wp-admin/post-new.php5.49 ▲0.0584.28 ▼550.79
Media Library /wp-admin/upload.php3.06 ▲0.0631.06 ▼2.52

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Mention comment's Authors by Wabeo
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,850 ▲25416.30 ▲0.7515.31 ▲6.6249.59 ▲1.36
Dashboard /wp-admin3,001 ▲646.06 ▲0.13135.60 ▼7.68103.24 ▼13.88
Posts /wp-admin/edit.php2,741 ▲22.68 ▼0.0167.78 ▼0.2489.81 ▲4.84
Add New Post /wp-admin/post-new.php1,732 ▲6018.54 ▼0.34381.04 ▼12.54136.50 ▲19.25
Media Library /wp-admin/upload.php1,809 ▲25.07 ▲0.05149.14 ▼7.74123.16 ▼2.33

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully

Smoke tests 75% from 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)
The smoke test was a success, however most plugin functionality was not tested

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
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/mention-comments-authors/mention-comments-authors.php:16

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 93% from 29 tests

readme.txt 88% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
  • Screenshots: Please a description for screenshot #2 in mention-comments-authors/assets to your readme.txt
The official readme.txt is a good inspiration

mention-comments-authors/mention-comments-authors.php Passed 13 tests

The primary PHP file in "Mention comment's Authors by Wabeo" version 0.9.8 is used by WordPress to initiate all plugin functionality
133 characters long description:
"Mention comment's authors" is a plugin that improves the WordPress comments fonctionality, adding a response system between authors.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin841 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript1010343512
PHP13667176
CSS3140131
PO File13522

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.37
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%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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