83% auto-describe-taxonomies

Code Review | Auto Describe Taxonomies

WordPress plugin Auto Describe Taxonomies scored 83% from 54 tests.

About plugin

  • Plugin page: auto-describe-tax...
  • Plugin version: 1.1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.4
  • WordPress version: 6.3.1
  • First release: Jun 13, 2012
  • Latest release: Nov 12, 2012
  • Number of updates: 10
  • Update frequency: every 15.2 days
  • Top authors: itscoolreally (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 2,804 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▼0.29MB] [CPU: ▼15.58ms] Passed 4 tests

Server-side resources used by Auto Describe Taxonomies
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0034.60 ▼7.30
Dashboard /wp-admin3.35 ▲0.0445.95 ▲0.46
Posts /wp-admin/edit.php3.40 ▲0.0445.50 ▼4.93
Add New Post /wp-admin/post-new.php4.64 ▼1.2540.44 ▼50.53
Media Library /wp-admin/upload.php3.27 ▲0.0435.24 ▲4.18

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 11 new options
New WordPress options
widget_theysaidso_widget
adtaxonomies_tags_described
adtaxonomies_cats_described
widget_recent-comments
adtaxonomies_tags_exclude
db_upgraded
widget_recent-posts
adtaxonomies_cats_exclude
adtaxonomies_tags_advertise
theysaidso_admin_options
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Auto Describe Taxonomies
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,830 ▲9513.40 ▼0.881.87 ▲0.0540.43 ▼5.73
Dashboard /wp-admin2,224 ▲365.87 ▼0.0392.71 ▼18.3366.77 ▲18.97
Posts /wp-admin/edit.php2,107 ▲152.00 ▲0.0035.56 ▼5.0332.57 ▼5.62
Add New Post /wp-admin/post-new.php1,529 ▲923.08 ▼0.16739.34 ▲73.7153.68 ▼1.67
Media Library /wp-admin/upload.php1,400 ▲154.22 ▲0.03106.29 ▲4.3646.39 ▲0.57

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • The uninstall procedure has failed, leaving 11 options in the database
    • adtaxonomies_tags_advertise
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • adtaxonomies_tags_described
    • adtaxonomies_cats_exclude
    • db_upgraded
    • adtaxonomies_cats_described
    • adtaxonomies_tags_exclude
    • ...

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
Everything seems fine, however this is by no means 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× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/auto-describe-taxonomies/plugin.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Screenshots: Screenshot #1 (Setting Admin Panel) image required
  • Tags: You are using too many tags: 12 tag instead of maximum 10
You can look at the official readme.txt

auto-describe-taxonomies/plugin.php 85% from 13 tests

The primary PHP file in "Auto Describe Taxonomies" version 1.1.4 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Description: The description should be shorter than 140 characters (currently 394 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("auto-describe-taxonomies.php" instead of "plugin.php")

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 detected213 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12715213

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png27.64KB12.10KB▼ 56.20%