78% ultimate-author-box-lite

Code Review | Free Responsive Post/Article Author Section Plugin for WordPress - Ultimate Author Box Lite

WordPress plugin Free Responsive Post/Article Author Section Plugin for WordPress - Ultimate Author Box Lite scored 78% from 54 tests.

About plugin

  • Plugin page: ultimate-author-b...
  • Plugin version: 1.1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.8
  • WordPress version: 5.8.1
  • First release: Jun 27, 2017
  • Latest release: Dec 3, 2021
  • Number of updates: 49
  • Update frequency: every 33.1 days
  • Top authors: Access Keys (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

1,000+ active / 18,632 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.14MB] [CPU: ▼144.65ms] Passed 4 tests

Server-side resources used by Free Responsive Post/Article Author Section Plugin for WordPress - Ultimate Author Box Lite
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.98 ▲0.2629.33 ▲14.68
Dashboard /wp-admin3.20 ▲0.1340.58 ▼4.69
Posts /wp-admin/edit.php3.29 ▲0.1733.74 ▼1.74
Add New Post /wp-admin/post-new.php5.57 ▲0.1281.12 ▼578.68
Media Library /wp-admin/upload.php3.14 ▲0.1430.30 ▲6.52
Ultimate Author Box Lite /wp-admin/admin.php?page=ultimate-author-box-lite3.2727.63
More WordPress Stuff /wp-admin/admin.php?page=ultimate-author-box-lite-about3.1528.84
How to use /wp-admin/admin.php?page=ultimate-author-box-lite-how-to3.1730.01

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 77 new files
Database: no new tables, 1 new option
New WordPress options
uap_general_settings

Browser metrics Passed 4 tests

This is an overview of browser requirements for Free Responsive Post/Article Author Section Plugin for WordPress - Ultimate Author Box Lite
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,867 ▲26615.93 ▲0.639.30 ▲2.02114.13 ▲41.31
Dashboard /wp-admin2,969 ▲736.13 ▼0.06114.01 ▼22.95162.24 ▼14.02
Posts /wp-admin/edit.php2,776 ▲333.23 ▼0.0170.42 ▲4.46153.91 ▲16.08
Add New Post /wp-admin/post-new.php4,069 ▲26221.17 ▲3.03452.11 ▲5.98184.53 ▲17.95
Media Library /wp-admin/upload.php1,787 ▲355.50 ▲0.01138.37 ▼19.75182.74 ▼8.59
Ultimate Author Box Lite /wp-admin/admin.php?page=ultimate-author-box-lite2,8326.49118.87203.60
More WordPress Stuff /wp-admin/admin.php?page=ultimate-author-box-lite-about1,76810.34183.63167.68
How to use /wp-admin/admin.php?page=ultimate-author-box-lite-how-to2,1335.9389.01170.34

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • This plugin did not uninstall successfully, leaving 1 option in the database
    • uap_general_settings

Smoke tests 50% 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
  • 25× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
    • > /wp-content/plugins/ultimate-author-box-lite/ultimate-author-box-lite.php
    • > /wp-content/plugins/ultimate-author-box-lite/inc/backend/uab-boards/uap-about.php
    • > /wp-content/plugins/ultimate-author-box-lite/inc/frontend/frontend-posts/uab-frontend-posts.php
    • > /wp-content/plugins/ultimate-author-box-lite/inc/frontend/frontend-default/components/uab-component-image.php
    • > /wp-content/plugins/ultimate-author-box-lite/inc/backend/ultimate-profile-settings.php
    • > /wp-content/plugins/ultimate-author-box-lite/inc/frontend/frontend-default/components/uab-component-social.php
    • > /wp-content/plugins/ultimate-author-box-lite/inc/frontend/frontend-posts/components/uab-post-excerpt.php
    • > /wp-content/plugins/ultimate-author-box-lite/inc/backend/uab-backend-tabs/uap-defaut-tab.php
    • > /wp-content/plugins/ultimate-author-box-lite/inc/frontend/frontend-default/components/uab-component-name.php
    • > /wp-content/plugins/ultimate-author-box-lite/inc/backend/uap-settings.php

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=ultimate-author-box-lite-how-to
    • > Javascript (severe) in unknown
    /wp-content/plugins/ultimate-author-box-lite/js/wp-color-picker-alpha.js?ver=1.1.3 10:459 Uncaught ReferenceError: wpColorPickerL10n is not defined

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Tags: Please delete some tags, you are using 12 tag instead of maximum 10
You can look at the official readme.txt

ultimate-author-box-lite/ultimate-author-box-lite.php 92% from 13 tests

The primary PHP file in "Free Responsive Post/Article Author Section Plugin for WordPress - Ultimate Author Box Lite" version 1.1.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 188 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected32,126 lines of code in 41 files:
LanguageFilesBlank linesComment linesLines of code
CSS622746511,474
SVG3009,552
JavaScript59891,0598,122
PHP26261802,506
PO File1134166472

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.53
Average class complexity95.00
▷ Minimum class complexity95.00
▷ Maximum class complexity95.00
Average method complexity4.62
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods26
▷ Static methods00.00%
▷ Public methods26100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.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
21 PNG files occupy 0.45MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/flicker.png1.45KB0.57KB▼ 60.47%
css/images/ui-icons_ffffff_256x240.png3.19KB3.49KB0.00%
images/uab-template-screenshorts/uab-template-1.PNG61.27KB20.04KB▼ 67.29%
images/pinterest.png2.17KB1.25KB▼ 42.30%
css/images/controls.png2.74KB1.42KB▼ 48.29%