84% ai-seo-translator

Code Review | AI auto Translate WordPress: SEO, chatgpt, Bard

WordPress plugin AI auto Translate WordPress: SEO, chatgpt, Bard scored84%from 54 tests.

About plugin

  • Plugin page: ai-seo-translator
  • Plugin version: 1.4.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.4.1
  • WordPress version: 6.3.1
  • First release: Dec 3, 2023
  • Latest release: Dec 3, 2023
  • Number of updates: 5
  • Update frequency: every 0.2 days
  • Top authors: aitool (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /11 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
Install script ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼3.68ms] Passed 4 tests

Analyzing server-side resources used by AI auto Translate WordPress: SEO, chatgpt, Bard
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0643.09 ▼4.78
Dashboard /wp-admin3.36 ▲0.0658.70 ▲5.40
Posts /wp-admin/edit.php3.41 ▲0.0550.67 ▼0.49
Add New Post /wp-admin/post-new.php5.94 ▲0.0595.24 ▼10.15
Media Library /wp-admin/upload.php3.28 ▲0.0533.39 ▲0.69

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for AI auto Translate WordPress: SEO, chatgpt, Bard
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3114.24 ▼0.131.71 ▼0.2742.18 ▼1.28
Dashboard /wp-admin2,201 ▲245.61 ▲0.1094.23 ▼1.5343.68 ▲0.55
Posts /wp-admin/edit.php2,103 ▼01.97 ▼0.0539.65 ▼1.3538.03 ▲0.99
Add New Post /wp-admin/post-new.php1,529 ▲323.36 ▲0.17651.13 ▼26.0655.38 ▲1.92
Media Library /wp-admin/upload.php1,406 ▲64.21 ▲0.00101.84 ▲6.5741.86 ▲1.97

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

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
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 apply_filters() in wp-content/plugins/ai-seo-translator/ai-seo-tranlater.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Screenshots: Screenshot #1 (Connect with aiautotool.com site) image missing
The official readme.txt might help

ai-seo-translator/ai-seo-tranlater.php 92% from 13 tests

The entry point to "AI auto Translate WordPress: SEO, chatgpt, Bard" version 1.4.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ai-seo-translator.php" instead of "ai-seo-tranlater.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin335 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14213335

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity35.00
▷ Minimum class complexity35.00
▷ Maximum class complexity35.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods17
▷ Static methods1588.24%
▷ Public methods1588.24%
▷ Protected methods00.00%
▷ Private methods211.76%
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin