Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.84ms] Passed 4 tests
Analyzing server-side resources used by Image Alt Editor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.94 ▼3.64 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.62 ▲1.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.74 ▼5.41 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.34 ▼1.62 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.80 ▼0.70 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Image Alt Editor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.27 ▼1.13 | 2.04 ▲0.07 | 43.52 ▼7.34 |
Dashboard /wp-admin | 2,206 ▲21 | 5.86 ▼0.04 | 104.34 ▼2.10 | 41.62 ▼7.48 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▲0.00 | 35.45 ▼5.72 | 34.35 ▼0.18 |
Add New Post /wp-admin/post-new.php | 1,534 ▲21 | 22.99 ▲5.51 | 634.41 ▲28.58 | 62.28 ▲17.82 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.20 ▼0.02 | 98.98 ▲4.17 | 43.38 ▲1.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/image-alt-editor/activate-deactivate.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/image-alt-editor/image-alt-editor.php:21
- > PHP Fatal error
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 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: image alt attribute, image alt, seo, alt, quick edit alt...
image-alt-editor/image-alt-editor.php 85% from 13 tests
The primary PHP file in "Image Alt Editor" version 1.02 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: The domain path must begin with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin475 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 124 | 192 | 280 |
JavaScript | 1 | 51 | 1 | 121 |
CSS | 1 | 21 | 0 | 74 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 4 | 15.38% |
▷ Public methods | 23 | 88.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 11.54% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin