78% accessiblewp-skiplinks

Code Review | AccessibleWP - Accessibility Skip-Links

WordPress plugin AccessibleWP - Accessibility Skip-Links scored78%from 54 tests.

About plugin

  • Plugin page: accessiblewp-skip...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.0.2
  • WordPress version: 6.3.1
  • First release: Sep 15, 2022
  • Latest release: Sep 15, 2022
  • Number of updates: 7
  • Update frequency: N/A
  • Top authors: digisphere (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /453 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1144.68 ▲5.16
Dashboard /wp-admin3.44 ▲0.1454.37 ▼0.34
Posts /wp-admin/edit.php3.56 ▲0.2060.32 ▲7.23
Add New Post /wp-admin/post-new.php3.27 ▼2.6238.58 ▼56.24
Media Library /wp-admin/upload.php3.34 ▲0.1137.18 ▼0.12
AccessibleWP /wp-admin/admin.php?page=accessible-wp3.3436.97
Skiplinks /wp-admin/admin.php?page=accessiblewp-skiplinks3.3442.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

Browser metrics Passed 4 tests

This is an overview of browser requirements for AccessibleWP - Accessibility Skip-Links
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,978 ▲21714.80 ▲0.451.53 ▼0.2044.68 ▲0.77
Dashboard /wp-admin2,380 ▲2066.37 ▲0.85149.19 ▲53.0698.34 ▲58.16
Posts /wp-admin/edit.php2,311 ▲2083.51 ▲1.5649.12 ▲7.8158.90 ▲20.99
Add New Post /wp-admin/post-new.php6,530 ▲5,00422.77 ▼0.18899.57 ▲211.3644.65 ▼15.10
Media Library /wp-admin/upload.php1,451 ▲484.26 ▲0.0389.84 ▼31.2879.28 ▲32.19
AccessibleWP /wp-admin/admin.php?page=accessible-wp1,0513.1944.5473.15
Skiplinks /wp-admin/admin.php?page=accessiblewp-skiplinks1,5603.3860.5167.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

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.


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)
Please take inspiration from this readme.txt

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:
LanguageFilesBlank linesComment linesLines of code
PO File16366201

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 code0.24
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.11
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods9100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions11100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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