90% authors-list

Code Review | Authors List

WordPress plugin Authors List scored90%from 54 tests.

About plugin

  • Plugin page: authors-list
  • Plugin version: 2.0.3
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7.0-6.2
  • WordPress version: 6.3.1
  • First release: Apr 3, 2019
  • Latest release: Jul 10, 2023
  • Number of updates: 111
  • Update frequency: every 14.1 days
  • Top authors: wpkube (100%)

Code review

54 tests

User reviews

22 reviews

Install metrics

3,000+ active /37,323 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼6.96ms] Passed 4 tests

A check of server-side resources used by Authors List
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0443.97 ▲2.78
Dashboard /wp-admin3.34 ▼0.0051.21 ▼12.36
Posts /wp-admin/edit.php3.45 ▲0.1048.91 ▼3.51
Add New Post /wp-admin/post-new.php5.92 ▲0.0486.77 ▼10.78
Media Library /wp-admin/upload.php3.26 ▲0.0436.46 ▼1.18

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

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

Browser metrics Passed 4 tests

Authors List: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,936 ▲19013.67 ▼0.647.44 ▲5.8741.54 ▲1.11
Dashboard /wp-admin2,216 ▲285.84 ▼0.02102.75 ▼9.5842.13 ▼0.95
Posts /wp-admin/edit.php2,105 ▲162.03 ▲0.0136.46 ▼0.4632.94 ▼3.27
Add New Post /wp-admin/post-new.php1,546 ▲1323.20 ▼0.03631.71 ▼73.6063.86 ▲6.04
Media Library /wp-admin/upload.php1,404 ▲164.22 ▲0.0594.17 ▼7.9242.65 ▼0.65

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: authors list, authors grid, author, authors, grid...

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

"Authors List" version 2.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
31 characters long description:
Display a list of post authors.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected7,940 lines of code in 22 files:
LanguageFilesBlank linesComment linesLines of code
PHP139711,0443,303
JavaScript44453522,408
CSS51141042,229

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity53.30
▷ Minimum class complexity3.00
▷ Maximum class complexity206.00
Average method complexity6.80
▷ Minimum method complexity1.00
▷ Maximum method complexity57.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes10
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes00.00%
Methods90
▷ Static methods1516.67%
▷ Public methods90100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions00.00%
▷ Anonymous functions2100.00%
Constants17
▷ Global constants17100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin