84% author-box-reloaded-pack

Code Review | Author Box Reloaded Pack

WordPress plugin Author Box Reloaded Pack scored84%from 54 tests.

About plugin

  • Plugin page: author-box-reload...
  • Plugin version: 1.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8.0-3.9.1
  • WordPress version: 6.3.1
  • First release: Apr 28, 2010
  • Latest release: May 28, 2014
  • Number of updates: 31
  • Update frequency: every 48.1 days
  • Top authors: ipublicis (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /6,172 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼0.97ms] Passed 4 tests

A check of server-side resources used by Author Box Reloaded Pack
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.47 ▼2.37
Dashboard /wp-admin3.31 ▲0.0146.30 ▼0.27
Posts /wp-admin/edit.php3.36 ▲0.0145.31 ▲0.43
Add New Post /wp-admin/post-new.php5.89 ▲0.0193.22 ▲0.95
Media Library /wp-admin/upload.php3.23 ▲0.0033.50 ▼1.66

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

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

Browser metrics Passed 4 tests

Author Box Reloaded Pack: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲9013.23 ▼1.074.68 ▲2.5042.71 ▼4.77
Dashboard /wp-admin2,206 ▲265.79 ▼0.1296.16 ▼12.6339.78 ▼5.84
Posts /wp-admin/edit.php2,068 ▼212.02 ▲0.0136.07 ▼0.1533.66 ▲0.25
Add New Post /wp-admin/post-new.php1,542 ▲918.75 ▼4.38633.42 ▼0.7657.11 ▼10.94
Media Library /wp-admin/upload.php1,388 ▼34.26 ▼0.1596.69 ▲1.0441.97 ▼0.90

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments

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
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 15× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/author-box-reloaded-pack/netlog.php:68
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/author-box-reloaded-pack/xing.php:68
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/author-box-reloaded-pack/vimeo.php:68
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/author-box-reloaded-pack/crunchbase.php:68
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/author-box-reloaded-pack/googleplus.php:68
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/author-box-reloaded-pack/twitter.php:68
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/author-box-reloaded-pack/skypeme.php:68
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/author-box-reloaded-pack/wordpress.php:68
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/author-box-reloaded-pack/branchout.php:68
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/author-box-reloaded-pack/linkedin.php:68

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
  • Screenshots: These screenshots require images: #1 (The modified User Profile page with some social networks available.), #2 (Plugin list with `External Contact` addons visible.)
The official readme.txt is a good inspiration

author-box-reloaded-pack/author-box-reloaded-pack.php Passed 13 tests

This is the main PHP file of "Author Box Reloaded Pack" version 1.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
123 characters long description:
Adds External Contact fields to your profile. Just need to insert your UserID. Requires Author Box Reloaded 2.0 or greater.

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 detected221 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
PHP15228655221

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.02
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%
Functions14
▷ Named functions14100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
16 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/crunchbase.png0.38KB0.25KB▼ 36.13%
images/branchout.png0.70KB0.72KB0.00%
screenshot-1.png35.48KB14.50KB▼ 59.12%
images/vimeo.png0.69KB0.94KB0.00%
images/netlog.png0.80KB0.86KB0.00%