84% auto-image-title-alt

Code Review | Auto Image Title & Alt

WordPress plugin Auto Image Title & Alt scored84%from 54 tests.

About plugin

  • Plugin page: auto-image-title-alt
  • Plugin version: 1.1.0
  • PHP compatiblity: 5.6.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-6.2.2
  • WordPress version: 6.3.1
  • First release: Jun 22, 2021
  • Latest release: Jun 6, 2023
  • Number of updates: 7
  • Update frequency: every 102.0 days
  • Top authors: dieguraa (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /786 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
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by Auto Image Title & Alt
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0143.31 ▼1.99
Dashboard /wp-admin3.31 ▼0.0351.54 ▼9.81
Posts /wp-admin/edit.php3.36 ▲0.0148.67 ▼1.56
Add New Post /wp-admin/post-new.php5.89 ▲0.0186.66 ▼16.77
Media Library /wp-admin/upload.php3.23 ▲0.0038.24 ▲2.91

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

Auto Image Title & Alt: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲5314.27 ▼0.442.07 ▲0.3044.34 ▲0.53
Dashboard /wp-admin2,195 ▲155.63 ▼0.0187.18 ▼11.0039.11 ▼2.45
Posts /wp-admin/edit.php2,100 ▼31.97 ▲0.0134.18 ▼2.9933.14 ▼3.28
Add New Post /wp-admin/post-new.php1,526 ▼923.10 ▲5.09688.29 ▲26.2256.22 ▼12.71
Media Library /wp-admin/upload.php1,403 ▼04.28 ▲0.05108.08 ▲2.7647.79 ▲4.99

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded

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
Even though no errors were found, this is by no means an exhaustive test

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× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auto-image-title-alt/auto-image-title-alt.php:14

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

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: image opimization, images, performance, accessibility, seo...

auto-image-title-alt/auto-image-title-alt.php 92% from 13 tests

"Auto Image Title & Alt" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 238 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
No dangerous file extensions were detected16 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP191716

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.14
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%
Functions1
▷ Named functions1100.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
PNG images were not found in this plugin