73% meta-tags-for-seo

Code Review | Auto SEO META keywords (META tags keywords) optimization + WooCommerce

WordPress plugin Auto SEO META keywords (META tags keywords) optimization + WooCommerce scored73%from 54 tests.

About plugin

  • Plugin page: meta-tags-for-seo
  • Plugin version: 1.1.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-6.3
  • WordPress version: 6.3.1
  • First release: Apr 29, 2021
  • Latest release: Oct 6, 2023
  • Number of updates: 22
  • Update frequency: every 40.5 days
  • Top authors: pagup (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active /10,830 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▼0.99MB] [CPU: ▼57.07ms] Passed 4 tests

An overview of server-side resources used by Auto SEO META keywords (META tags keywords) optimization + WooCommerce
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /4.07 ▲0.6146.74 ▲3.95
Dashboard /wp-admin3.91 ▲0.5753.91 ▼8.87
Posts /wp-admin/edit.php4.35 ▲0.9954.98 ▼2.88
Add New Post /wp-admin/post-new.php6.44 ▲0.5590.00 ▼6.43
Media Library /wp-admin/upload.php3.67 ▼5.6838.89 ▼210.11
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius4.0338.16

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 217 new files
Database: no new tables, 10 new options
New WordPress options
fs_debug_mode
widget_recent-comments
meta-tags-for-seo
can_compress_scripts
fs_active_plugins
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
fs_accounts

Browser metrics Passed 4 tests

An overview of browser requirements for Auto SEO META keywords (META tags keywords) optimization + WooCommerce
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,847 ▲9014.17 ▼0.221.96 ▼0.1532.55 ▼16.49
Dashboard /wp-admin2,231 ▲545.53 ▼0.0899.91 ▲6.6146.55 ▲7.40
Posts /wp-admin/edit.php2,134 ▲311.99 ▲0.0436.34 ▼9.3534.92 ▲3.11
Add New Post /wp-admin/post-new.php1,544 ▲1823.50 ▲0.59691.18 ▲8.9558.14 ▼34.49
Media Library /wp-admin/upload.php1,430 ▲304.21 ▲0.1396.55 ▼18.1643.83 ▼6.01
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius1,0981.6623.9428.53

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
You still need to fix the following
  • Uninstall procedure had uncaught errors
    • > Notice in wp-content/plugins/meta-tags-for-seo/vendor/freemius/includes/class-freemius.php+8515
    Undefined property: stdClass::$plugins
  • Zombie WordPress options detected upon uninstall: 10 options
    • widget_recent-posts
    • fs_active_plugins
    • fs_accounts
    • meta-tags-for-seo
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • fs_debug_mode
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 8× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/meta-tags-for-seo/admin/views/inc/top.view.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/meta-tags-for-seo/admin/views/inc/side.view.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/meta-tags-for-seo/admin/views/inc/top.view.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/meta-tags-for-seo/admin/views/notices/support.view.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Pagup\\MetaTags\\Controllers\\add_action() in wp-content/plugins/meta-tags-for-seo/admin/controllers/TagsController.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'Pagup\\MetaTags\\Controllers\\SettingsController' not found in wp-content/plugins/meta-tags-for-seo/admin/Settings.php:10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/meta-tags-for-seo/admin/views/inc/top.view.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/meta-tags-for-seo/admin/views/metabox.view.php:10

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: seo, keyword, meta, tags, tag

meta-tags-for-seo/meta-tags-for-seo.php 85% from 13 tests

The entry point to "Auto SEO META keywords (META tags keywords) optimization + WooCommerce" version 1.1.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 158 characters long)
  • Domain Path: The domain path folder was not found ("/languages/")

Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin36,519 lines of code in 167 files:
LanguageFilesBlank linesComment linesLines of code
PHP1428,29217,51234,931
JavaScript72202411,049
CSS163634515
XML13016
JSON1008

PHP code 50% from 2 tests

An overview of cyclomatic complexity and code structure
Please tend to the following items
  • Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity
Average complexity per logical line of code0.63
Average class complexity75.69
▷ Minimum class complexity1.00
▷ Maximum class complexity3,088.00
Average method complexity4.52
▷ Minimum method complexity1.00
▷ Maximum method complexity94.00
Code structure
Namespaces4
Interfaces0
Traits0
Classes61
▷ Abstract classes23.28%
▷ Concrete classes5996.72%
▷ Final classes00.00%
Methods1,324
▷ Static methods21916.54%
▷ Public methods92770.02%
▷ Protected methods231.74%
▷ Private methods37428.25%
Functions106
▷ Named functions10397.17%
▷ Anonymous functions32.83%
Constants147
▷ Global constants10068.03%
▷ Class constants4731.97%
▷ Public constants47100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.22MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/assets/icon.png16.31KB2.96KB▼ 81.85%
vendor/freemius/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%
vendor/freemius/assets/img/add-twitter-pixel.png9.16KB5.26KB▼ 42.58%
admin/assets/metabox.png181.07KB53.40KB▼ 70.51%
vendor/freemius/assets/img/plugin-icon.png9.16KB5.26KB▼ 42.58%