Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼1.29ms] Passed 4 tests
A check of server-side resources used by One Click Accessibility
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 45.74 ▲5.72 |
Dashboard /wp-admin | 3.45 ▲0.15 | 45.02 ▼5.94 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 45.89 ▲0.54 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 90.50 ▼1.07 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 37.82 ▲1.31 |
Toolbar /wp-admin/admin.php?page=accessibility-toolbar | 3.34 | 46.70 |
Settings /wp-admin/admin.php?page=accessibility-settings | 3.34 | 28.18 |
Customize /wp-admin/customize.php?autofocus[section]=accessibility | 6.17 | 166.24 |
Server storage [IO: ▲0.85MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
pojo_a11y_customizer_options |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for One Click Accessibility
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,213 ▲478 | 13.58 ▼1.17 | 7.69 ▲5.90 | 47.64 ▼2.93 |
Dashboard /wp-admin | 2,300 ▲112 | 4.89 ▲0.04 | 102.63 ▼6.89 | 44.09 ▲0.71 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.03 ▼0.01 | 40.70 ▼1.35 | 34.43 ▼1.86 |
Add New Post /wp-admin/post-new.php | 1,565 ▲51 | 18.24 ▲0.75 | 635.27 ▼63.66 | 49.41 ▼11.65 |
Media Library /wp-admin/upload.php | 1,422 ▲37 | 4.21 ▲0.00 | 93.20 ▼9.78 | 40.85 ▼4.77 |
Toolbar /wp-admin/admin.php?page=accessibility-toolbar | 1,250 | 2.11 | 33.64 | 35.87 |
Settings /wp-admin/admin.php?page=accessibility-settings | 1,065 | 1.68 | 30.37 | 34.92 |
Customize /wp-admin/customize.php?autofocus[section]=accessibility | 9,116 | 21.65 | 615.84 | 139.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- pojo_a11y_customizer_options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/customize.php?autofocus[section]=accessibility
- > Security (warning) in unknown
/?customize_changeset_uuid=59a48de5-9bac-4254-b49f-8027518693fa&customize_theme=twentytwentyone&customize_messenger_channel=preview-0 - An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: tools, toolbar, accessible, a11y, accessibility...
pojo-accessibility/pojo-accessibility.php 92% from 13 tests
The entry point to "One Click Accessibility" version 2.1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/languages/")
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
Everything looks great! No dangerous files found in this plugin2,990 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 0 | 50 | 1,465 |
PHP | 6 | 189 | 55 | 1,277 |
JavaScript | 3 | 65 | 6 | 229 |
XML | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 15.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 3 | 50.00% |
Methods | 51 | |
▷ Static methods | 3 | 5.88% |
▷ Public methods | 42 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 17.65% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 6 | 42.86% |
▷ Class constants | 8 | 57.14% |
▷ Public constants | 8 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.66MB with 0.39MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 262.78KB | 116.96KB | ▼ 55.49% |
screenshot-2.png | 201.12KB | 81.42KB | ▼ 59.51% |
screenshot-1.png | 215.75KB | 83.56KB | ▼ 61.27% |