94% disable-auto-tag-suggestion

Code Review | Disable Auto Tag Suggestion

WordPress plugin Disable Auto Tag Suggestion scored 94% from 54 tests.

About plugin

  • Plugin page: disable-auto-tag-...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.8.1
  • WordPress version: 5.8.1
  • First release: Feb 5, 2014
  • Latest release: Mar 7, 2014
  • Number of updates: 3
  • Update frequency: every 10.0 days
  • Top authors: Master Farzad (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,159 total downloads

Benchmarks

Plugin footprint Passed 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.00MB] [CPU: ▼149.66ms] Passed 4 tests

This is a short check of server-side resources used by Disable Auto Tag Suggestion
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0036.34 ▲0.94
Dashboard /wp-admin3.06 ▲0.0146.38 ▼0.22
Posts /wp-admin/edit.php3.11 ▼0.0039.72 ▼17.18
Add New Post /wp-admin/post-new.php5.42 ▼0.0194.20 ▼577.65
Media Library /wp-admin/upload.php3.00 ▲0.0031.52 ▼3.60

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Disable Auto Tag Suggestion
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,682 ▲4515.93 ▲0.548.97 ▼0.3152.02 ▼1.67
Dashboard /wp-admin2,970 ▲365.90 ▼0.06144.15 ▼4.60121.59 ▲9.21
Posts /wp-admin/edit.php2,742 ▲62.70 ▲0.0170.13 ▼0.3995.55 ▲5.19
Add New Post /wp-admin/post-new.php1,686 ▲318.69 ▼0.03379.94 ▼10.46116.74 ▼0.71
Media Library /wp-admin/upload.php1,813 ▲65.00 ▼0.01151.68 ▼6.90123.65 ▲4.93

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

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
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/disable-auto-tag-suggestion/disable-auto-tag-suggestion.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 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
These attributes need your attention:
  • Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can look at the official readme.txt

disable-auto-tag-suggestion/disable-auto-tag-suggestion.php Passed 13 tests

The entry point to "Disable Auto Tag Suggestion" version 1.1 is a PHP file that has certain tags in its header comment area
65 characters long description:
Disables auto tag suggestion in the tagbox when posting new tags.

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
No dangerous file extensions were detected9 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13119

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
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