84% meta-tags-generator

Code Review | Meta Tags Generator

WordPress plugin Meta Tags Generator scored84%from 54 tests.

About plugin

  • Plugin page: meta-tags-generator
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.5-4.7.1
  • WordPress version: 6.3.1
  • First release: Jan 13, 2017
  • Latest release: Jan 17, 2017
  • Number of updates: 7
  • Update frequency: every 19.4 days
  • Top authors: congbom (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /4,823 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.01MB] [CPU: ▼2.40ms] Passed 4 tests

Server-side resources used by Meta Tags Generator
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.16 ▼6.88
Dashboard /wp-admin3.32 ▲0.0145.72 ▼2.03
Posts /wp-admin/edit.php3.37 ▲0.0150.71 ▲2.93
Add New Post /wp-admin/post-new.php5.90 ▲0.0186.92 ▼3.62
Media Library /wp-admin/upload.php3.24 ▲0.0137.93 ▲3.08

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Meta Tags Generator
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲7014.48 ▼0.171.72 ▼0.2644.37 ▲1.23
Dashboard /wp-admin2,209 ▲214.86 ▼1.04100.66 ▼11.2539.23 ▼6.04
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.0639.72 ▼2.4137.21 ▼5.24
Add New Post /wp-admin/post-new.php1,534 ▲118.52 ▼4.57612.36 ▼71.9648.54 ▼1.17
Media Library /wp-admin/upload.php1,385 ▼64.26 ▼0.0696.59 ▼8.5041.19 ▼0.08

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
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options

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 | 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 fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/meta-tags-generator/meta-tags-generator.php:13

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: facebook share, meta description, seo description, open graph, meta tag

meta-tags-generator/meta-tags-generator.php Passed 13 tests

The entry point to "Meta Tags Generator" version 1.0.0 is a PHP file that has certain tags in its header comment area
99 characters long description:
Automatic generate meta tags. Let your WordPress site optimize with Search engine & Social sharing.

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
There were no executable files found in this plugin49 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP141149

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.61
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin