83% wp-author-bio-wedo

Code Review | Author Bio & Social

WordPress plugin Author Bio & Social scored83%from 54 tests.

About plugin

  • Plugin page: wp-author-bio-wedo
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-5.7
  • WordPress version: 6.3.1
  • First release: Nov 30, 2017
  • Latest release: May 11, 2021
  • Number of updates: 16
  • Update frequency: every 79.6 days
  • Top authors: raselself (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /623 total downloads

Benchmarks

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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼5.36ms] Passed 4 tests

A check of server-side resources used by Author Bio & Social
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0136.39 ▼2.02
Dashboard /wp-admin3.32 ▼0.0343.88 ▼18.84
Posts /wp-admin/edit.php3.37 ▲0.0148.32 ▼2.35
Add New Post /wp-admin/post-new.php5.90 ▲0.01106.43 ▲4.29
Media Library /wp-admin/upload.php3.25 ▲0.0134.54 ▲1.79

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

Author Bio & Social: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,835 ▲8913.25 ▼1.123.20 ▲1.4446.91 ▲6.12
Dashboard /wp-admin2,206 ▲234.85 ▼0.07108.30 ▼1.5744.17 ▲0.81
Posts /wp-admin/edit.php2,089 ▼02.01 ▼0.0044.47 ▲1.7334.69 ▼4.09
Add New Post /wp-admin/post-new.php1,523 ▼1023.46 ▲0.09590.47 ▼53.7248.52 ▼16.86
Media Library /wp-admin/upload.php1,388 ▼34.19 ▼0.0396.63 ▼5.8143.60 ▼2.81

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-author-bio-wedo/wedo.php:19
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-author-bio-wedo/include/admin/profile.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Screenshots: These screenshots do not have images: #1 (Example WP Author Bio wedo Front-End Display #1), #2 (Example WP Author Bio wedo User Settings), #3 (Example WP Author Bio wedo Display & Design Settings)
  • Tags: There are too many tags (27 tag instead of maximum 10)
You can take inspiration from this readme.txt

wp-author-bio-wedo/wedo.php 77% from 13 tests

"Author Bio & Social" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Domain Path: The domain path is invalid: folder "/languages" does not exist
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-author-bio-wedo.php" instead of "wedo.php")

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
Success! There were no dangerous files found in this plugin2,763 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
SVG1002,671
PHP2261669
CSS32922
JavaScript1061

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.08
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/banner-772x250-rtl.png33.05KB10.49KB▼ 68.25%