77% awesome-wp-author-bio

Code Review | Awesome WordPress Author Bio

WordPress plugin Awesome WordPress Author Bio scored77%from 54 tests.

About plugin

  • Plugin page: awesome-wp-author...
  • Plugin version: 1.0.5.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3.1
  • WordPress version: 6.3.1
  • First release: Oct 14, 2016
  • Latest release: Oct 12, 2023
  • Number of updates: 18
  • Update frequency: every 141.9 days
  • Top authors: Litonice13 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,637 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲1.02MB] [CPU: ▲1,033.00ms] 50% from 4 tests

An overview of server-side resources used by Awesome WordPress Author Bio
The following require your attention
  • CPU: Try to keep total CPU usage under 500.00ms (currently 1,250.59ms on /wp-admin/admin.php?page=awesome-wp-author-bio-recommended-plugins)
  • Extra CPU: The extra CPU usage should be kept under 200.00ms (currently 1,033.00ms on /wp-admin/admin.php?page=awesome-wp-author-bio-recommended-plugins)
PageMemory (MB)CPU Time (ms)
Home /4.37 ▲0.91629.46 ▲585.52
Dashboard /wp-admin4.49 ▲1.191,453.53 ▲1,392.35
Posts /wp-admin/edit.php4.42 ▲1.061,196.04 ▲1,140.08
Add New Post /wp-admin/post-new.php6.94 ▲1.051,298.52 ▲1,197.87
Media Library /wp-admin/upload.php4.29 ▲1.061,241.98 ▲1,208.54
Recommended /wp-admin/admin.php?page=awesome-wp-author-bio-recommended-plugins4.291,250.59

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 54 new files
Database: no new tables, 17 new options
New WordPress options
db_upgraded
jltauthorbio_activation_time
jeweltheme_wp_comments
can_compress_scripts
jltauthorbio_notice_subscribe
theysaidso_admin_options
awesome_wp_author_bio_version
jltauthorbio_notice_what_we_collect
jeweltheme_wp_general
jeweltheme_wp_style
...

Browser metrics Passed 4 tests

Checking browser requirements for Awesome WordPress Author Bio
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,211 ▲45015.47 ▲1.126.03 ▲4.2938.59 ▼6.06
Dashboard /wp-admin2,528 ▲3546.43 ▲0.76109.67 ▲4.8542.72 ▼2.31
Posts /wp-admin/edit.php2,396 ▲2933.66 ▲1.6750.90 ▲11.6034.49 ▼2.67
Add New Post /wp-admin/post-new.php1,799 ▲27320.60 ▼2.65592.38 ▼79.6938.38 ▼16.70
Media Library /wp-admin/upload.php1,524 ▲1244.28 ▲0.0986.51 ▼15.2542.13 ▼3.21
Recommended /wp-admin/admin.php?page=awesome-wp-author-bio-recommended-plugins1,4683.2244.9983.51

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin did not uninstall successfully, leaving 17 options in the database
    • jeweltheme_wp_comments
    • theysaidso_admin_options
    • jeweltheme_wp_recent
    • jltauthorbio_notice_what_we_collect
    • widget_recent-comments
    • jltauthorbio_notice_ask_for_rating
    • jltauthorbio_activation_time
    • db_upgraded
    • jltauthorbio_notice_subscribe
    • jeweltheme_wp_style
    • ...

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

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
Almost there! Just fix the following items
  • 8× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'JLTAUTHORBIO\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/awesome-wp-author-bio/Inc/Classes/Notifications/What_We_Collect.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'JLTAUTHORBIO\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/awesome-wp-author-bio/Inc/Classes/Notifications/Ask_For_Rating.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'JLTAUTHORBIO\\Libs\\RowLinks' not found in wp-content/plugins/awesome-wp-author-bio/Inc/Classes/Row_Links.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'JLTAUTHORBIO\\Libs\\Upgrader' not found in wp-content/plugins/awesome-wp-author-bio/Inc/Classes/Upgrade_Plugin.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'JLTAUTHORBIO\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/awesome-wp-author-bio/Inc/Classes/Notifications/Subscribe.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'JLTAUTHORBIO\\Libs\\Recommended' not found in wp-content/plugins/awesome-wp-author-bio/Inc/Classes/Recommended_Plugins.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/awesome-wp-author-bio/awesome-wp-author-bio.php:21
    • > PHP Fatal error
      Uncaught Error: Class 'JLTAUTHORBIO\\Inc\\Classes\otifications\\Model\\Popup' not found in wp-content/plugins/awesome-wp-author-bio/Inc/Classes/Notifications/Upgrade_Notice.php:14

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
    • > GET request to /wp-admin/admin.php?page=awesome-wp-author-bio-recommended-plugins
    • > Network (severe)
    https://ps.w.org/ultimate-blocks-for-gutenberg/assets/icon-128x128.png - Failed to load resource: the server responded with a status of 404 ()

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
Please take inspiration from this readme.txt

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

The main PHP file in "Awesome WordPress Author Bio" ver. 1.0.5.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages/")
  • Domain Path: The domain path must begin with a forward slash character ("/languages/")
  • Description: Please don't use more than 140 characters for the plugin description (currently 143 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin5,772 lines of code in 47 files:
LanguageFilesBlank linesComment linesLines of code
PHP391,0671,7344,104
CSS421323954
SVG100414
JavaScript33828300

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity13.23
▷ Minimum class complexity1.00
▷ Maximum class complexity73.00
Average method complexity2.53
▷ Minimum method complexity1.00
▷ Maximum method complexity22.00
Code structure
Namespaces9
Interfaces0
Traits2
Classes28
▷ Abstract classes414.29%
▷ Concrete classes2485.71%
▷ Final classes14.17%
Methods230
▷ Static methods3213.91%
▷ Public methods22798.70%
▷ Protected methods10.43%
▷ Private methods20.87%
Functions11
▷ Named functions654.55%
▷ Anonymous functions545.45%
Constants16
▷ Global constants1593.75%
▷ Class constants16.25%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin