84% multi-column-taxonomy-list

Code Review | Multi-Column Taxonomy List

WordPress plugin Multi-Column Taxonomy List scored84%from 54 tests.

About plugin

  • Plugin page: multi-column-taxo...
  • Plugin version: 1.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.8.1
  • WordPress version: 6.3.1
  • First release: Apr 12, 2011
  • Latest release: Jan 28, 2014
  • Number of updates: 27
  • Update frequency: every 37.9 days
  • Top authors: mmuro (100%)

Code review

54 tests

User reviews

14 reviews

Install metrics

800+ active /20,156 total downloads

Benchmarks

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
Install script ran successfully

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

A check of server-side resources used by Multi-Column Taxonomy List
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.34 ▼1.53
Dashboard /wp-admin3.32 ▼0.0245.09 ▼13.51
Posts /wp-admin/edit.php3.37 ▲0.0246.96 ▼3.85
Add New Post /wp-admin/post-new.php5.90 ▲0.0286.63 ▼18.29
Media Library /wp-admin/upload.php3.25 ▲0.0233.23 ▲0.73

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Multi-Column Taxonomy List
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,801 ▲5513.55 ▼0.751.80 ▲0.2043.00 ▲1.66
Dashboard /wp-admin2,209 ▲205.86 ▲0.9897.64 ▼8.9538.57 ▼7.63
Posts /wp-admin/edit.php2,092 ▲32.01 ▼0.0050.03 ▲9.8438.65 ▲3.65
Add New Post /wp-admin/post-new.php1,542 ▲2318.29 ▼4.83606.85 ▲2.0552.01 ▼0.52
Media Library /wp-admin/upload.php1,391 ▲94.23 ▲0.0196.95 ▲1.3143.42 ▲0.04

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/multi-column-taxonomy-list/multi-column-taxonomy-list.php:51

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration Passed 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: shortcode, category, categories, taxonomy, tag...

multi-column-taxonomy-list/multi-column-taxonomy-list.php Passed 13 tests

The main file in "Multi-Column Taxonomy List" v. 1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
86 characters long description:
List your categories, tags, or custom taxonomies into multiple, customizable, columns.

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
Good job! No executable or dangerous file extensions detected139 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP14981107
CSS17032

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.27
Average class complexity15.00
▷ Minimum class complexity15.00
▷ Maximum class complexity15.00
Average method complexity4.50
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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 are no PNG files in this plugin