89% ach-tag-manager

Code Review | ACh Tag Manager

WordPress plugin ACh Tag Manager scored 89% 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-5.9
  • WordPress version: 5.9.2
  • First release: Mar 19, 2021
  • Latest release: Jan 27, 2022
  • Number of updates: 25
  • Update frequency: every 12.6 days
  • Top authors: ach1992 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 294 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.01MB] [CPU: ▼294.09ms] Passed 4 tests

Server-side resources used by ACh Tag Manager
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0251.86 ▲2.19
Dashboard /wp-admin3.43 ▲0.0232.08 ▼0.18
Posts /wp-admin/edit.php3.66 ▲0.0237.04 ▼0.31
Add New Post /wp-admin/post-new.php6.90 ▼0.07101.49 ▼1,170.25
Media Library /wp-admin/upload.php3.31 ▲0.0124.58 ▼5.61
ACh Tag Manager /wp-admin/options-general.php?page=achtm3.3123.32

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for ACh Tag Manager
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,802 ▲5815.93 ▲0.346.23 ▲0.172.33 ▲0.25
Dashboard /wp-admin2,893 ▲356.16 ▼0.01112.97 ▼19.24153.45 ▲0.19
Posts /wp-admin/edit.php2,693 ▲53.24 ▼0.0061.44 ▲0.26138.29 ▲2.86
Add New Post /wp-admin/post-new.php1,755 ▲9421.14 ▲4.23441.30 ▲28.61160.67 ▲5.76
Media Library /wp-admin/upload.php1,703 ▲25.50 ▼0.02144.15 ▼2.04189.46 ▲2.54
ACh Tag Manager /wp-admin/options-general.php?page=achtm1,3692.8559.04212.92

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
  • The plugin did not uninstall gracefully
    • > Warning in wp-includes/class-wp-hook.php+307
    call_user_func_array() expects parameter 1 to be a valid callback, function 'achtm_plugin_deactivation' not found or invalid function name

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

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

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
  • Screenshots: Add an image for screenshot #1 (Plugin Settings page.)
The official readme.txt is a good inspiration

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

The main PHP script in "ACh Tag Manager" version 1.0.1 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("ach-tag-manager.php" instead of "AChTM.php")
  • Description: Please don't use more than 140 characters for the plugin description (currently 154 characters long)

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
Everything looks great! 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
No cyclomatic complexity issues were detected for this plugin
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin