83% multi-column-tag-map

Code Review | Multi-column Tag Map

WordPress plugin Multi-column Tag Map scored83%from 54 tests.

About plugin

  • Plugin page: multi-column-tag-map
  • Plugin version: 17.0.27
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.1-6.3.1
  • WordPress version: 6.3.1
  • First release: Oct 16, 2009
  • Latest release: Sep 29, 2023
  • Number of updates: 193
  • Update frequency: every 26.4 days
  • Top authors: tugbucket (100%)

Code review

54 tests

User reviews

58 reviews

Install metrics

6,000+ active /235,734 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
The plugin installed successfully, without throwing any errors or notices

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

An overview of server-side resources used by Multi-column Tag Map
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0237.54 ▼2.38
Dashboard /wp-admin3.33 ▼0.0245.15 ▼7.20
Posts /wp-admin/edit.php3.38 ▲0.0246.16 ▲2.67
Add New Post /wp-admin/post-new.php5.91 ▲0.0279.39 ▼27.70
Media Library /wp-admin/upload.php3.25 ▲0.0234.56 ▲4.26
MC Tag Map /wp-admin/options-general.php?page=mctm-options3.2330.94

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

Multi-column Tag Map: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲8313.31 ▼1.062.03 ▲0.1143.53 ▲1.74
Dashboard /wp-admin2,213 ▲225.81 ▲0.8994.35 ▼3.9240.21 ▲1.39
Posts /wp-admin/edit.php2,093 ▲42.04 ▲0.0235.60 ▼6.0830.20 ▼5.42
Add New Post /wp-admin/post-new.php1,522 ▼1123.54 ▲0.31672.15 ▲47.5952.07 ▲0.30
Media Library /wp-admin/upload.php1,392 ▲44.21 ▲0.04104.44 ▲2.4845.14 ▲3.75
MC Tag Map /wp-admin/options-general.php?page=mctm-options8751.8027.4837.72

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts

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)
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 3× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/multi-column-tag-map/mctagmap-options.php:43
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/multi-column-tag-map/mctagmap.php:58
    • > PHP Fatal error
      Uncaught Error: Call to undefined function shortcode_atts() in wp-content/plugins/multi-column-tag-map/mctagmap_functions.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • Tags: You are using too many tags: 14 tag instead of maximum 10
You can look at the official readme.txt

multi-column-tag-map/mctagmap.php 85% from 13 tests

The main PHP file in "Multi-column Tag Map" ver. 17.0.27 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Main file name: Name the main plugin file the same as the plugin slug ("multi-column-tag-map.php" instead of "mctagmap.php")
  • Description: Keep the plugin description shorter than 140 characters (currently 145 characters long)

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
No dangerous file extensions were detected1,852 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP31822331,693
JavaScript1142090
CSS116869

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.76
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%
Functions33
▷ Named functions1236.36%
▷ Anonymous functions2163.64%
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
PNG images were not found in this plugin