68% tags-to-meta-keywords

Code Review | Tags to Keywords

WordPress plugin Tags to Keywords scored68%from 54 tests.

About plugin

  • Plugin page: tags-to-meta-keyw...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.3-6.0.2
  • WordPress version: 6.3.1
  • First release: Jan 11, 2016
  • Latest release: Oct 11, 2022
  • Number of updates: 20
  • Update frequency: every 123.4 days
  • Top authors: CheGevara29 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /3,956 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▼0.94MB] [CPU: ▼36.62ms] Passed 4 tests

A check of server-side resources used by Tags to Keywords
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.44 ▲2.95
Dashboard /wp-admin3.00 ▼0.3025.37 ▼30.23
Posts /wp-admin/edit.php3.00 ▼0.3624.88 ▼27.67
Add New Post /wp-admin/post-new.php3.00 ▼2.8922.43 ▼76.53
Media Library /wp-admin/upload.php3.00 ▼0.2325.11 ▼12.05
Tags to keywords /wp-admin/options-general.php?page=tags-to-meta-keywords/tags-to-keywords.php3.0021.06

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Tags to Keywords
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,845 ▲8413.22 ▼1.152.28 ▲0.6841.68 ▼6.77
Dashboard /wp-admin2,228 ▲254.88 ▼0.9797.13 ▼26.3137.81 ▼6.61
Posts /wp-admin/edit.php2,104 ▲42.00 ▲0.0436.33 ▼6.8235.52 ▼1.40
Add New Post /wp-admin/post-new.php1,550 ▲223.26 ▲0.16613.24 ▼25.5964.17 ▼24.94
Media Library /wp-admin/upload.php1,407 ▲74.29 ▲0.08100.16 ▼12.2545.89 ▼2.84
Tags to keywords /wp-admin/options-general.php?page=tags-to-meta-keywords/tags-to-keywords.php7552.0227.4328.21

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Uninstall procedure had uncaught errors
    • > 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.
  • Zombie WordPress options were found after uninstall: 7 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • ttk_main_tags
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments

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
Almost there, just fix the following server-side errors
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=tags-to-meta-keywords/tags-to-keywords.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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tags-to-meta-keywords/tags-to-keywords.php:27

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

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: meta, head, seo, keywords, tags

tags-to-meta-keywords/tags-to-keywords.php 92% from 13 tests

The entry point to "Tags to Keywords" version 1.0.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("tags-to-meta-keywords.php" instead of "tags-to-keywords.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected40 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP111840

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions5
▷ Named functions5100.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