10% wp-about-author

Code Review | WP About Author

WordPress plugin WP About Author scored10%from 54 tests.

About plugin

  • Plugin page: wp-about-author
  • Plugin version: 1.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.8.1
  • WordPress version: 6.3.1
  • First release: Nov 17, 2010
  • Latest release: Apr 5, 2014
  • Number of updates: 7
  • Update frequency: every 176.4 days
  • Top authors: JonBishop (100%)

Code review

54 tests

User reviews

17 reviews

Install metrics

1,000+ active /77,857 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
  • This plugin did not install gracefully
    • > Notice in wp-content/plugins/wp-about-author/wp-about-author.php+198
    Trying to access array offset on value of type bool

Server metrics [RAM: ▼0.25MB] [CPU: ▼19.69ms] Passed 4 tests

Server-side resources used by WP About Author
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0536.78 ▼7.73
Dashboard /wp-admin3.39 ▲0.0950.90 ▼6.24
Posts /wp-admin/edit.php3.44 ▲0.0848.59 ▼5.98
Add New Post /wp-admin/post-new.php4.68 ▼1.2046.58 ▼58.79
Media Library /wp-admin/upload.php3.31 ▲0.0840.29 ▼0.23
WP About Author /wp-admin/options-general.php?page=wp-about-author/wp-about-author-admin.php3.2632.49

Server storage [IO: ▲0.16MB] [DB: ▲0.08MB] Passed 3 tests

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
db_upgraded
widget_recent-posts
wp_about_author_settings

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP About Author
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲3414.38 ▲0.101.74 ▲0.0043.57 ▼1.57
Dashboard /wp-admin2,196 ▲195.65 ▲0.08148.31 ▲59.5143.76 ▼1.71
Posts /wp-admin/edit.php2,104 ▲41.99 ▼0.0540.04 ▼1.3332.92 ▼6.09
Add New Post /wp-admin/post-new.php1,550 ▲1923.40 ▲0.27641.66 ▲1.7449.30 ▼4.15
Media Library /wp-admin/upload.php1,398 ▼24.23 ▲0.06101.67 ▲4.1646.11 ▲1.79
WP About Author /wp-admin/options-general.php?page=wp-about-author/wp-about-author-admin.php1,3085.7779.5630.43

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • The uninstall procedure has failed, leaving 7 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • wp_about_author_settings
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=wp-about-author/wp-about-author-admin.php
    • > Notice in wp-content/plugins/wp-about-author/wp-about-author-admin.php+158
    Undefined variable: fields

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
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-about-author/wp-about-author.php:13

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% 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: Please add images for these screenshots: #1 (Author bio below a post), #2 (WP About Author settings page)
  • Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
You can look at the official readme.txt

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

The entry point to "WP About Author" version 1.5 is a PHP file that has certain tags in its header comment area
56 characters long description:
Easily display customizable author bios below your posts

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected449 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP25460393
CSS11156

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.35
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions20
▷ Named functions20100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
18 compressed PNG files occupy 0.13MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/stumbleupon.png1.50KB1.44KB▼ 4.22%
images/youtube.png1.21KB1.38KB0.00%
images/flickr.png0.96KB1.23KB0.00%
screenshot-2.png45.23KB17.86KB▼ 60.51%
images/digg.png1.22KB1.35KB0.00%