77% wp-author-meta

Code Review | WP Author Meta

WordPress plugin WP Author Meta scored77%from 54 tests.

About plugin

  • Plugin page: wp-author-meta
  • Plugin version: 1.2.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-5.3.2
  • WordPress version: 6.3.1
  • First release: Mar 31, 2020
  • Latest release: Mar 31, 2020
  • Number of updates: 6
  • Update frequency: N/A
  • Top authors: nazakatali32 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /619 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼4.63ms] Passed 4 tests

A check of server-side resources used by WP Author Meta
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.42 ▼0.0424.07 ▼14.16
Dashboard /wp-admin3.35 ▲0.0444.64 ▼3.82
Posts /wp-admin/edit.php3.40 ▲0.0448.14 ▲3.95
Add New Post /wp-admin/post-new.php5.93 ▲0.0483.28 ▼2.93
Media Library /wp-admin/upload.php3.27 ▲0.0434.84 ▲2.40
WP Author Meta /wp-admin/options-general.php?page=fb-author-meta3.2130.28

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

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

Browser metrics Passed 4 tests

A check of browser resources used by WP Author Meta
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲7013.19 ▼1.191.70 ▼0.2341.27 ▼2.17
Dashboard /wp-admin2,219 ▲315.83 ▲0.9397.57 ▼17.6641.83 ▼3.34
Posts /wp-admin/edit.php2,104 ▲152.02 ▲0.0335.95 ▼0.9634.04 ▲0.71
Add New Post /wp-admin/post-new.php1,548 ▲2823.17 ▲0.12592.75 ▼76.0757.16 ▲5.30
Media Library /wp-admin/upload.php1,407 ▲164.20 ▼0.0297.58 ▼0.9843.54 ▲0.15
WP Author Meta /wp-admin/options-general.php?page=fb-author-meta9242.0525.2958.24

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=fb-author-meta
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=fb-author-meta
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP 50% from 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
Please take a closer look at the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/wp-author-meta/wp-author-meta.php

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
  • Screenshots: Screenshot #1 (Screenshot) image not found
  • Contributors: The plugin contributors field is missing
  • Tags: You are using too many tags: 12 tag instead of maximum 10
You can take inspiration from this readme.txt

wp-author-meta/wp-author-meta.php 92% from 13 tests

The main PHP script in "WP Author Meta" version 1.2.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 142 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
Everything looks great! No dangerous files found in this plugin214 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14338214

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.29
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%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin