Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/allaccessible/allaccessible.php+219
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.82ms] Passed 4 tests
This is a short check of server-side resources used by Accessibility by AllAccessible
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 37.78 ▼2.10 |
Dashboard /wp-admin | 3.39 ▲0.08 | 44.09 ▼4.80 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 41.60 ▼3.64 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 83.18 ▼4.73 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.99 ▲4.84 |
Server storage [IO: ▲1.46MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 53 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
aacb_options |
Browser metrics Passed 4 tests
Accessibility by AllAccessible: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲156 | 13.76 ▼0.86 | 7.07 ▲5.34 | 41.09 ▼2.18 |
Dashboard /wp-admin | 2,268 ▲86 | 5.90 ▲1.01 | 107.09 ▲1.19 | 38.50 ▼2.18 |
Posts /wp-admin/edit.php | 2,153 ▲64 | 2.07 ▲0.06 | 36.57 ▲1.06 | 36.56 ▼2.75 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 23.28 ▲5.80 | 613.74 ▼33.17 | 57.06 ▲0.03 |
Media Library /wp-admin/upload.php | 1,455 ▲64 | 4.22 ▲0.02 | 101.17 ▲3.84 | 43.91 ▲4.04 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% 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 0% 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 items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/allaccessible/allaccessible.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function allaccessible\\is_admin() in wp-content/plugins/allaccessible/inc/AllAccessibleDeactivationForm.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/allaccessible/inc/AllAccessibleSettings.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Screenshot #2 (The widget is customizable in the WP Admin area.) image not found
allaccessible/allaccessible.php 85% from 13 tests
"Accessibility by AllAccessible" version 1.3.3'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:
- Requires PHP: Periods and digits should be used for the required version number (ex. "7.0" instead of "7")
- Description: Please keep the plugin description shorter than 140 characters (currently 271 characters long)
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
Success! There were no dangerous files found in this plugin5,550 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 14 | 1,382 | 1,782 | 3,430 |
CSS | 6 | 110 | 51 | 1,194 |
PHP | 4 | 86 | 105 | 692 |
JavaScript | 5 | 54 | 27 | 232 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 1 | |
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 | 19 | |
▷ Named functions | 16 | 84.21% |
▷ Anonymous functions | 3 | 15.79% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.32MB with 0.23MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/faviconBug.png | 103.69KB | 33.76KB | ▼ 67.44% |
assets/logo.png | 225.23KB | 52.41KB | ▼ 76.73% |