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.02MB] [CPU: ▼8.13ms] Passed 4 tests
This is a short check of server-side resources used by WP Accessibility Helper (WAH)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 50.67 ▲12.94 |
Dashboard /wp-admin | 3.33 ▼0.01 | 43.28 ▼18.36 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.50 ▼7.20 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 90.78 ▼7.82 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.00 ▲0.88 |
Accessibility /wp-admin/admin.php?page=wp_accessibility | 3.52 | 45.18 |
Widgets Order /wp-admin/admin.php?page=wp_accessibility_sidebar_controls | 3.28 | 46.02 |
Attachments Control /wp-admin/admin.php?page=wp_accessibility_image | 3.30 | 31.52 |
Landmark & CSS /wp-admin/admin.php?page=wp_accessibility_landmark | 3.31 | 35.37 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Accessibility Helper (WAH)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,077 ▲316 | 13.94 ▼0.41 | 16.59 ▲14.98 | 50.32 ▲5.80 |
Dashboard /wp-admin | 2,230 ▲50 | 5.61 ▼0.07 | 85.03 ▼6.57 | 46.27 ▲5.52 |
Posts /wp-admin/edit.php | 2,135 ▲38 | 2.02 ▲0.01 | 33.95 ▼4.02 | 37.00 ▲1.70 |
Add New Post /wp-admin/post-new.php | 1,554 ▲26 | 23.04 ▼0.03 | 630.78 ▼64.08 | 54.27 ▲1.16 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.24 ▲0.15 | 99.39 ▼17.52 | 39.62 ▼8.58 |
Accessibility /wp-admin/admin.php?page=wp_accessibility | 2,476 | 3.64 | 53.92 | 107.13 |
Widgets Order /wp-admin/admin.php?page=wp_accessibility_sidebar_controls | 1,416 | 3.28 | 46.49 | 106.89 |
Attachments Control /wp-admin/admin.php?page=wp_accessibility_image | 1,317 | 3.05 | 38.62 | 89.37 |
Landmark & CSS /wp-admin/admin.php?page=wp_accessibility_landmark | 1,471 | 3.02 | 40.69 | 78.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-accessibility-helper/wp-accessibility-helper.php
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-accessibility-helper/admin/pages/wah-landmark.php:65
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-accessibility-helper/admin/ajax-functions.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-accessibility-helper/inc/wah-front-functions.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-accessibility-helper/admin/pages/wah-attachments.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-accessibility-helper/inc/js-vars.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function wah_analyzer_isset() in wp-content/plugins/wp-accessibility-helper/wp-accessibility-helper-view.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-accessibility-helper/inc/custom-font.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wah_get_admin_widgets_list() in wp-content/plugins/wp-accessibility-helper/admin/pages/wah-sidebar-controls.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-accessibility-helper/inc/author-credits.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-accessibility-helper/inc/custom-logo-position.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
wp-accessibility-helper/wp-accessibility-helper.php Passed 13 tests
The primary PHP file in "WP Accessibility Helper (WAH)" version 0.6.2.5 is used by WordPress to initiate all plugin functionality
31 characters long description:
WP Accessibility Helper sidebar
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin5,352 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 174 | 314 | 2,178 |
Sass | 2 | 77 | 2 | 1,398 |
JavaScript | 6 | 167 | 74 | 771 |
CSS | 5 | 9 | 8 | 623 |
PO File | 1 | 157 | 166 | 374 |
SVG | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 52 | |
▷ Named functions | 52 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
11 PNG files occupy 0.24MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/pages/img/customlink.png | 11.92KB | 5.34KB | ▼ 55.22% |
assets/images/accessibility-48.png | 1.77KB | 1.54KB | ▼ 12.61% |
admin/pages/img/resetOrder.png | 1.46KB | 0.72KB | ▼ 50.50% |
admin/pages/img/sepia_monochrome.png | 26.43KB | 5.63KB | ▼ 78.68% |
assets/images/sprite.png | 1.86KB | 1.93KB | 0.00% |