100% custom-taxonomies-filters-columns

Code Review | Custom Taxonomies Filters & Columns

WordPress plugin Custom Taxonomies Filters & Columns scored 100% from 54 tests.

About plugin

  • Plugin page: custom-taxonomies...
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.8.1
  • WordPress version: 5.8.1
  • First release: Apr 6, 2017
  • Latest release: Aug 4, 2017
  • Number of updates: 9
  • Update frequency: every 13.3 days
  • Top authors: jstei (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active / 1,654 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

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

This is a short check of server-side resources used by Custom Taxonomies Filters & Columns
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0052.42 ▲25.94
Dashboard /wp-admin3.06 ▼0.0038.69 ▼3.31
Posts /wp-admin/edit.php3.11 ▲0.0035.39 ▲3.28
Add New Post /wp-admin/post-new.php5.42 ▼0.0275.11 ▼576.33
Media Library /wp-admin/upload.php3.00 ▲0.0028.56 ▲1.72

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Custom Taxonomies Filters & Columns
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,666 ▲1515.15 ▼0.889.80 ▲1.3375.42 ▼1.19
Dashboard /wp-admin2,930 ▲316.16 ▲0.03116.48 ▼22.57166.82 ▼21.83
Posts /wp-admin/edit.php2,740 ▼33.24 ▼0.0064.48 ▲0.45140.85 ▲1.35
Add New Post /wp-admin/post-new.php3,807 ▼618.79 ▲0.15432.34 ▼27.04159.07 ▼12.36
Media Library /wp-admin/upload.php1,749 ▼35.53 ▲0.03144.88 ▲5.35185.77 ▲2.46

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: sortable column, taxonomy column, taxonomy, taxonomy filter, custom post types

custom-taxonomies-filters-columns/custom-taxonomies-filters-columns.php 92% from 13 tests

This is the main PHP file of "Custom Taxonomies Filters & Columns" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected481 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP157151399
JavaScript101141
PO File1101240
CSS1001

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity61.00
▷ Minimum class complexity61.00
▷ Maximum class complexity61.00
Average method complexity3.40
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods25
▷ Static methods312.00%
▷ Public methods1976.00%
▷ Protected methods14.00%
▷ Private methods520.00%
Functions0
▷ Named functions00.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