94% admin-post-tag-filter

Code Review | Admin post tag filter

WordPress plugin Admin post tag filter scored 94% from 54 tests.

About plugin

  • Plugin page: admin-post-tag-fi...
  • Plugin version: 2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-5.6
  • WordPress version: 5.9.2
  • First release: Jun 29, 2016
  • Latest release: Dec 24, 2020
  • Number of updates: 8
  • Update frequency: every 204.9 days
  • Top authors: kiranpatil353 (75%)clarionwpdeveloper (37.5%)

Code review

54 tests

User reviews

6 reviews

Install metrics

100+ active / 4,268 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▼0.01MB] [CPU: ▼291.08ms] Passed 4 tests

A check of server-side resources used by Admin post tag filter
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0157.77 ▲4.58
Dashboard /wp-admin3.42 ▲0.0132.39 ▼1.12
Posts /wp-admin/edit.php3.65 ▲0.0137.85 ▼3.82
Add New Post /wp-admin/post-new.php6.90 ▼0.0897.87 ▼1,155.59
Media Library /wp-admin/upload.php3.30 ▼0.0024.37 ▼3.80

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Admin post tag filter: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,805 ▲5116.01 ▲0.345.94 ▲0.282.70 ▼0.12
Dashboard /wp-admin2,888 ▲276.16 ▲0.02118.97 ▼26.90155.38 ▼5.84
Posts /wp-admin/edit.php2,697 ▲93.23 ▼0.0163.33 ▼0.70139.13 ▼5.75
Add New Post /wp-admin/post-new.php1,661 ▼716.36 ▼1.76440.52 ▲8.48157.79 ▲1.15
Media Library /wp-admin/upload.php1,695 ▼35.52 ▼0.01145.38 ▼3.96183.42 ▼6.72

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully

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
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 take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-post-tag-filter/index.php:38

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: tags, edit, posts, management, admin...

admin-post-tag-filter/index.php 92% from 13 tests

The main file in "Admin post tag filter" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("admin-post-tag-filter.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin28 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin