100% accessibe

Code Review | Web Accessibility By accessiBe

WordPress plugin Web Accessibility By accessiBe scored 100% from 54 tests.

About plugin

  • Plugin page: accessibe
  • Plugin version: 1.13
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.8
  • WordPress version: 5.9.2
  • First release: Nov 17, 2019
  • Latest release: Oct 28, 2021
  • Number of updates: 49
  • Update frequency: every 14.7 days
  • Top authors: accessibewp (63.27%)WebFactory (26.53%)odedta (14.29%)

Code review

54 tests

User reviews

26 reviews

Install metrics

8,000+ active / 27,811 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.09MB] [CPU: ▼298.61ms] Passed 4 tests

A check of server-side resources used by Web Accessibility By accessiBe
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.69 ▲0.1857.16 ▲2.36
Dashboard /wp-admin3.53 ▲0.1236.34 ▲1.76
Posts /wp-admin/edit.php3.76 ▲0.1139.08 ▲0.94
Add New Post /wp-admin/post-new.php7.00 ▲0.03100.65 ▼1,194.08
Media Library /wp-admin/upload.php3.41 ▲0.1026.51 ▼3.05
accessiBe /wp-admin/options-general.php?page=accessiBe3.3727.88

Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 1 new option
New WordPress options
accessibe_pointers

Browser metrics Passed 4 tests

Web Accessibility By accessiBe: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,878 ▲15616.89 ▲1.1113.10 ▲7.112.82 ▲0.28
Dashboard /wp-admin2,969 ▲1116.31 ▲0.04122.52 ▼12.46155.92 ▼14.36
Posts /wp-admin/edit.php2,768 ▲743.32 ▲0.0971.32 ▲4.18142.53 ▲0.61
Add New Post /wp-admin/post-new.php1,690 ▼2915.76 ▼6.03413.27 ▼5.45155.63 ▼5.25
Media Library /wp-admin/upload.php1,778 ▲805.67 ▲0.17147.65 ▲11.82200.77 ▲9.81
accessiBe /wp-admin/options-general.php?page=accessiBe2,0183.5176.73163.05

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: accessibility, accessible, ada, a11y, wordpress accessibility...

accessibe/accessiebe.php 92% from 13 tests

The principal PHP file in "Web Accessibility By accessiBe" v. 1.13 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("accessibe.php" instead of "accessiebe.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected840 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
PHP310298638
CSS1194103
SVG110071
JavaScript22828

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity69.00
▷ Minimum class complexity69.00
▷ Maximum class complexity69.00
Average method complexity3.72
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods25
▷ Static methods25100.00%
▷ Public methods2496.00%
▷ Protected methods00.00%
▷ Private methods14.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin