10% remove-tags-taxonomy

Code Review | Remove tags taxonomy

WordPress plugin Remove tags taxonomy scored10%from 54 tests.

About plugin

  • Plugin page: remove-tags-taxonomy
  • Plugin version: 1.6
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.0-3.6
  • WordPress version: 6.3.1
  • First release: Jun 28, 2013
  • Latest release: Apr 18, 2017
  • Number of updates: 13
  • Update frequency: every 106.9 days
  • Top authors: boluda (92.31%)unitepress (15.38%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,936 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
  • Install procedure had errors
    • > Compile error in wp-content/plugins/remove-tags-taxonomy/remove-tags-taxonomy.php+27
    Cannot redeclare unregister_taxonomy() (previously declared in wp-includes/taxonomy.php:566)

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

This is a short check of server-side resources used by Remove tags taxonomy
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.71 ▲3.01
Dashboard /wp-admin3.31 ▼0.0444.83 ▼13.02
Posts /wp-admin/edit.php3.36 ▲0.0044.28 ▼1.17
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.37 ▼8.48
Media Library /wp-admin/upload.php3.23 ▲0.0035.27 ▲1.47

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Remove tags taxonomy
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.72 ▲0.161.88 ▲0.0944.86 ▲2.27
Dashboard /wp-admin2,195 ▲145.54 ▼0.2086.56 ▼13.0736.96 ▼3.00
Posts /wp-admin/edit.php2,100 ▲31.98 ▼0.0433.34 ▼3.9135.10 ▲2.69
Add New Post /wp-admin/post-new.php1,526 ▼023.07 ▲0.00678.82 ▼3.6255.48 ▼3.34
Media Library /wp-admin/upload.php1,397 ▼04.15 ▲0.0199.67 ▼0.2944.76 ▼1.36

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remove-tags-taxonomy/remove-tags-taxonomy.php:30

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === remove-tags-taxonomy === )
The official readme.txt might help

remove-tags-taxonomy/remove-tags-taxonomy.php 85% from 13 tests

"Remove tags taxonomy" version 1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Domain Path: The domain path is invalid: folder "/lang" does not exist
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

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
Everything looks great! No dangerous files found in this plugin5 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11245

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
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

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