Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.22ms] Passed 4 tests
A check of server-side resources used by Alt Text Tools
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.28 ▲6.33 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.11 ▼4.26 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.24 ▲3.65 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 85.06 ▼18.46 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.09 ▼1.82 |
Alt Text Tools /wp-admin/tools.php?page=nerdpress-alt-text-tools | 3.23 | 28.56 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Alt Text Tools
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.23 ▼1.06 | 1.66 ▼0.12 | 43.39 ▲2.61 |
Dashboard /wp-admin | 2,210 ▲22 | 5.90 ▼0.07 | 112.40 ▲12.98 | 42.34 ▼2.08 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.02 | 38.81 ▼3.60 | 34.64 ▼1.29 |
Add New Post /wp-admin/post-new.php | 1,531 ▲12 | 23.09 ▼0.04 | 650.21 ▲10.70 | 56.28 ▲1.80 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.26 ▲0.05 | 93.09 ▼5.60 | 43.42 ▼1.27 |
Alt Text Tools /wp-admin/tools.php?page=nerdpress-alt-text-tools | 760 | 2.04 | 23.66 | 23.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% 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× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/alt-text-tools/alt-text-tools.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: alternative text, alt tags, accessibility, image alt, fix images...
alt-text-tools/alt-text-tools.php Passed 13 tests
"Alt Text Tools" version 0.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
113 characters long description:
Exports a CSV file of all images that are actually used in your content, along with their corresponding alt tags.
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
There were no executable files found in this plugin174 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 57 | 139 |
JavaScript | 1 | 3 | 0 | 35 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 8 | |
▷ Static methods | 4 | 50.00% |
▷ Public methods | 6 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 25.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There were not PNG files found in your plugin