Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲2.68MB] [CPU: ▲38.74ms] Passed 4 tests
This is a short check of server-side resources used by jwp-a11y
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.21 ▲1.75 | 58.65 ▲16.88 |
Dashboard /wp-admin | 6.53 ▲3.22 | 99.45 ▲51.76 |
Posts /wp-admin/edit.php | 6.53 ▲3.17 | 107.64 ▲55.52 |
Add New Post /wp-admin/post-new.php | 8.47 ▲2.59 | 129.61 ▲30.80 |
Media Library /wp-admin/upload.php | 6.53 ▲3.30 | 95.32 ▲61.03 |
jwp-a11y Setting /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_setting | 6.54 | 78.46 |
Show Images /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_image | 6.54 | 92.77 |
Checklist /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_checklist | 6.54 | 79.78 |
Document /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_doc | 6.54 | 75.76 |
A11y Center /wp-admin/admin.php?page=jwp-a11y | 6.54 | 78.63 |
Issue /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_issue | 6.54 | 85.18 |
Show Live /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_live | 6.54 | 75.97 |
Show Result /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_result | 6.54 | 77.72 |
ICL /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_icl | 6.54 | 78.34 |
Download Issue /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_download | 6.54 | 73.45 |
Server storage [IO: ▲3.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 424 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_jwp_a11yc_data |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for jwp-a11y
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲181 | 13.63 ▼0.91 | 1.70 ▼0.10 | 39.05 ▼8.25 |
Dashboard /wp-admin | 2,308 ▲123 | 5.30 ▲0.38 | 116.67 ▲10.61 | 40.25 ▼4.86 |
Posts /wp-admin/edit.php | 2,176 ▲80 | 2.11 ▲0.11 | 42.56 ▼1.26 | 34.56 ▲1.57 |
Add New Post /wp-admin/post-new.php | 1,615 ▲96 | 23.06 ▲0.21 | 692.69 ▲85.52 | 55.92 ▲8.07 |
Media Library /wp-admin/upload.php | 1,472 ▲81 | 4.77 ▲0.50 | 95.92 ▼4.04 | 42.01 ▼2.55 |
jwp-a11y Setting /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_setting | 1,627 | 2.14 | 36.94 | 49.45 |
Show Images /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_image | 873 | 2.00 | 32.61 | 24.64 |
Checklist /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_checklist | 11 | 0.44 | 0.06 | 5.03 |
Document /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_doc | 2,533 | 2.04 | 31.47 | 30.47 |
A11y Center /wp-admin/admin.php?page=jwp-a11y | 1,013 | 1.98 | 29.70 | 29.54 |
Issue /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_issue | 906 | 2.00 | 29.10 | 27.30 |
Show Live /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_live | 11 | 0.44 | 0.07 | 6.33 |
Show Result /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_result | 864 | 2.00 | 27.46 | 21.98 |
ICL /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_icl | 899 | 2.10 | 34.08 | 31.70 |
Download Issue /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_download | 11 | 0.44 | 0.00 | 0.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_jwp_a11yc_data
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_download
- > Warning in wp-content/plugins/jwp-a11y/a11yc/classes/File.php+87
file_put_contents(/tmpa11yc.csv): failed to open stream: Permission denied
- > GET request to /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_download
- > Warning in wp-content/plugins/jwp-a11y/a11yc/classes/File.php+91
filesize(): stat failed for /tmpa11yc.csv
- > GET request to /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_download
- > Warning in wp-content/plugins/jwp-a11y/a11yc/classes/File.php+96
readfile(/tmpa11yc.csv): failed to open stream: No such file or directory
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 33× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/jwp-a11y/a11yc/views/doc/index.php
- > /wp-content/plugins/jwp-a11y/a11yc/views/setting/inc_ua.php
- > /wp-content/plugins/jwp-a11y/a11yc/views/inc_progress_header.php
- > /wp-content/plugins/jwp-a11y/a11yc/views/setting/site.php
- > /wp-content/plugins/jwp-a11y/a11yc/views/doc/search.php
- > /wp-content/plugins/jwp-a11y/a11yc/views/footer.php
- > /wp-content/plugins/jwp-a11y/a11yc/views/post/docs/search.php
- > /wp-content/plugins/jwp-a11y/a11yc/views/data/import.php
- > /wp-content/plugins/jwp-a11y/a11yc/views/download/issue.php
- > /wp-content/plugins/jwp-a11y/a11yc/views/result/page.php
- 561× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/jwp-a11y/a11yc/libs/guzzle/vendor/psr/http-message/src/ServerRequestInterface.php:43
- > PHP Warning
Use of undefined constant A11YC_LANG_UA_IPHONE - assumed 'A11YC_LANG_UA_IPHONE' (this will throw an Error in a future version of PHP) in wp-content/plugins/jwp-a11y/a11yc/views/post/index.php on line 12
- > PHP Warning
Use of undefined constant A11YC_LANG_SETTING_TITLE_BASE - assumed 'A11YC_LANG_SETTING_TITLE_BASE' (this will throw an Error in a future version of PHP) in wp-content/plugins/jwp-a11y/a11yc/views/setting/inc_submenu.php on line 3
- > PHP Notice
Undefined variable: title in wp-content/plugins/jwp-a11y/a11yc/views/post/header.php on line 26
- > PHP Notice
Undefined variable: user_agent in wp-content/plugins/jwp-a11y/a11yc/views/post/index.php on line 22
- > PHP Fatal error
Uncaught Error: Class 'A11yc\\Validate' not found in wp-content/plugins/jwp-a11y/a11yc/classes/Validate/Check/DuplicatedIdsAndAccesskey.php:16
- > PHP Warning
Use of undefined constant A11YC_LANG_CRITERION - assumed 'A11YC_LANG_CRITERION' (this will throw an Error in a future version of PHP) in wp-content/plugins/jwp-a11y/a11yc/views/inc_criterions.php on line 4
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/jwp-a11y/a11yc/libs/guzzle/vendor/guzzlehttp/psr7/src/FnStream.php:12
- > PHP Fatal error
Uncaught Error: Class 'A11yc\\Controller\\Checklist' not found in wp-content/plugins/jwp-a11y/a11yc/classes/Controller/Bulk.php:15
- > PHP Notice
Undefined variable: issues in wp-content/plugins/jwp-a11y/a11yc/views/issue/inc_submenu.php on line 5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_icl
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:11743 Uncaught Error: Syntax error, unrecognized expression: a[href^=#]
- > GET request to /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_checklist
- > Network (severe)
wp-admin/admin.php?page=jwp-a11y/jwp_a11y_checklist - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=jwp-a11y/jwp_a11y_live
- > Network (severe)
wp-admin/admin.php?page=jwp-a11y/jwp_a11y_live - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: accessibility, wcag, checker, jis x 8341-3
jwp-a11y/jwp-a11y.php 85% from 13 tests
"jwp-a11y" version 4.1.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 187 characters long)
- Text Domain: The text domain should only use lowercase characters and dashes
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 plugin54,323 lines of code in 397 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 355 | 4,636 | 12,450 | 35,680 |
YAML | 18 | 495 | 105 | 9,443 |
CSS | 6 | 75 | 163 | 4,425 |
Markdown | 11 | 948 | 0 | 3,189 |
SVG | 1 | 0 | 0 | 685 |
JavaScript | 3 | 69 | 141 | 589 |
JSON | 1 | 0 | 0 | 241 |
PO File | 1 | 33 | 6 | 62 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 12.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 257.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 24 | |
Interfaces | 17 | |
Traits | 27 | |
Classes | 211 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 211 | 100.00% |
▷ Final classes | 7 | 3.32% |
Methods | 1,397 | |
▷ Static methods | 723 | 51.75% |
▷ Public methods | 1,060 | 75.88% |
▷ Protected methods | 9 | 0.64% |
▷ Private methods | 328 | 23.48% |
Functions | 160 | |
▷ Named functions | 62 | 38.75% |
▷ Anonymous functions | 98 | 61.25% |
Constants | 992 | |
▷ Global constants | 943 | 95.06% |
▷ Class constants | 49 | 4.94% |
▷ Public constants | 49 | 100.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.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 5.75KB | 1.37KB | ▼ 76.13% |
assets/img/logo_author.png | 13.96KB | 7.27KB | ▼ 47.93% |