68% imageseo

Code Review | Optimize Images ALT Text (alt tag) & names for SEO using AI

WordPress plugin Optimize Images ALT Text (alt tag) & names for SEO using AI scored68%from 54 tests.

About plugin

  • Plugin page: imageseo
  • Plugin version: 2.0.9
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8-6.4
  • WordPress version: 6.3.1
  • First release: Dec 19, 2018
  • Latest release: Nov 15, 2023
  • Number of updates: 178
  • Update frequency: every 10.1 days
  • Top authors: imageseo (98.88%)raldea89 (1.12%)cristian.raiber (1.12%)

Code review

54 tests

User reviews

56 reviews

Install metrics

1,000+ active /60,247 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲2.28MB] [CPU: ▲20.16ms] Passed 4 tests

A check of server-side resources used by Optimize Images ALT Text (alt tag) & names for SEO using AI
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /5.74 ▲2.2771.65 ▲27.52
Dashboard /wp-admin5.61 ▲2.2675.70 ▲13.71
Posts /wp-admin/edit.php5.66 ▲2.3072.31 ▲23.10
Add New Post /wp-admin/post-new.php8.19 ▲2.30109.59 ▲16.32
Media Library /wp-admin/upload.php5.53 ▲2.3069.02 ▲33.47
Scheduled Actions /wp-admin/tools.php?page=action-scheduler5.6966.28

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 337 new files
Database: 4 new tables, 12 new options
New tables
wp_actionscheduler_groups
wp_actionscheduler_claims
wp_actionscheduler_logs
wp_actionscheduler_actions
New WordPress options
schema-ActionScheduler_LoggerSchema
imageseo_version
db_upgraded
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
action_scheduler_lock_async-request-runner
schema-ActionScheduler_StoreSchema
action_scheduler_hybrid_store_demarkation
imageseo
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Optimize Images ALT Text (alt tag) & names for SEO using AI
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,030 ▲26814.09 ▼0.252.21 ▲0.4145.35 ▲0.65
Dashboard /wp-admin2,407 ▲2305.63 ▲0.0196.28 ▲6.8642.19 ▼2.63
Posts /wp-admin/edit.php2,282 ▲1781.99 ▼0.0240.92 ▼4.2232.75 ▼2.28
Add New Post /wp-admin/post-new.php1,560 ▲3422.87 ▼1.00665.24 ▲8.7259.55 ▲0.80
Media Library /wp-admin/upload.php1,664 ▲2644.47 ▲0.26127.47 ▲16.9751.66 ▲7.48
Scheduled Actions /wp-admin/tools.php?page=action-scheduler1,4251.8035.9535.30

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie tables detected upon uninstall: 4 tables
    • wp_actionscheduler_logs
    • wp_actionscheduler_claims
    • wp_actionscheduler_actions
    • wp_actionscheduler_groups
  • This plugin does not fully uninstall, leaving 10 options in the database
    • can_compress_scripts
    • action_scheduler_hybrid_store_demarkation
    • theysaidso_admin_options
    • action_scheduler_lock_async-request-runner
    • schema-ActionScheduler_StoreSchema
    • schema-ActionScheduler_LoggerSchema
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 0% 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 take a closer look at the following
  • 8× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/imageseo/src/Async/QueryImagesNoAltBackgroundProcess.php
    • > /wp-content/plugins/imageseo/src/Async/QueryTotalImagesBackgroundProcess.php
    • > /wp-content/plugins/imageseo/src/Actions/Activation.php
    • > /wp-content/plugins/imageseo/src/Async/BulkImageActionScheduler.php
    • > /wp-content/plugins/imageseo/src/Async/GenerateImageBackgroundProcess.php
    • > /wp-content/plugins/imageseo/src/Actions/Migration.php
    • > /wp-content/plugins/imageseo/src/Async/WorkerOnUploadActionScheduler.php
    • > /wp-content/plugins/imageseo/vendor/cocur/slugify/bin/generate-default.php
  • 65× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'ActionScheduler_Abstract_Schema' not found in wp-content/plugins/imageseo/thirds/action-scheduler/classes/schema/ActionScheduler_LoggerSchema.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'ActionScheduler_DBStore' not found in wp-content/plugins/imageseo/thirds/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/imageseo/thirds/action-scheduler/classes/WP_CLI/Migration_Command.php:22
    • > PHP Fatal error
      Uncaught Error: Class 'ActionScheduler_Lock' not found in wp-content/plugins/imageseo/thirds/action-scheduler/classes/ActionScheduler_OptionLock.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'League\\Container\\ServiceProvider\\AbstractServiceProvider' not found in wp-content/plugins/imageseo/vendor/cocur/slugify/src/Bridge/League/SlugifyServiceProvider.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'ActionScheduler_Store_Deprecated' not found in wp-content/plugins/imageseo/thirds/action-scheduler/classes/abstracts/ActionScheduler_Store.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'ActionScheduler_SimpleSchedule' not found in wp-content/plugins/imageseo/thirds/action-scheduler/classes/schedules/ActionScheduler_CanceledSchedule.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'ActionScheduler_Action' not found in wp-content/plugins/imageseo/thirds/action-scheduler/classes/actions/ActionScheduler_NullAction.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'ActionScheduler_LogEntry' not found in wp-content/plugins/imageseo/thirds/action-scheduler/classes/ActionScheduler_NullLogEntry.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/imageseo/thirds/action-scheduler/classes/WP_CLI/ActionScheduler_WPCLI_Scheduler_command.php:6

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 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
  • Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7 in imageseo/assets to your readme.txt
You can look at the official readme.txt

imageseo/imageseo.php Passed 13 tests

The main file in "Optimize Images ALT Text (alt tag) & names for SEO using AI" v. 2.0.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
122 characters long description:
Optimize your images for search engines. Search engine optimization and web marketing strategy often neglect their images.

Code Analysis Passed 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
Good job! No executable or dangerous file extensions detected33,349 lines of code in 299 files:
LanguageFilesBlank linesComment linesLines of code
PHP2223,3576,89522,229
JSON401208,656
CSS23992211,444
PO File2260316635
Markdown4870168
JavaScript773124
SVG210077
XML13016

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity8.48
▷ Minimum class complexity1.00
▷ Maximum class complexity81.00
Average method complexity2.52
▷ Minimum method complexity1.00
▷ Maximum method complexity27.00
Code structure
Namespaces39
Interfaces6
Traits1
Classes195
▷ Abstract classes2814.36%
▷ Concrete classes16785.64%
▷ Final classes00.00%
Methods1,040
▷ Static methods1009.62%
▷ Public methods83480.19%
▷ Protected methods18117.40%
▷ Private methods252.40%
Functions60
▷ Named functions4066.67%
▷ Anonymous functions2033.33%
Constants102
▷ Global constants2423.53%
▷ Class constants7876.47%
▷ Public constants78100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 1.25MB with 0.43MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
dist/images/wizard/social-media.png177.52KB191.09KB0.00%
dist/images/wizard/after-imageseo.png264.09KB66.94KB▼ 74.65%
dist/images/wizard/social-media-config.png87.51KB91.44KB0.00%
dist/images/favicon.png0.69KB0.37KB▼ 46.03%
dist/images/oval.png1.30KB0.63KB▼ 51.39%