89% authorx

Code Review | AuthorX

WordPress plugin AuthorX scored 89% from 54 tests.

About plugin

  • Plugin page: authorx
  • Plugin version: 0.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-5.7.2
  • WordPress version: 5.8.1
  • First release: Jun 29, 2021
  • Latest release: Jun 29, 2021
  • Number of updates: 2
  • Update frequency: every 3.5 days
  • Top authors: wpfraternity (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 66 total downloads


Plugin footprint 83% from 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 successfully, without throwing any errors or notices

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

Analyzing server-side resources used by AuthorX
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.87 ▲0.1535.92 ▲13.62
Dashboard /wp-admin3.09 ▲0.0350.21 ▲2.70
Posts /wp-admin/edit.php3.14 ▲0.0347.98 ▼7.65
Add New Post /wp-admin/post-new.php5.45 ▲0.0192.46 ▼560.47
Media Library /wp-admin/upload.php3.03 ▲0.0333.94 ▼2.13

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 2 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for AuthorX
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,704 ▲10815.93 ▲0.429.89 ▼3.7050.28 ▼2.98
Dashboard /wp-admin2,970 ▲395.94 ▼0.26141.94 ▼17.85120.09 ▲4.12
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0171.92 ▲0.6991.31 ▲8.41
Add New Post /wp-admin/post-new.php1,540 ▼14318.38 ▲0.03391.44 ▼37.93118.42 ▲9.56
Media Library /wp-admin/upload.php1,807 ▼35.00 ▼0.02153.73 ▼1.55119.40 ▲5.23

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 2 options
    • maospax_contributors_installed
    • maospax_contributors_version

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files

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


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
  • Requires at least: Invalid version format
You can look at the official readme.txt

authorx/authorx.php 92% from 13 tests

"AuthorX" version 0.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin160 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity15.00
▷ Minimum class complexity15.00
▷ Maximum class complexity15.00
Average method complexity2.40
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
▷ Static methods110.00%
▷ Public methods990.00%
▷ Protected methods00.00%
▷ Private methods110.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants583.33%
▷ Class constants116.67%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected