90% seo-gpt

Code Review | SEO GPT

WordPress plugin SEO GPT scored90%from 54 tests.

About plugin

  • Plugin page: seo-gpt
  • Plugin version: 0.3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.2
  • WordPress version: 6.3.1
  • First release: May 18, 2023
  • Latest release: Nov 29, 2023
  • Number of updates: 14
  • Update frequency: every 14.9 days
  • Top authors: zuhahsocial (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

200+ active /1,266 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.07MB] [CPU: ▼3.98ms] Passed 4 tests

A check of server-side resources used by SEO GPT
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0840.06 ▼2.36
Dashboard /wp-admin3.38 ▲0.0449.79 ▼13.36
Posts /wp-admin/edit.php3.43 ▲0.0846.31 ▼0.10
Add New Post /wp-admin/post-new.php5.99 ▲0.1091.65 ▲0.77
Media Library /wp-admin/upload.php3.31 ▲0.0831.23 ▼0.10
SEO GPT /wp-admin/options-general.php?page=sgpt_settings3.2730.86

Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

SEO GPT: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,801 ▲1414.33 ▼0.071.76 ▲0.0242.98 ▼1.33
Dashboard /wp-admin2,203 ▲265.63 ▲0.0488.29 ▼13.8339.15 ▼2.89
Posts /wp-admin/edit.php2,111 ▲112.04 ▲0.1039.70 ▲0.8938.71 ▲2.67
Add New Post /wp-admin/post-new.php6,256 ▲4,73026.04 ▲2.91831.75 ▲209.4958.17 ▲0.02
Media Library /wp-admin/upload.php1,414 ▲114.23 ▲0.0797.12 ▲0.8041.00 ▲0.54
SEO GPT /wp-admin/options-general.php?page=sgpt_settings8042.0527.8528.16

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: content, optimize, seo, generative, gpt...

seo-gpt/seo-gpt.php Passed 13 tests

The entry point to "SEO GPT" version 0.3.1 is a PHP file that has certain tags in its header comment area
86 characters long description:
Use our SEO GPT AI technology to automatcially write SEO titles and meta descriptions.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin582 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP13130375
JavaScript184168
CSS10039

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions14
▷ Named functions14100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin