10% allaccessible

Code Review | Accessibility by AllAccessible

WordPress plugin Accessibility by AllAccessible scored10%from 54 tests.

About plugin

  • Plugin page: allaccessible
  • Plugin version: 1.3.3
  • PHP compatiblity: 7+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3.1
  • WordPress version: 6.3.1
  • First release: Jan 27, 2022
  • Latest release: Sep 27, 2023
  • Number of updates: 63
  • Update frequency: every 9.7 days
  • Top authors: allaccessible (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

300+ active /4,131 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0937.78 ▼2.10
Dashboard /wp-admin3.39 ▲0.0844.09 ▼4.80
Posts /wp-admin/edit.php3.44 ▲0.0841.60 ▼3.64
Add New Post /wp-admin/post-new.php5.99 ▲0.1083.18 ▼4.73
Media Library /wp-admin/upload.php3.31 ▲0.0837.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,891 ▲15613.76 ▼0.867.07 ▲5.3441.09 ▼2.18
Dashboard /wp-admin2,268 ▲865.90 ▲1.01107.09 ▲1.1938.50 ▼2.18
Posts /wp-admin/edit.php2,153 ▲642.07 ▲0.0636.57 ▲1.0636.56 ▼2.75
Add New Post /wp-admin/post-new.php1,545 ▲3123.28 ▲5.80613.74 ▼33.1757.06 ▲0.03
Media Library /wp-admin/upload.php1,455 ▲644.22 ▲0.02101.17 ▲3.8443.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

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
You can look at the official readme.txt

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:
LanguageFilesBlank linesComment linesLines of code
PO File141,3821,7823,430
CSS6110511,194
PHP486105692
JavaScript55427232
SVG2002

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 code0.37
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions19
▷ Named functions1684.21%
▷ Anonymous functions315.79%
Constants13
▷ Global constants13100.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
assets/faviconBug.png103.69KB33.76KB▼ 67.44%
assets/logo.png225.23KB52.41KB▼ 76.73%