79% author-bio-ultimate

Code Review | Author Bio Ultimate

WordPress plugin Author Bio Ultimate scored79%from 54 tests.

About plugin

  • Plugin page: author-bio-ultimate
  • Plugin version: 2.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.3.2
  • WordPress version: 6.3.1
  • First release: Sep 18, 2019
  • Latest release: Mar 7, 2020
  • Number of updates: 7
  • Update frequency: every 24.4 days
  • Top authors: hasanuzzamanshamim (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /816 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.20MB] [CPU: ▼1.35ms] Passed 4 tests

An overview of server-side resources used by Author Bio Ultimate
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.1241.63 ▲4.47
Dashboard /wp-admin3.60 ▲0.2651.69 ▼8.83
Posts /wp-admin/edit.php3.62 ▲0.2747.79 ▼2.14
Add New Post /wp-admin/post-new.php6.10 ▲0.21110.67 ▲15.79
Media Library /wp-admin/upload.php3.43 ▲0.2035.87 ▲1.10

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 55 new files
Database: 1 new table, 6 new options
New tables
wp_author_bio
New WordPress options
widget_recent-posts
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Author Bio Ultimate
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,224 ▲47818.80 ▲4.056.41 ▲4.7737.32 ▼4.36
Dashboard /wp-admin2,519 ▲3429.24 ▲3.66168.34 ▲70.8538.25 ▼6.71
Posts /wp-admin/edit.php2,577 ▲4776.21 ▲4.2572.03 ▲35.4431.43 ▼10.49
Add New Post /wp-admin/post-new.php1,410 ▼11618.28 ▼4.91522.93 ▼93.2230.22 ▼32.43
Media Library /wp-admin/upload.php1,766 ▲3667.49 ▲3.30109.74 ▲6.9643.28 ▲1.93
Settings /wp-admin/admin.php?page=authorbio.php#/settings1,4907.0582.2041.31
Supports /wp-admin/admin.php?page=authorbio.php#/supports1,3166.3180.3526.25
My Profile /wp-admin/admin.php?page=authorbio.php#/1,5987.1498.8035.96

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • The uninstall procedure failed, leaving 1 table in the database
    • wp_author_bio
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP Passed 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
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 shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Requires php: Version format is invalid
  • Screenshots: Screenshot #3 (Another template to show bio) image not found
You can look at the official readme.txt

author-bio-ultimate/author-bio-ultimate.php 92% from 13 tests

"Author Bio Ultimate" version 2.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

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
Everything looks great! No dangerous files found in this plugin25,049 lines of code in 42 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript183,09483323,056
PHP1415873931
CSS6041929
Markdown143066
JSON20037
SVG11030

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity12.10
▷ Minimum class complexity1.00
▷ Maximum class complexity79.00
Average method complexity3.82
▷ Minimum method complexity1.00
▷ Maximum method complexity72.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes10
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes00.00%
Methods41
▷ Static methods717.07%
▷ Public methods3585.37%
▷ Protected methods24.88%
▷ Private methods49.76%
Functions6
▷ Named functions116.67%
▷ Anonymous functions583.33%
Constants6
▷ Global constants6100.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
4 compressed PNG files occupy 0.04MB
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
dist/admin/templates/template3.png12.76KB13.43KB0.00%
dist/admin/templates/template1.png12.12KB12.80KB0.00%
dist/admin/templates/template2.png12.25KB12.96KB0.00%
dist/js/tinymce_icon.png1.24KB1.31KB0.00%