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.03MB] [CPU: ▼14.65ms] Passed 4 tests
A check of server-side resources used by Sa11y, the accessibility quality assurance assistant | Accessibility Checker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 46.02 ▲4.01 |
Dashboard /wp-admin | 3.35 ▲0.00 | 50.47 ▼18.07 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.68 ▼7.58 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.32 ▼29.84 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.61 ▼3.12 |
Sa11y /wp-admin/options-general.php?page=sa11y | 3.29 | 37.43 |
Server storage [IO: ▲0.98MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Sa11y, the accessibility quality assurance assistant | Accessibility Checker: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,140 ▲379 | 13.34 ▼1.28 | 19.05 ▲17.47 | 46.84 ▲0.34 |
Dashboard /wp-admin | 2,199 ▲19 | 5.62 ▼0.03 | 87.63 ▼5.94 | 39.77 ▼2.58 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▼0.05 | 36.78 ▼3.93 | 36.51 ▲0.83 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 18.36 ▼4.69 | 587.57 ▼83.89 | 66.16 ▲8.35 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.22 ▼0.01 | 102.29 ▼4.94 | 42.38 ▼2.21 |
Sa11y /wp-admin/options-general.php?page=sa11y | 1,387 | 2.02 | 24.84 | 47.99 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
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
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/sa11y/partials/intro.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/sa11y/partials/sidebar.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: wcag, accessibility checker, audit, accessibility, accessibility automated testing
sa11y/sa11y-wp.php 85% from 13 tests
This is the main PHP file of "Sa11y, the accessibility quality assurance assistant | Accessibility Checker" version 1.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("sa11y.php" instead of "sa11y-wp.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 178 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin7,188 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 27 | 209 | 447 | 4,927 |
PHP | 9 | 251 | 346 | 2,073 |
CSS | 2 | 28 | 6 | 130 |
Markdown | 1 | 20 | 0 | 58 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 79 | |
▷ Named functions | 79 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 15 | 88.24% |
▷ Class constants | 2 | 11.76% |
▷ Public constants | 2 | 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
PNG images were not found in this plugin