Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.56MB] [CPU: ▼12.89ms] Passed 4 tests
Server-side resources used by AccessibleWP - Accessibility Skip-Links
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 44.68 ▲5.16 |
Dashboard /wp-admin | 3.44 ▲0.14 | 54.37 ▼0.34 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 60.32 ▲7.23 |
Add New Post /wp-admin/post-new.php | 3.27 ▼2.62 | 38.58 ▼56.24 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 37.18 ▼0.12 |
AccessibleWP /wp-admin/admin.php?page=accessible-wp | 3.34 | 36.97 |
Skiplinks /wp-admin/admin.php?page=accessiblewp-skiplinks | 3.34 | 42.66 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AccessibleWP - Accessibility Skip-Links
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,978 ▲217 | 14.80 ▲0.45 | 1.53 ▼0.20 | 44.68 ▲0.77 |
Dashboard /wp-admin | 2,380 ▲206 | 6.37 ▲0.85 | 149.19 ▲53.06 | 98.34 ▲58.16 |
Posts /wp-admin/edit.php | 2,311 ▲208 | 3.51 ▲1.56 | 49.12 ▲7.81 | 58.90 ▲20.99 |
Add New Post /wp-admin/post-new.php | 6,530 ▲5,004 | 22.77 ▼0.18 | 899.57 ▲211.36 | 44.65 ▼15.10 |
Media Library /wp-admin/upload.php | 1,451 ▲48 | 4.26 ▲0.03 | 89.84 ▼31.28 | 79.28 ▲32.19 |
AccessibleWP /wp-admin/admin.php?page=accessible-wp | 1,051 | 3.19 | 44.54 | 73.15 |
Skiplinks /wp-admin/admin.php?page=accessiblewp-skiplinks | 1,560 | 3.38 | 60.51 | 67.90 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/accessiblewp-skiplinks/inc/assets.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/accessiblewp-skiplinks/inc/meta.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/accessiblewp-skiplinks/inc/panel.php:271
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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=accessiblewp-skiplinks
- > Network (severe)
wp-content/plugins/accessiblewp-skiplinks/inc/accessible-wp-toolbar/assets/svg/accessible.svg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=accessiblewp-skiplinks
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=accessiblewp-skiplinks 293 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=accessiblewp-skiplinks
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=accessiblewp-skiplinks 300 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (15 tag instead of maximum 10)
accessiblewp-skiplinks/accessiblewp-skiplinks.php 92% from 13 tests
"AccessibleWP - Accessibility Skip-Links" version 1.0.0'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:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin882 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 68 | 33 | 470 |
PO File | 1 | 63 | 66 | 201 |
CSS | 2 | 6 | 0 | 140 |
SVG | 1 | 0 | 0 | 54 |
JavaScript | 1 | 7 | 1 | 17 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin