84% advanced-author-bio

Code Review | Advanced Author Bio

WordPress plugin Advanced Author Bio scored84%from 54 tests.

About plugin

  • Plugin page: advanced-author-bio
  • Plugin version: 3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.4.2
  • WordPress version: 6.3.1
  • First release: Aug 24, 2011
  • Latest release: Oct 17, 2012
  • Number of updates: 12
  • Update frequency: every 35.0 days
  • Top authors: itsabhik (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /12,171 total downloads


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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼6.00ms] Passed 4 tests

This is a short check of server-side resources used by Advanced Author Bio
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0438.05 ▼3.60
Dashboard /wp-admin3.33 ▲0.0243.95 ▼3.03
Posts /wp-admin/edit.php3.38 ▲0.0242.87 ▼3.00
Add New Post /wp-admin/post-new.php5.91 ▲0.0287.51 ▼13.60
Media Library /wp-admin/upload.php3.25 ▲0.0232.36 ▼3.77

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Advanced Author Bio
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,801 ▲3014.48 ▲0.081.71 ▼0.3445.13 ▲0.35
Dashboard /wp-admin2,203 ▲215.80 ▼0.0298.30 ▼3.9637.31 ▼4.87
Posts /wp-admin/edit.php2,089 ▼02.04 ▼0.0233.96 ▼4.2033.48 ▼1.25
Add New Post /wp-admin/post-new.php1,533 ▼023.29 ▲0.01659.94 ▼15.3262.70 ▲5.00
Media Library /wp-admin/upload.php1,388 ▼04.21 ▲0.02106.41 ▲7.2146.73 ▼0.78

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/advanced-author-bio/advanced-author-bio.php:97

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)
Everything seems fine, but this is not an exhaustive test


Plugin configuration 97% 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:
  • Screenshots: Add images for these screenshots: #1 (Sample Author Bio Box), #2 (Added Contact Methods)
You can look at the official readme.txt

advanced-author-bio/advanced-author-bio.php Passed 13 tests

"Advanced Author Bio" version 3.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
139 characters long description:
Adds a short author bio after every single post on your blog. Also, adds Facebook, Twitter, Google+ and LinkedIn field in author's profile.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin101 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants00.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
10 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/facebook.png1.85KB1.26KB▼ 32.01%
images/youtube.png2.20KB1.39KB▼ 36.75%
images/googleplus.png2.44KB1.42KB▼ 42.01%
images/default.png1.55KB1.06KB▼ 32.04%
images/stumbleupon.png2.13KB1.44KB▼ 32.72%