84% admin-posts-list-tag-filter

Code Review | Admin Posts List Tag Filter

WordPress plugin Admin Posts List Tag Filter scored 84% from 54 tests.

About plugin

  • Plugin page: admin-posts-list-...
  • Plugin version: 1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-6.2
  • WordPress version: 6.3.1
  • First release: Dec 8, 2022
  • Latest release: Apr 17, 2023
  • Number of updates: 5
  • Update frequency: every 26.0 days
  • Top authors: GregRoss (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 176 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by Admin Posts List Tag Filter
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0134.73 ▼7.02
Dashboard /wp-admin3.31 ▲0.0043.75 ▼4.56
Posts /wp-admin/edit.php3.36 ▲0.0047.33 ▲0.27
Add New Post /wp-admin/post-new.php5.89 ▲0.0089.44 ▲0.28
Media Library /wp-admin/upload.php3.23 ▲0.0034.09 ▲2.37

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Admin Posts List Tag Filter
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4313.20 ▼1.151.51 ▼0.2839.19 ▼5.25
Dashboard /wp-admin2,209 ▲244.89 ▼0.96107.07 ▼4.7739.68 ▼0.42
Posts /wp-admin/edit.php2,092 ▲32.05 ▼0.0038.59 ▲2.8435.41 ▲3.87
Add New Post /wp-admin/post-new.php1,519 ▲523.48 ▲6.02660.71 ▲9.7270.45 ▲17.86
Media Library /wp-admin/upload.php1,385 ▼64.31 ▲0.1093.42 ▼13.4744.35 ▼3.29

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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 server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-posts-list-tag-filter/admin-posts-list-tag-filter.php:62

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 issues were found


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
1 plugin tags: admin posts tags

admin-posts-list-tag-filter/admin-posts-list-tag-filter.php Passed 13 tests

The primary PHP file in "Admin Posts List Tag Filter" version 1.0 is used by WordPress to initiate all plugin functionality
115 characters long description:
Adds a tags filter select box to the posts list (any any other post type that has tag support) in the admin screen.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin32 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.92
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 functions1100.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