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.00MB] [CPU: ▼9.72ms] Passed 4 tests
Analyzing server-side resources used by EasyAltText
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.01 | 41.67 ▼2.59 |
Dashboard /wp-admin | 3.58 ▼0.05 | 52.10 ▼17.78 |
Posts /wp-admin/edit.php | 3.69 ▲0.01 | 53.82 ▲2.19 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.01 | 91.04 ▼10.85 |
Media Library /wp-admin/upload.php | 3.50 ▲0.01 | 42.57 ▼7.67 |
EasyAltText /wp-admin/upload.php?page=easyalttext_admin_menu | 3.45 | 41.69 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for EasyAltText
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.38 ▼0.08 | 1.73 ▼0.44 | 44.85 ▼2.04 |
Dashboard /wp-admin | 2,210 ▲30 | 5.72 ▲0.01 | 86.29 ▼11.43 | 41.12 ▼4.31 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.07 ▲0.06 | 37.79 ▼1.87 | 35.31 ▲0.16 |
Add New Post /wp-admin/post-new.php | 1,537 ▼8 | 23.36 ▲0.32 | 673.40 ▲1.21 | 59.27 ▲4.39 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.26 ▲0.05 | 111.40 ▼31.17 | 45.75 ▼8.19 |
EasyAltText /wp-admin/upload.php?page=easyalttext_admin_menu | 808 | 1.87 | 26.93 | 28.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/upload.php?page=easyalttext_admin_menu
- > Notice in wp-content/plugins/easyalttext/easyalttext.php+54
Undefined index: update
- 2 occurences, only the last one shown
- > GET request to /wp-admin/upload.php?page=easyalttext_admin_menu
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP 50% from 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easyalttext/easyalttext.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 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
4 plugin tags: alt text, easy-alt-text, easyalttext, easy
easyalttext/easyalttext.php Passed 13 tests
The main PHP file in "EasyAltText" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
47 characters long description:
A plugin to easily edit image alt text in bulk.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected215 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 23 | 3 | 119 |
PHP | 1 | 11 | 8 | 76 |
JavaScript | 1 | 3 | 0 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected