83% revised-meta-tag

Code Review | Revised Meta Tag

WordPress plugin Revised Meta Tag scored 83% from 54 tests.

About plugin

  • Plugin page: revised-meta-tag
  • Plugin version: 0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-3.5.1
  • WordPress version: 5.8.1
  • First release: May 21, 2013
  • Latest release: May 25, 2013
  • Number of updates: 47
  • Update frequency: every 0.1 days
  • Top authors: w3bits (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active / 3,141 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▼0.15MB] [CPU: ▼166.30ms] Passed 4 tests

Server-side resources used by Revised Meta Tag
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.76 ▲0.0423.07 ▲0.75
Dashboard /wp-admin3.10 ▲0.0544.85 ▲0.94
Posts /wp-admin/edit.php3.15 ▲0.0543.96 ▼3.14
Add New Post /wp-admin/post-new.php4.70 ▼0.7465.81 ▼655.10
Media Library /wp-admin/upload.php3.05 ▲0.0433.71 ▼7.72
Revised Meta Tag /wp-admin/options-general.php?page=revised-meta-tag/includes/admin.php2.9930.97

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Revised Meta Tag
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,741 ▲14517.43 ▲1.918.61 ▼0.2651.41 ▼1.24
Dashboard /wp-admin3,006 ▲698.00 ▲1.84171.35 ▲18.77109.39 ▼14.57
Posts /wp-admin/edit.php2,778 ▲393.91 ▲1.1090.84 ▲21.91116.29 ▲17.94
Add New Post /wp-admin/post-new.php3,979 ▲2,47917.01 ▼1.55476.20 ▲88.64148.31 ▲29.84
Media Library /wp-admin/upload.php1,864 ▲576.83 ▲1.81156.41 ▼9.81116.55 ▼7.01
Revised Meta Tag /wp-admin/options-general.php?page=revised-meta-tag/includes/admin.php1,4155.69158.19103.03

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully

Smoke tests 25% 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=revised-meta-tag/includes/admin.php
    • > User deprecated in wp-includes/functions.php+5221
    screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=revised-meta-tag/includes/admin.php
    • > User deprecated in wp-includes/functions.php+5221
    get_screen_icon is deprecated since version 3.8.0 with no alternative available.
  • 17 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=revised-meta-tag/includes/admin.php
    • > Notice in wp-content/plugins/revised-meta-tag/includes/admin.php+112
    Trying to access array offset on value of type bool

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
Please fix the following
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/revised-meta-tag/wprmt.php:32
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revised-meta-tag/includes/admin.php:38

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
    • > GET request to /wp-admin/options-general.php?page=revised-meta-tag/includes/admin.php
    • > Network (severe)
    https://apis.google.com/u/0/se/0/_/+1/fastbutton?usegapi=1&size=medium&origin=http%3A%2F%2Fwp.com&url=http%3A%2F%2Fw3bits.com%2Fwordpress-revised-meta-tag-plugin%2F&gsrc=3p&ic=1&jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.en_US.7Qaqnm_1sO0.O%2Fam%3DAQ%2Fd%3D1%2Frs%3DAGLTcCMlhJgy_5nQ_Wt0jHMAZa6UDzBuWQ%2Fm%3D__features__#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conload&id=I0_1637240574017&_gfid=I0_1637240574017&parent=http%3A%2F%2Fwp.com&pfname=&rpctoken=33206286 - Failed to load resource: the server responded with a status of 404 ()

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: updated, revised, tag, date, last...

revised-meta-tag/wprmt.php 92% from 13 tests

The principal PHP file in "Revised Meta Tag" v. 0.3 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("revised-meta-tag.php" instead of "wprmt.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin233 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP32968233

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.16
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%
Functions19
▷ Named functions19100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
There are no PNG files in this plugin