Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼295.45ms] Passed 4 tests
A check of server-side resources used by AccessibleWP Images
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 52.18 ▲1.96 |
Dashboard /wp-admin | 3.43 ▲0.02 | 34.10 ▲0.48 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 37.13 ▲0.73 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 96.14 ▼1,183.38 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 26.30 ▲0.37 |
Images /wp-admin/admin.php?page=acwp-images | 3.28 | 22.54 |
AccessibleWP /wp-admin/admin.php?page=accessible-wp | 3.27 | 21.28 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for AccessibleWP Images
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,801 ▲47 | 16.01 ▲0.31 | 5.80 ▼0.47 | 2.21 ▼0.97 |
Dashboard /wp-admin | 2,931 ▲70 | 6.20 ▲0.04 | 115.76 ▼17.25 | 166.44 ▲3.58 |
Posts /wp-admin/edit.php | 2,727 ▲36 | 3.11 ▼0.13 | 61.88 ▼2.71 | 144.06 ▲0.78 |
Add New Post /wp-admin/post-new.php | 1,780 ▲119 | 20.95 ▼1.81 | 413.81 ▼21.55 | 164.50 ▲7.27 |
Media Library /wp-admin/upload.php | 1,731 ▲33 | 5.52 ▲0.06 | 124.76 ▼16.61 | 208.30 ▲22.89 |
Images /wp-admin/admin.php?page=acwp-images | 1,149 | 2.44 | 54.68 | 151.93 |
AccessibleWP /wp-admin/admin.php?page=accessible-wp | 1,101 | 2.43 | 53.20 | 128.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=accessible-wp
- > Network (severe)
wp-content/plugins/accessiblewp-images/assets/admin.css?ver=5.9.2 - 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=accessible-wp
- > 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 uses markdown syntax to describe your plugin to the world
6 plugin tags: wcag, images, a11y, web-accessibility, accessibility...
accessiblewp-images/accessiblewp-images.php 92% from 13 tests
"AccessibleWP Images" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable 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
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
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 were not PNG files found in your plugin