89% rs-author-info-box

Code Review | RS WP THEMES AUTHOR INFO BOX - About Me Sidebar Widget WordPress Plugin

WordPress plugin RS WP THEMES AUTHOR INFO BOX - About Me Sidebar Widget WordPress Plugin scored89%from 54 tests.

About plugin

  • Plugin page: rs-author-info-box
  • Plugin version: 2.0.4
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.2
  • WordPress version: 6.3.1
  • First release: Mar 31, 2022
  • Latest release: Jun 9, 2023
  • Number of updates: 14
  • Update frequency: every 31.1 days
  • Top authors: rswpthemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

900+ active /8,213 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.05MB] [CPU: ▼11.84ms] Passed 4 tests

Server-side resources used by RS WP THEMES AUTHOR INFO BOX - About Me Sidebar Widget WordPress Plugin
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0641.40 ▲0.55
Dashboard /wp-admin3.36 ▲0.0251.35 ▼16.41
Posts /wp-admin/edit.php3.41 ▲0.0648.88 ▼5.80
Add New Post /wp-admin/post-new.php5.94 ▲0.0686.30 ▼25.71
Media Library /wp-admin/upload.php3.29 ▲0.0638.45 ▲1.75

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options
widget_rs_info_box_widget
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for RS WP THEMES AUTHOR INFO BOX - About Me Sidebar Widget WordPress Plugin
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,791 ▲514.28 ▼0.071.79 ▲0.0243.35 ▲2.38
Dashboard /wp-admin2,197 ▲175.75 ▲0.1285.48 ▼4.5340.09 ▼0.23
Posts /wp-admin/edit.php2,103 ▼02.00 ▼0.0336.32 ▼4.4037.42 ▼2.54
Add New Post /wp-admin/post-new.php1,529 ▼123.25 ▲0.16694.73 ▲83.3367.60 ▲20.95
Media Library /wp-admin/upload.php1,403 ▲64.21 ▼0.01104.45 ▲2.1347.12 ▲1.36

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie WordPress options detected upon uninstall: 7 options
    • theysaidso_admin_options
    • widget_rs_info_box_widget
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
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 issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
  • Donate link: Invalid URI ("rswpthemes.com")
The official readme.txt might help

rs-author-info-box/rs-author-info-box.php 92% from 13 tests

The primary PHP file in "RS WP THEMES AUTHOR INFO BOX - About Me Sidebar Widget WordPress Plugin" version 2.0.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 183 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected663 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP31715335
CSS2212242
SVG10056
JavaScript10130

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.39
Average class complexity40.00
▷ Minimum class complexity40.00
▷ Maximum class complexity40.00
Average method complexity7.50
▷ Minimum method complexity1.00
▷ Maximum method complexity23.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
There were not PNG files found in your plugin