94% full-comments-on-dashboard

Code Review | Full Comments On Dashboard

WordPress plugin Full Comments On Dashboard scored 94% from 54 tests.

About plugin

  • Plugin page: full-comments-on-...
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-3.0
  • WordPress version: 5.8.1
  • First release: Jan 30, 2009
  • Latest release: Sep 13, 2012
  • Number of updates: 14
  • Update frequency: every 94.4 days
  • Top authors: scribu (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active / 8,624 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼143.59ms] Passed 4 tests

Server-side resources used by Full Comments On Dashboard
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0041.28 ▲2.51
Dashboard /wp-admin3.06 ▲0.0154.67 ▼3.72
Posts /wp-admin/edit.php3.11 ▲0.0150.37 ▲4.81
Add New Post /wp-admin/post-new.php5.42 ▼0.01101.42 ▼570.94
Media Library /wp-admin/upload.php3.00 ▲0.0038.02 ▼2.22

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Full Comments On Dashboard: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,714 ▲14215.79 ▼0.1011.63 ▲0.2847.43 ▼6.36
Dashboard /wp-admin2,978 ▲475.90 ▼0.06155.25 ▼24.55117.46 ▲3.31
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0174.85 ▲2.5896.67 ▼1.91
Add New Post /wp-admin/post-new.php1,683 ▲10218.88 ▼0.29398.01 ▼33.79119.84 ▲2.87
Media Library /wp-admin/upload.php1,807 ▼05.03 ▼0.00176.50 ▲12.06128.30 ▲3.98

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
The plugin uninstalled successfully, without leaving any zombie files or tables

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
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/full-comments-on-dashboard/full-comments-on-dashboard.php:23

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: dashboard, comments

full-comments-on-dashboard/full-comments-on-dashboard.php Passed 13 tests

"Full Comments On Dashboard" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
69 characters long description:
Show full comments in the Recent Comments box on the admin dashboard.

Code Analysis Passed 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
Success! There were no dangerous files found in this plugin11 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14811

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.14
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected