Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/auto-image-alt/auto-image-alt.php+26
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.01MB] [CPU: ▼141.39ms] Passed 4 tests
An overview of server-side resources used by Auto Image Alt Attribute
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 36.13 ▲13.79 |
Dashboard /wp-admin | 3.07 ▲0.02 | 46.95 ▲4.32 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 45.82 ▲0.36 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 87.60 ▼571.94 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 33.78 ▲1.69 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 1 new option
New WordPress options |
---|
auto_image_alt |
Browser metrics Passed 4 tests
A check of browser resources used by Auto Image Alt Attribute
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,809 ▲213 | 16.73 ▲1.20 | 16.90 ▲6.60 | 46.47 ▼4.34 |
Dashboard /wp-admin | 2,987 ▲53 | 5.92 ▼0.07 | 136.04 ▼19.90 | 107.51 ▲0.47 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.72 ▲0.02 | 66.62 ▼1.67 | 88.23 ▲2.77 |
Add New Post /wp-admin/post-new.php | 1,696 ▲13 | 18.76 ▲0.05 | 400.69 ▼0.02 | 108.10 ▲2.96 |
Media Library /wp-admin/upload.php | 1,827 ▲17 | 5.04 ▲0.01 | 148.45 ▲0.52 | 118.06 ▼0.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 1 option in the database
- auto_image_alt
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 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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 to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
auto-image-alt/auto-image-alt.php Passed 13 tests
The main PHP script in "Auto Image Alt Attribute" version 1.2 is automatically included on every request by WordPress
96 characters long description:
Adds automatically alt attributes in image tag where alt attributes are missing or alt is empty.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected135 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 1 | 9 | 119 |
JavaScript | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected