84% auto-meta-keywords

Code Review | Auto Meta Keywords

WordPress plugin Auto Meta Keywords scored84%from 54 tests.

About plugin

  • Plugin page: auto-meta-keywords
  • Plugin version: 1.0.3
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3.1
  • WordPress version: 6.3.1
  • First release: Feb 1, 2023
  • Latest release: Sep 2, 2023
  • Number of updates: 11
  • Update frequency: every 19.4 days
  • Top authors: forfreelancer (63.64%)mansurahamed (45.45%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,076 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼10.40ms] Passed 4 tests

A check of server-side resources used by Auto Meta Keywords
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.41 ▼0.0621.19 ▼18.74
Dashboard /wp-admin3.33 ▲0.0247.49 ▼1.56
Posts /wp-admin/edit.php3.38 ▲0.0253.05 ▼4.26
Add New Post /wp-admin/post-new.php5.91 ▲0.0284.76 ▼17.04
Media Library /wp-admin/upload.php3.25 ▲0.0233.20 ▼0.67

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
db_upgraded
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Auto Meta Keywords
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,791 ▲3014.68 ▲1.471.99 ▼3.7339.47 ▼4.51
Dashboard /wp-admin2,195 ▲155.62 ▲0.0194.42 ▲5.8043.07 ▲2.82
Posts /wp-admin/edit.php2,103 ▼02.03 ▲0.0539.84 ▼1.1134.01 ▼1.94
Add New Post /wp-admin/post-new.php1,536 ▲1018.28 ▼5.29634.64 ▼53.7373.81 ▲16.72
Media Library /wp-admin/upload.php1,403 ▲124.22 ▲0.07103.43 ▼0.8840.48 ▼2.97

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • 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 | 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 items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auto-meta-keywords/auto_meta_keywords.php:21

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: meta tag, meta keywords, seo, auto keywords

auto-meta-keywords/auto_meta_keywords.php 85% from 13 tests

This is the main PHP file of "Auto Meta Keywords" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("auto-meta-keywords.php" instead of "auto_meta_keywords.php")
  • Description: The description should be shorter than 140 characters (currently 195 characters long)

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
Everything looks great! No dangerous files found in this plugin105 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11524105

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity14.00
▷ Minimum class complexity14.00
▷ Maximum class complexity14.00
Average method complexity2.86
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods00.00%
▷ Public methods7100.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

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin