Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.92ms] Passed 4 tests
Analyzing server-side resources used by AccessibleWP - ALT Detector
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.12 ▼2.08 |
Dashboard /wp-admin | 3.35 ▲0.04 | 52.45 ▼2.06 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 52.45 ▲1.16 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 94.89 ▼12.71 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 41.41 ▲4.94 |
AccessibleWP /wp-admin/admin.php?page=accessible-wp | 3.24 | 32.03 |
Images /wp-admin/admin.php?page=acwp-images | 3.24 | 36.67 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AccessibleWP - ALT Detector
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲86 | 13.29 ▼1.15 | 1.83 ▼0.11 | 46.18 ▼0.80 |
Dashboard /wp-admin | 2,253 ▲47 | 5.84 ▲0.91 | 104.35 ▲0.68 | 96.02 ▲57.00 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.01 ▲0.04 | 35.79 ▼1.66 | 36.97 ▼1.35 |
Add New Post /wp-admin/post-new.php | 1,559 ▲14 | 22.97 ▼0.19 | 635.24 ▼10.35 | 66.33 ▲6.16 |
Media Library /wp-admin/upload.php | 1,431 ▲28 | 4.22 ▼0.02 | 104.34 ▼1.94 | 88.38 ▲42.85 |
AccessibleWP /wp-admin/admin.php?page=accessible-wp | 857 | 2.01 | 27.57 | 31.15 |
Images /wp-admin/admin.php?page=acwp-images | 907 | 2.07 | 29.16 | 37.39 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=acwp-images
- > Network (severe)
wp-content/plugins/accessiblewp-images/assets/admin.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=acwp-images
- > Network (severe)
wp-content/plugins/accessiblewp-images/assets/svg/accessible.svg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: accessibility, wcag, a11y, alt, accessible...
accessiblewp-images/accessiblewp-images.php 92% from 13 tests
The primary PHP file in "AccessibleWP - ALT Detector" version 1.0.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin199 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 51 | 170 |
JavaScript | 2 | 7 | 1 | 29 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin