Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.23ms] 75% from 4 tests
Analyzing server-side resources used by Web Accessibility - Free Accessibility Scan and Audit for ADA & WCAG 2.1 Compliance by XCompliant
Please have a look at the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 661.12ms on /wp-admin/tools.php?page=XCompliant)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 42.88 ▲2.72 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.87 ▲0.94 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.49 ▼5.06 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.34 ▼20.35 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.83 ▼0.45 |
XCompliant /wp-admin/tools.php?page=XCompliant | 3.22 | 661.12 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
XCompliant_Token |
Browser metrics Passed 4 tests
A check of browser resources used by Web Accessibility - Free Accessibility Scan and Audit for ADA & WCAG 2.1 Compliance by XCompliant
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.62 ▲0.26 | 1.96 ▲0.18 | 36.18 ▼4.61 |
Dashboard /wp-admin | 2,196 ▲16 | 5.54 ▼0.03 | 82.55 ▼14.47 | 40.13 ▼2.69 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.04 | 35.71 ▲0.40 | 37.56 ▲4.68 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.89 ▼0.41 | 633.57 ▼35.29 | 50.54 ▼7.78 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.20 ▼0.07 | 99.28 ▼7.44 | 41.99 ▼0.80 |
XCompliant /wp-admin/tools.php?page=XCompliant | 1,609 | 11.94 | 196.54 | 59.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- XCompliant_Token
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xcompliant/xcompliant.php:28
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
xcompliant/xcompliant.php 85% from 13 tests
The main PHP file in "Web Accessibility - Free Accessibility Scan and Audit for ADA & WCAG 2.1 Compliance by XCompliant" ver. 1.0.7 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Plugin Name: Keep the plugin name shorter than 70 characters (currently 97 characters long)
- Requires at least: Required version must match the one declared in readme.txt ("4.5" instead of "5.2")
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 plugin315 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 154 |
PHP | 3 | 43 | 35 | 135 |
CSS | 1 | 0 | 0 | 22 |
HTML | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin