84% wp-delete-tags

Code Review | WP Delete Tags

WordPress plugin WP Delete Tags scored84%from 54 tests.

About plugin

  • Plugin page: wp-delete-tags
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.2.4
  • WordPress version: 6.3.1
  • First release: Aug 10, 2015
  • Latest release: Aug 10, 2015
  • Number of updates: 5
  • Update frequency: every 0.2 days
  • Top authors: smjunaidiqbal (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

300+ active /4,453 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼1.62ms] Passed 4 tests

A check of server-side resources used by WP Delete Tags
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0049.70 ▲11.25
Dashboard /wp-admin3.31 ▲0.0144.62 ▼6.15
Posts /wp-admin/edit.php3.36 ▲0.0047.61 ▲1.58
Add New Post /wp-admin/post-new.php5.89 ▲0.0088.60 ▼2.41
Media Library /wp-admin/upload.php3.23 ▲0.0036.11 ▲0.50

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

WP Delete Tags: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,830 ▲6914.35 ▼0.001.92 ▲0.3842.88 ▲3.31
Dashboard /wp-admin2,211 ▲345.62 ▼0.0480.94 ▼10.0338.06 ▼3.78
Posts /wp-admin/edit.php2,119 ▲191.97 ▲0.0239.39 ▲3.4835.83 ▼5.24
Add New Post /wp-admin/post-new.php1,548 ▲1318.01 ▼6.85651.84 ▼49.5868.10 ▼1.80
Media Library /wp-admin/upload.php1,419 ▲194.19 ▼0.03106.60 ▲6.5745.87 ▲1.34

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts

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)
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-delete-tags/wp-delete-tags.php:13

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
  • Screenshots: Screenshot #1 (2.) image missing
The official readme.txt might help

wp-delete-tags/wp-delete-tags.php Passed 13 tests

The principal PHP file in "WP Delete Tags" v. 1.0 is loaded by WordPress automatically on each request
46 characters long description:
Delete All Wordpress Tags from Wordpress Posts

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
There were no executable files found in this plugin27 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1101527

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.12
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin