Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.22MB] [CPU: ▼6.00ms] Passed 4 tests
A check of server-side resources used by The Accessibility Toolbar by Online ADA
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.28 | 44.75 ▲2.22 |
Dashboard /wp-admin | 3.56 ▲0.22 | 52.98 ▼13.03 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 49.03 ▼1.44 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 89.43 ▼11.75 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 41.13 ▲7.64 |
Element Controls /wp-admin/admin.php?page=accessibility-toolbar-element-controls | 3.39 | 41.01 |
Community /wp-admin/admin.php?page=accessibility-toolbar-community | 3.39 | 33.78 |
Pro Features /wp-admin/admin.php?page=accessibility-toolbar-pro | 3.39 | 33.41 |
Settings /wp-admin/admin.php?page=accessibility-toolbar | 3.39 | 37.24 |
Server storage [IO: ▲22.95MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 112 new files
Database: no new tables, 13 new options
New WordPress options |
---|
ll_at_hide_on_scroll |
theysaidso_admin_options |
widget_recent-posts |
ll_at_license_status |
ll_at_check_image_alt |
ll_at_accessibility_menu |
widget_theysaidso_widget |
db_upgraded |
ll_at_check_phone_email_links |
ll_at_enable |
... |
Browser metrics Passed 4 tests
Checking browser requirements for The Accessibility Toolbar by Online ADA
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,457 ▲696 | 17.15 ▲2.80 | 80.62 ▲78.66 | 33.93 ▼10.33 |
Dashboard /wp-admin | 2,261 ▲87 | 5.94 ▲0.17 | 100.31 ▲6.28 | 43.71 ▲3.84 |
Posts /wp-admin/edit.php | 2,169 ▲69 | 2.45 ▲0.42 | 38.84 ▼3.72 | 36.46 ▼5.64 |
Add New Post /wp-admin/post-new.php | 1,583 ▲54 | 23.46 ▼0.02 | 618.81 ▲10.89 | 48.26 ▲0.05 |
Media Library /wp-admin/upload.php | 1,469 ▲69 | 4.59 ▲0.40 | 101.91 ▲4.21 | 45.89 ▲1.51 |
Element Controls /wp-admin/admin.php?page=accessibility-toolbar-element-controls | 965 | 2.91 | 50.93 | 47.06 |
Community /wp-admin/admin.php?page=accessibility-toolbar-community | 899 | 2.73 | 44.39 | 35.42 |
Pro Features /wp-admin/admin.php?page=accessibility-toolbar-pro | 1,018 | 2.94 | 40.77 | 59.25 |
Settings /wp-admin/admin.php?page=accessibility-toolbar | 924 | 2.74 | 36.90 | 41.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 13 options in the database
- ll_at_check_image_alt
- ll_at_hide_on_touch
- can_compress_scripts
- ll_at_accessibility_menu
- theysaidso_admin_options
- ll_at_enable
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- ll_at_hide_on_scroll
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 39× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Provider\odeProviderInterface' not found in wp-content/plugins/accessibility-toolbar/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php:23
- > PHP Warning
require_once(lib/byte_safe_strings.php): failed to open stream: No such file or directory in wp-content/plugins/accessibility-toolbar/vendor/paragonie/random_compat/psalm-autoload.php on line 3
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\Converter\\TimeConverterInterface' not found in wp-content/plugins/accessibility-toolbar/vendor/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php:24
- > PHP Fatal error
Trait 'ADAToolbar\\Traits\\Singleton' not found in wp-content/plugins/accessibility-toolbar/src/Admin/Page.php on line 7
- > 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
Trait 'ADAToolbar\\Traits\\Singleton' not found in wp-content/plugins/accessibility-toolbar/src/Admin/Admin.php on line 9
- > 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/RandomLibAdapter.php:26
- > PHP Fatal error
Uncaught Error: Interface 'Ramsey\\Uuid\\UuidFactoryInterface' not found in wp-content/plugins/accessibility-toolbar/vendor/ramsey/uuid/src/UuidFactory.php:25
- > 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
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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== accessibility-toolbar ===
)
accessibility-toolbar/index.php 92% from 13 tests
The main PHP file in "The Accessibility Toolbar by Online ADA" ver. 1.4.6 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("accessibility-toolbar.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin10,027 lines of code in 92 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 3,571 | 6,118 | 5,950 |
PHP | 73 | 722 | 2,876 | 2,944 |
Markdown | 5 | 408 | 0 | 690 |
JSON | 4 | 0 | 0 | 421 |
XML | 1 | 0 | 0 | 19 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 4.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 10 | |
Traits | 1 | |
Classes | 48 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 48 | 100.00% |
▷ Final classes | 1 | 2.08% |
Methods | 278 | |
▷ Static methods | 44 | 15.83% |
▷ Public methods | 254 | 91.37% |
▷ Protected methods | 20 | 7.19% |
▷ Private methods | 4 | 1.44% |
Functions | 37 | |
▷ Named functions | 29 | 78.38% |
▷ Anonymous functions | 8 | 21.62% |
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
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 |
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% |