89% auto-image-attributes-from-filename-with-bulk-updater

Code Review | Auto Image Attributes From Filename With Bulk Updater (Add Alt Text, Image Title For Image SEO)

WordPress plugin Auto Image Attributes From Filename With Bulk Updater (Add Alt Text, Image Title For Image SEO) scored89%from 54 tests.

About plugin

  • Plugin page: auto-image-attrib...
  • Plugin version: 4.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Jul 4, 2017
  • Latest release: Nov 9, 2023
  • Number of updates: 51
  • Update frequency: every 45.5 days
  • Top authors: arunbasillal (100%)

Code review

54 tests

User reviews

78 reviews

Install metrics

80,000+ active /510,491 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.04MB] [CPU: ▼2.06ms] Passed 4 tests

This is a short check of server-side resources used by Auto Image Attributes From Filename With Bulk Updater (Add Alt Text, Image Title For Image SEO)
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0436.22 ▼6.20
Dashboard /wp-admin3.35 ▲0.0546.65 ▼1.12
Posts /wp-admin/edit.php3.40 ▲0.0548.35 ▼0.93
Add New Post /wp-admin/post-new.php5.93 ▲0.0495.94 ▲3.02
Media Library /wp-admin/upload.php3.27 ▲0.0532.90 ▼0.00
Image Attributes /wp-admin/options-general.php?page=image-attributes-from-filename3.2534.34

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Auto Image Attributes From Filename With Bulk Updater (Add Alt Text, Image Title For Image SEO)
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,810 ▲4814.20 ▼0.141.83 ▲0.0938.10 ▼7.40
Dashboard /wp-admin2,199 ▲195.56 ▼0.1987.21 ▼12.2540.33 ▼4.14
Posts /wp-admin/edit.php2,104 ▲41.96 ▼0.0540.60 ▲2.7835.05 ▲0.72
Add New Post /wp-admin/post-new.php1,529 ▲123.17 ▼0.18663.26 ▼22.1554.03 ▼1.35
Media Library /wp-admin/upload.php1,404 ▲44.18 ▼0.0197.22 ▼7.6942.43 ▼3.65
Image Attributes /wp-admin/options-general.php?page=image-attributes-from-filename2,4982.2440.47102.43

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments

Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes: The official readme.txt might help

auto-image-attributes-from-filename-with-bulk-updater/iaff_image-attributes-from-filename.php 85% from 13 tests

The main file in "Auto Image Attributes From Filename With Bulk Updater (Add Alt Text, Image Title For Image SEO)" v. 4.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("auto-image-attributes-from-filename-with-bulk-updater.php" instead of "iaff_image-attributes-from-filename.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 207 characters long)

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
There were no executable files found in this plugin1,964 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP95517271,624
CSS1420173
JavaScript119984
Markdown130083

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.38
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%
Functions57
▷ Named functions57100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/img/iaff-icon.png3.29KB3.31KB0.00%
admin/img/black-traingles.png2.05KB2.05KB0.00%