94% about-author-box

Code Review | About Author Box

WordPress plugin About Author Box scored 94% from 54 tests.

About plugin

  • Plugin page: about-author-box
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7.0-5.8
  • WordPress version: 5.9.2
  • First release: Sep 17, 2019
  • Latest release: Oct 25, 2021
  • Number of updates: 15
  • Update frequency: every 57.7 days
  • Top authors: wpkube (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 650 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.23MB] [CPU: ▼285.88ms] Passed 4 tests

Analyzing server-side resources used by About Author Box
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.76 ▲0.2562.05 ▲5.21
Dashboard /wp-admin3.67 ▲0.2641.20 ▲4.86
Posts /wp-admin/edit.php3.90 ▲0.2540.60 ▲1.25
Add New Post /wp-admin/post-new.php7.14 ▲0.17101.64 ▼1,144.73
Media Library /wp-admin/upload.php3.55 ▲0.2429.15 ▼4.90
Author Box /wp-admin/options-general.php?page=about_author_box3.5225.91

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for About Author Box
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,770 ▲2815.89 ▼0.125.64 ▼1.232.48 ▲0.55
Dashboard /wp-admin2,897 ▲436.07 ▼0.10122.05 ▼10.23164.10 ▲2.48
Posts /wp-admin/edit.php2,693 ▼13.24 ▼0.0162.47 ▼0.15135.14 ▼7.05
Add New Post /wp-admin/post-new.php1,664 ▼2616.01 ▼4.54405.79 ▼39.83153.42 ▼7.99
Media Library /wp-admin/upload.php1,703 ▲55.54 ▲0.04137.58 ▼3.51189.14 ▼0.74
Author Box /wp-admin/options-general.php?page=about_author_box1,2012.4056.74120.84

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/about-author-box/includes/class.user-options.php:19
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/about-author-box/includes/class.display.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'About_Author_Box_Settings_API' not found in wp-content/plugins/about-author-box/includes/class.settings.php:23
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/about-author-box/includes/class.general.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: author, author box, after content, about author, authors...

about-author-box/about-author-box.php Passed 13 tests

The main PHP file in "About Author Box" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
41 characters long description:
Display information about the post author

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,046 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity12.40
▷ Minimum class complexity1.00
▷ Maximum class complexity32.00
Average method complexity2.63
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
▷ Static methods25.71%
▷ Public methods35100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings