10% docs-auto-tags

Code Review | Doc's Auto-tags

WordPress plugin Doc's Auto-tags scored10%from 54 tests.

About plugin

  • Plugin page: docs-auto-tags
  • Plugin version: 0.7.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-4.0
  • WordPress version: 6.3.1
  • First release: Apr 13, 2011
  • Latest release: Sep 24, 2014
  • Number of updates: 27
  • Update frequency: every 46.7 days
  • Top authors: johnleblanc (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /3,308 total downloads

Benchmarks

Plugin footprint 40% 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
The following installer errors require your attention
  • The plugin did not install without errors
    • > User deprecated in wp-includes/functions.php+5747
    Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.

Server metrics [RAM: ▼1.89MB] [CPU: ▼56.23ms] Passed 4 tests

A check of server-side resources used by Doc's Auto-tags
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.14 ▼1.365.51 ▼38.54
Dashboard /wp-admin2.16 ▼1.227.73 ▼57.81
Posts /wp-admin/edit.php2.16 ▼1.237.91 ▼37.92
Add New Post /wp-admin/post-new.php2.16 ▼3.767.49 ▼90.63
Media Library /wp-admin/upload.php2.16 ▼1.117.08 ▼26.46
Doc's Auto-Tags /wp-admin/tools.php?page=docs-auto-tags/docs-auto-tags.php2.168.08

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: no files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

Doc's Auto-tags: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,834 ▲6313.60 ▼0.991.70 ▼0.3637.24 ▼4.85
Dashboard /wp-admin2,215 ▲275.85 ▲0.8996.64 ▼18.4839.20 ▼4.80
Posts /wp-admin/edit.php2,098 ▲92.04 ▲0.0134.85 ▼1.0136.37 ▲1.89
Add New Post /wp-admin/post-new.php1,547 ▲1918.47 ▼0.05607.84 ▼41.6749.68 ▼9.69
Media Library /wp-admin/upload.php1,400 ▲94.22 ▲0.0194.18 ▼3.4544.47 ▲2.67
Doc's Auto-Tags /wp-admin/tools.php?page=docs-auto-tags/docs-auto-tags.php8422.2226.4026.23

Uninstaller [IO: ✅] [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 cannot be uninstalled
    • > User deprecated in wp-includes/functions.php+5747
    Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
    • > GET request to /wp-admin/tools.php?page=docs-auto-tags/docs-auto-tags.php
    • > User deprecated in wp-includes/functions.php+5747
    Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/tools.php?page=docs-auto-tags/docs-auto-tags.php
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/docs-auto-tags/docs-auto-tags.php:36

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 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === docs-auto-tags === )
The official readme.txt might help

docs-auto-tags/docs-auto-tags.php 92% from 13 tests

The principal PHP file in "Doc's Auto-tags" v. 0.7.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 161 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected162 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP13836136
PO File161426

PHP code Passed 2 tests

Analyzing 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.66
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%
Functions6
▷ Named functions6100.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