84% author-tags

Code Review | Author Tags

WordPress plugin Author Tags scored 84% from 54 tests.

About plugin

  • Plugin page: author-tags
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.9
  • WordPress version: 5.8.1
  • First release: Apr 19, 2017
  • Latest release: Apr 19, 2017
  • Number of updates: 5
  • Update frequency: every 36.2 days
  • Top authors: shwetuk (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 409 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

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

An overview of server-side resources used by Author Tags
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.86 ▲0.0238.64 ▲11.00
Dashboard /wp-admin3.08 ▲0.0243.16 ▼0.42
Posts /wp-admin/edit.php3.13 ▲0.0244.30 ▲2.36
Add New Post /wp-admin/post-new.php5.45 ▲0.0189.76 ▼559.02
Media Library /wp-admin/upload.php3.02 ▲0.0129.44 ▼9.72

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Author Tags
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,681 ▲8515.88 ▲0.327.82 ▼2.4249.42 ▲2.70
Dashboard /wp-admin2,970 ▲365.86 ▼0.07135.59 ▼5.14109.24 ▼9.47
Posts /wp-admin/edit.php2,736 ▼32.83 ▲0.1265.11 ▲1.1488.92 ▲2.25
Add New Post /wp-admin/post-new.php1,672 ▼1119.08 ▲0.34377.73 ▲21.36105.55 ▼0.92
Media Library /wp-admin/upload.php1,810 ▲35.02 ▼0.02150.84 ▼7.32122.06 ▼8.90

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
  • This plugin did not uninstall successfully, leaving 1 option in the database
    • widget_wpb_author_tags

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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
Please fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/author-tags/author-tags.php:10

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: tags, wordpress, monthly, plugin, widget...

author-tags/author-tags.php Passed 13 tests

The principal PHP file in "Author Tags" v. 1.0 is loaded by WordPress automatically on each request
66 characters long description:
Displays author specific tags with post count on single post page.

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
Success! There were no dangerous files found in this plugin79 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity10.00
▷ Minimum class complexity10.00
▷ Maximum class complexity10.00
Average method complexity3.25
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions2100.00%
▷ Anonymous functions00.00%
▷ 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
There were not PNG files found in your plugin