79% ach-tag-manager

Code Review | ACh Tag Manager

WordPress plugin ACh Tag Manager scored79%from 54 tests.

About plugin

  • Plugin page: ach-tag-manager
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.1
  • WordPress version: 6.3.1
  • First release: Mar 19, 2021
  • Latest release: Nov 3, 2022
  • Number of updates: 26
  • Update frequency: every 22.9 days
  • Top authors: ach1992 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /636 total downloads


Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

A check of server-side resources used by ACh Tag Manager
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0337.33 ▼1.15
Dashboard /wp-admin3.32 ▼0.0247.77 ▼13.15
Posts /wp-admin/edit.php3.37 ▲0.0251.66 ▲3.12
Add New Post /wp-admin/post-new.php5.90 ▲0.0290.73 ▼10.15
Media Library /wp-admin/upload.php3.24 ▲0.0140.09 ▲4.09
ACh Tag Manager /wp-admin/options-general.php?page=achtm3.2131.78

Server storage [IO: ▲0.05MB] [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, 6 new options
New WordPress options

Browser metrics Passed 4 tests

ACh Tag Manager: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,811 ▲5014.24 ▼0.481.53 ▼0.0342.10 ▼0.37
Dashboard /wp-admin2,199 ▲225.64 ▼0.0488.37 ▼7.6138.73 ▼0.86
Posts /wp-admin/edit.php2,107 ▲71.96 ▼0.0841.16 ▲4.3436.87 ▲0.61
Add New Post /wp-admin/post-new.php1,529 ▲322.84 ▼0.40658.86 ▼13.0865.67 ▲7.67
Media Library /wp-admin/upload.php1,404 ▲14.18 ▼0.01107.57 ▲2.9243.49 ▼2.46
ACh Tag Manager /wp-admin/options-general.php?page=achtm1,0462.2336.4473.98

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Uninstall procedure had uncaught errors
    • > Warning in wp-includes/class-wp-hook.php+310
    call_user_func_array() expects parameter 1 to be a valid callback, function 'achtm_plugin_deactivation' not found or invalid function name
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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

User-side errors Passed 1 test

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


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Screenshots: Add an image for screenshot #1 (Plugin Settings page.)
You can take inspiration from this readme.txt

ach-tag-manager/AChTM.php 85% from 13 tests

Analyzing the main PHP file in "ACh Tag Manager" version 1.0.1
The following require your attention:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 154 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ach-tag-manager.php" instead of "AChTM.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,128 lines of code in 7 files:
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.27
Average class complexity3.67
▷ Minimum class complexity3.00
▷ Maximum class complexity5.00
Average method complexity2.14
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions8100.00%
▷ Anonymous functions00.00%
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin