94% authors-list

Code Review | Authors List

WordPress plugin Authors List scored 94% from 54 tests.

About plugin

  • Plugin page: authors-list
  • Plugin version: 1.2.7
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7.0-5.9
  • WordPress version: 5.8.1
  • First release: Apr 3, 2019
  • Latest release: Feb 21, 2022
  • Number of updates: 89
  • Update frequency: every 11.9 days
  • Top authors: wpkube (100%)

Code review

54 tests

User reviews

20 reviews

Install metrics

2,000+ active / 23,482 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.10MB] [CPU: ▼148.64ms] Passed 4 tests

A check of server-side resources used by Authors List
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.94 ▲0.1027.98 ▲0.43
Dashboard /wp-admin3.17 ▲0.1043.10 ▲0.91
Posts /wp-admin/edit.php3.22 ▲0.1137.06 ▲0.01
Add New Post /wp-admin/post-new.php5.53 ▲0.0975.17 ▼595.91
Media Library /wp-admin/upload.php3.11 ▲0.1027.88 ▲3.49

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Authors List: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,666 ▲6415.68 ▼0.045.70 ▲0.1473.47 ▼1.71
Dashboard /wp-admin2,933 ▲346.07 ▼0.18114.89 ▼12.45165.71 ▼14.86
Posts /wp-admin/edit.php2,740 ▼03.23 ▼0.0164.87 ▼0.58130.81 ▼10.88
Add New Post /wp-admin/post-new.php3,698 ▼818.57 ▼0.61442.62 ▼0.42159.84 ▼8.53
Media Library /wp-admin/upload.php1,749 ▼35.54 ▲0.07145.85 ▲7.00190.34 ▼1.68

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/authors-list/includes/display.php:539
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/authors-list/includes/general.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

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
6 plugin tags: authors grid, author, authors list, authors, grid...

authors-list/authors-list.php Passed 13 tests

The main PHP file in "Authors List" ver. 1.2.7 adds more information about the plugin and also serves as the entry point for this plugin
66 characters long description:
Display a list of post authors. Need help? Submit support request.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin882 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP4197132672
CSS16118203
SVG7007

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.46
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%
Functions13
▷ Named functions1184.62%
▷ Anonymous functions215.38%
Constants5
▷ Global constants5100.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 are no PNG files in this plugin