Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.99ms] Passed 4 tests
Analyzing server-side resources used by UF Health Require Image Alt Tags
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.66 ▼7.58 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.15 ▼2.52 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 56.76 ▲4.59 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 102.76 ▲3.72 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.18 ▲2.43 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for UF Health Require Image Alt Tags
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲11 | 13.21 ▼1.19 | 1.81 ▼0.21 | 41.66 ▼2.10 |
Dashboard /wp-admin | 2,209 ▲6 | 5.07 ▼0.70 | 99.07 ▼15.37 | 42.81 ▲0.38 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▼0.11 | 39.84 ▼4.05 | 35.98 ▲1.28 |
Add New Post /wp-admin/post-new.php | 1,522 ▼19 | 23.52 ▲0.17 | 678.17 ▼29.87 | 63.45 ▲9.29 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.22 ▼0.04 | 94.35 ▼8.48 | 39.85 ▼4.56 |
Uninstaller [IO: ✅] [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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function UFHealth\\require_image_alt_tags\\add_action() in wp-content/plugins/ufhealth-require-image-alt-tags/includes/require-alt-tags.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function UFHealth\\require_image_alt_tags\\Uninstall\\status_header() in wp-content/plugins/ufhealth-require-image-alt-tags/uninstall.php:69
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/ufhealth-require-image-alt-tags/ufhealth-require-image-alt-tags.php:16
- > 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 issues were 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
3 plugin tags: a11y, alt tag, accessibility
ufhealth-require-image-alt-tags/ufhealth-require-image-alt-tags.php Passed 13 tests
The entry point to "UF Health Require Image Alt Tags" version 1.2 is a PHP file that has certain tags in its header comment area
78 characters long description:
Forces users to add an ALT tag when adding images to WordPress posts and more.
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
There were no executable files found in this plugin238 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 47 | 31 | 121 |
PHP | 3 | 44 | 103 | 75 |
Sass | 1 | 5 | 0 | 26 |
CSS | 2 | 1 | 8 | 16 |
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.34 |
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 | 2 | |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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