10% wp-delete-tags-tagassassin

Code Review | WP DeleteTags - TagAssassin

WordPress plugin WP DeleteTags - TagAssassin scored10%from 54 tests.

About plugin

  • Plugin page: wp-delete-tags-ta...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.8
  • WordPress version: 6.3.1
  • First release: Dec 30, 2013
  • Latest release: Jan 7, 2014
  • Number of updates: 6
  • Update frequency: every 1.3 days
  • Top authors: msolution (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,279 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
  • The plugin did not install without errors
    • > Parse error in wp-content/plugins/wp-delete-tags-tagassassin/wp-delete-tags-tagassassin.php+269
    syntax error, unexpected 'new' (T_NEW)

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

This is a short check of server-side resources used by WP DeleteTags - TagAssassin
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0049.87 ▲6.74
Dashboard /wp-admin3.31 ▲0.0047.67 ▼3.03
Posts /wp-admin/edit.php3.36 ▲0.0052.77 ▲3.35
Add New Post /wp-admin/post-new.php5.89 ▲0.0096.01 ▲1.63
Media Library /wp-admin/upload.php3.23 ▲0.0036.75 ▲0.56

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by WP DeleteTags - TagAssassin
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7913.30 ▼0.675.04 ▲3.2049.76 ▲3.11
Dashboard /wp-admin2,209 ▲215.85 ▼0.04102.82 ▼3.1443.12 ▼2.00
Posts /wp-admin/edit.php2,089 ▼02.00 ▼0.0541.33 ▲3.3434.60 ▼1.24
Add New Post /wp-admin/post-new.php1,537 ▲423.22 ▼0.19641.93 ▼56.3958.41 ▲4.04
Media Library /wp-admin/upload.php1,388 ▲34.23 ▼0.02101.54 ▼7.0142.10 ▼6.59

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
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
The following issues need your attention
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Parse error
      syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/wp-delete-tags-tagassassin/wp-delete-tags-tagassassin.php on line 269

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Overview Search), #2 (Overview of results with count)
  • Donate link: Invalid URI found ("-")
Please take inspiration from this readme.txt

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

The principal PHP file in "WP DeleteTags - TagAssassin" v. 1.0.1 is loaded by WordPress automatically on each request
90 characters long description:
Delete Tags - Tag Assasin Simple yet powerful plugin to delete excess tags from your blog!

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin214 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13223214

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity26.00
▷ Minimum class complexity26.00
▷ Maximum class complexity26.00
Average method complexity5.17
▷ Minimum method complexity1.00
▷ Maximum method complexity24.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.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
2 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png20.60KB9.68KB▼ 53.03%
screenshot-2.png17.50KB10.33KB▼ 41.00%