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.10MB] [CPU: ▼4.58ms] Passed 4 tests
This is a short check of server-side resources used by wA11y - The Web Accessibility Toolbox
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.04 | 45.05 ▲1.46 |
Dashboard /wp-admin | 3.47 ▲0.12 | 48.96 ▼2.91 |
Posts /wp-admin/edit.php | 3.58 ▲0.19 | 47.03 ▼3.23 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.12 | 87.03 ▼11.57 |
Media Library /wp-admin/upload.php | 3.39 ▲0.12 | 37.39 ▼0.59 |
wA11y /wp-admin/options-general.php?page=wa11y | 3.37 | 40.05 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
wA11y - The Web Accessibility Toolbox: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.23 ▼0.32 | 1.90 ▲0.38 | 44.28 ▲4.18 |
Dashboard /wp-admin | 2,199 ▲22 | 5.52 ▼0.15 | 83.11 ▼6.62 | 41.40 ▼2.97 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▼0.06 | 35.98 ▼0.70 | 36.62 ▼1.05 |
Add New Post /wp-admin/post-new.php | 1,540 ▲9 | 18.21 ▼4.98 | 622.15 ▼7.84 | 76.18 ▲24.50 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▲0.07 | 97.17 ▼4.76 | 40.66 ▼8.03 |
wA11y /wp-admin/options-general.php?page=wa11y | 1,364 | 2.01 | 24.66 | 73.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wa11y/includes/admin.php:67
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: tota11y, accessibility, tools, wa11y, evaluation...
wa11y/wa11y.php Passed 13 tests
The main PHP file in "wA11y - The Web Accessibility Toolbox" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
87 characters long description:
A toolbox of resources to help you improve the accessibility of your WordPress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected590 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 228 | 385 | 460 |
SVG | 2 | 0 | 2 | 50 |
Markdown | 1 | 31 | 0 | 47 |
JSON | 1 | 0 | 0 | 28 |
JavaScript | 1 | 0 | 49 | 3 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 2 | 7.69% |
▷ Public methods | 20 | 76.92% |
▷ Protected methods | 2 | 7.69% |
▷ Private methods | 4 | 15.38% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/webaim-head.png | 5.71KB | 2.68KB | ▼ 53.08% |
assets/images/wave-logo.png | 11.56KB | 4.76KB | ▼ 58.79% |
assets/images/tota11y-circle-glasses.png | 10.15KB | 4.31KB | ▼ 57.51% |