84% wp-simple-meta-tags

Code Review | WP Simple Meta Tags

WordPress plugin WP Simple Meta Tags scored 84% from 54 tests.

About plugin

  • Plugin page: wp-simple-meta-tags
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-4.8.3
  • WordPress version: 6.3.1
  • First release: Nov 17, 2017
  • Latest release: Nov 17, 2017
  • Number of updates: 7
  • Update frequency: every 2.7 days
  • Top authors: kumbhdesign (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 700 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.82MB] [CPU: ▼24.55ms] Passed 4 tests

A check of server-side resources used by WP Simple Meta Tags
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.87 ▼0.5918.16 ▼20.61
Dashboard /wp-admin3.34 ▲0.0445.51 ▼5.35
Posts /wp-admin/edit.php3.39 ▲0.0446.46 ▼8.34
Add New Post /wp-admin/post-new.php3.13 ▼2.7639.34 ▼63.91
Media Library /wp-admin/upload.php3.27 ▲0.0434.44 ▲0.18

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
db_upgraded
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by WP Simple Meta Tags
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲8113.22 ▼1.381.67 ▲0.0939.52 ▼7.60
Dashboard /wp-admin2,222 ▲375.83 ▲0.9497.64 ▼3.6538.85 ▼6.95
Posts /wp-admin/edit.php2,105 ▲132.01 ▼0.0340.11 ▼3.4237.28 ▼0.17
Add New Post /wp-admin/post-new.php45 ▼1,4740.44 ▼22.800.10 ▼708.319.59 ▼45.50
Media Library /wp-admin/upload.php1,398 ▲104.17 ▼0.1094.85 ▼7.7080.97 ▲35.46

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 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/wp-simple-meta-tags/wp-simple-meta-tags.php:16

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
  • Requires php: Invalid version format
  • Screenshots: Screenshot #1 (screenshot-1.png`) image not found
The official readme.txt might help

wp-simple-meta-tags/wp-simple-meta-tags.php Passed 13 tests

The main PHP file in "WP Simple Meta Tags" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
41 characters long description:
Allows you to set meta tags on page/post.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected115 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12820115

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity17.00
▷ Minimum class complexity17.00
▷ Maximum class complexity17.00
Average method complexity2.78
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods9
▷ Static methods00.00%
▷ Public methods9100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected