68% detaxo

Code Review | DeTaxo

WordPress plugin DeTaxo scored68%from 54 tests.

About plugin

  • Plugin page: detaxo
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.1
  • WordPress version: 6.3.1
  • First release: Jan 31, 2015
  • Latest release: Feb 3, 2015
  • Number of updates: 10
  • Update frequency: every 0.4 days
  • Top authors: wp_harish (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /716 total downloads

Benchmarks

Plugin footprint 65% 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: ▼1.23MB] [CPU: ▼41.65ms] Passed 4 tests

This is a short check of server-side resources used by DeTaxo
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.73 ▼0.7320.38 ▼20.18
Dashboard /wp-admin2.78 ▼0.5217.87 ▼32.09
Posts /wp-admin/edit.php2.78 ▼0.5819.27 ▼24.85
Add New Post /wp-admin/post-new.php2.78 ▼3.1116.79 ▼89.48
Media Library /wp-admin/upload.php2.78 ▼0.4513.61 ▼18.48
DeTaxo Settings /wp-admin/options-general.php?page=detaxo-setting2.7815.52

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-posts
detaxo_settings
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for DeTaxo
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.28 ▼1.461.60 ▼0.2741.41 ▼2.84
Dashboard /wp-admin2,213 ▲225.90 ▲1.01105.48 ▲0.8039.39 ▼14.13
Posts /wp-admin/edit.php2,093 ▲42.05 ▲0.0739.71 ▲2.8035.14 ▼4.72
Add New Post /wp-admin/post-new.php1,550 ▲1718.56 ▼4.64604.74 ▼62.7258.20 ▲6.59
Media Library /wp-admin/upload.php1,392 ▲44.25 ▼0.0694.34 ▼1.4644.59 ▲1.42
DeTaxo Settings /wp-admin/options-general.php?page=detaxo-setting8272.0227.2728.77

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin did not uninstall without warnings or errors
    • > Notice in wp-content/plugins/detaxo/detaxo.php+61
    Trying to get property 'term_taxonomy_id' of non-object
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • detaxo_settings
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=detaxo-setting
    • > Notice in wp-content/plugins/detaxo/detaxo.php+61
    Trying to get property 'term_taxonomy_id' of non-object

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
Almost there! Just fix the following items
  • 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/detaxo/detaxo.php:26

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 81% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Tags: There are too many tags (12 tag instead of maximum 10)
  • Screenshots: Please add an image for screenshot #1 (assets/screenshot-1.jpg)
  • Donate link: Invalid URI found ("")
You can look at the official readme.txt

detaxo/detaxo.php Passed 13 tests

The main PHP script in "DeTaxo" version 1.1 is automatically included on every request by WordPress
112 characters long description:
Remove post from category/taxonomy on the fly with just one click from post list it self, No need to Quick edit.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin163 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1188136
JavaScript12427

PHP code Passed 2 tests

An short overview of 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.41
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%
Functions10
▷ Named functions10100.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
No PNG files were detected