Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼295.72ms] Passed 4 tests
An overview of server-side resources used by The Accessibility Toolbar by Online ADA
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.10 | 63.19 ▲11.63 |
Dashboard /wp-admin | 3.45 ▲0.04 | 44.97 ▲1.58 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 41.25 ▲0.20 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.05 | 98.53 ▼1,189.13 |
Media Library /wp-admin/upload.php | 3.32 ▲0.03 | 30.57 ▲4.49 |
Element Controls /wp-admin/admin.php?page=accessibility-toolbar-element-controls | 3.29 | 25.74 |
Pro Features /wp-admin/admin.php?page=accessibility-toolbar-pro | 3.29 | 25.56 |
Community /wp-admin/admin.php?page=accessibility-toolbar-community | 3.29 | 25.50 |
Settings /wp-admin/admin.php?page=accessibility-toolbar | 3.29 | 27.23 |
Server storage [IO: ▲11.49MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 100 new files
Database: no new tables, 7 new options
New WordPress options |
---|
ll_at_check_phone_email_links |
ll_at_hide_on_touch |
ll_at_check_image_alt |
ll_at_enable |
ll_at_hide_on_scroll |
ll_at_accessibility_menu |
ll_at_license_status |
Browser metrics Passed 4 tests
A check of browser resources used by The Accessibility Toolbar by Online ADA
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,412 ▲668 | 20.58 ▲4.68 | 96.74 ▲90.34 | 6.55 ▲4.23 |
Dashboard /wp-admin | 3,003 ▲119 | 7.11 ▲0.53 | 137.37 ▲1.17 | 173.09 ▲7.65 |
Posts /wp-admin/edit.php | 2,770 ▲76 | 3.62 ▲0.19 | 64.11 ▲2.61 | 157.24 ▲18.35 |
Add New Post /wp-admin/post-new.php | 1,768 ▲16 | 21.43 ▼0.49 | 420.09 ▼44.14 | 175.32 ▲20.15 |
Media Library /wp-admin/upload.php | 1,780 ▲82 | 6.12 ▲0.39 | 128.20 ▼10.41 | 204.30 ▲21.62 |
Element Controls /wp-admin/admin.php?page=accessibility-toolbar-element-controls | 1,212 | 3.38 | 72.13 | 138.88 |
Pro Features /wp-admin/admin.php?page=accessibility-toolbar-pro | 1,255 | 4.12 | 79.03 | 212.56 |
Community /wp-admin/admin.php?page=accessibility-toolbar-community | 1,100 | 3.58 | 64.64 | 152.50 |
Settings /wp-admin/admin.php?page=accessibility-toolbar | 1,149 | 4.09 | 67.59 | 166.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- ll_at_license_status
- ll_at_hide_on_touch
- ll_at_check_image_alt
- ll_at_check_phone_email_links
- ll_at_accessibility_menu
- ll_at_enable
- ll_at_hide_on_scroll
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 39× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Ramsey\\Uuid\\Codec\\StringCodec' not found in wp-content/plugins/accessibility-toolbar/vendor/ramsey/uuid/src/Codec/OrderedTimeCodec.php:23
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Converter\umberConverterInterface' not found in wp-content/plugins/accessibility-toolbar/vendor/ramsey/uuid/src/Converter/Number/BigNumberConverter.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Codec\\CodecInterface' not found in wp-content/plugins/accessibility-toolbar/vendor/ramsey/uuid/src/Codec/StringCodec.php:28
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Builder\\UuidBuilderInterface' not found in wp-content/plugins/accessibility-toolbar/vendor/ramsey/uuid/src/Builder/DefaultUuidBuilder.php:25
- > PHP Fatal error
Trait 'ADAToolbar\\Traits\\Singleton' not found in wp-content/plugins/accessibility-toolbar/src/Plugin.php on line 9
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Generator\\RandomGeneratorInterface' not found in wp-content/plugins/accessibility-toolbar/vendor/ramsey/uuid/src/Generator/OpenSslGenerator.php:31
- > PHP Fatal error
Trait 'ADAToolbar\\Traits\\Singleton' not found in wp-content/plugins/accessibility-toolbar/src/Admin/Notices.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'Ramsey\\Uuid\\Uuid' not found in wp-content/plugins/accessibility-toolbar/vendor/ramsey/uuid/src/DegradedUuid.php:27
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Converter\\TimeConverterInterface' not found in wp-content/plugins/accessibility-toolbar/vendor/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Provider\\TimeProviderInterface' not found in wp-content/plugins/accessibility-toolbar/vendor/ramsey/uuid/src/Provider/Time/FixedTimeProvider.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== accessibility-toolbar ===
)
accessibility-toolbar/index.php 92% from 13 tests
"The Accessibility Toolbar by Online ADA" version 1.4.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("accessibility-toolbar.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected9,677 lines of code in 88 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 3,571 | 6,118 | 5,950 |
PHP | 69 | 656 | 2,639 | 2,645 |
Markdown | 5 | 396 | 0 | 660 |
JSON | 4 | 0 | 0 | 400 |
XML | 1 | 0 | 0 | 19 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 3.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 10 | |
Traits | 1 | |
Classes | 47 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 47 | 100.00% |
▷ Final classes | 1 | 2.13% |
Methods | 262 | |
▷ Static methods | 29 | 11.07% |
▷ Public methods | 236 | 90.08% |
▷ Protected methods | 20 | 7.63% |
▷ Private methods | 6 | 2.29% |
Functions | 26 | |
▷ Named functions | 18 | 69.23% |
▷ Anonymous functions | 8 | 30.77% |
Constants | 22 | |
▷ Global constants | 6 | 27.27% |
▷ Class constants | 16 | 72.73% |
▷ Public constants | 16 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
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 |
src/assets/images/onlineadalogo.png | 8.19KB | 3.69KB | ▼ 54.88% |
src/assets/images/onlineada.png | 14.99KB | 5.40KB | ▼ 63.99% |
src/assets/images/logo-vert-dark.png | 6.82KB | 2.90KB | ▼ 57.47% |