84% always-show-tags

Code Review | Always Show Tags

WordPress plugin Always Show Tags scored84%from 54 tests.

About plugin

  • Plugin page: always-show-tags
  • Plugin version: 0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.9.2
  • WordPress version: 6.3.1
  • First release: Aug 25, 2014
  • Latest release: Aug 26, 2014
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: Vusys (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /947 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

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

Server-side resources used by Always Show Tags
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0040.10 ▼7.37
Dashboard /wp-admin3.31 ▲0.0143.00 ▼3.12
Posts /wp-admin/edit.php3.36 ▲0.0047.75 ▼3.98
Add New Post /wp-admin/post-new.php5.91 ▲0.0290.64 ▼8.11
Media Library /wp-admin/upload.php3.24 ▲0.0036.97 ▼13.38

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Always Show Tags
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲8114.57 ▼0.052.56 ▲1.0052.38 ▲3.26
Dashboard /wp-admin2,199 ▲65.80 ▲0.86103.18 ▼7.5541.68 ▲3.05
Posts /wp-admin/edit.php2,094 ▲22.06 ▲0.0442.24 ▼9.7635.45 ▲0.99
Add New Post /wp-admin/post-new.php1,531 ▼223.31 ▲0.11664.28 ▼20.2761.24 ▲0.12
Media Library /wp-admin/upload.php1,393 ▲54.24 ▲0.10100.81 ▼13.1143.90 ▼0.23

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Almost there! Just fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/always-show-tags/always-show-tags.php:11

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)
Everything seems fine on the user side

Optimizations

Plugin configuration 97% 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
These attributes need your attention:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === always-show-tags === )
You can look at the official readme.txt

always-show-tags/always-show-tags.php Passed 13 tests

The entry point to "Always Show Tags" version 0.3 is a PHP file that has certain tags in its header comment area
82 characters long description:
A really simple plugin to click the 'Choose from the most used tags' link for you.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin19 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP13810
Markdown1506
JavaScript1203

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.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
No PNG files were detected