99% accessibility-widget-by-helperbird

Code Review | Accessibility Widget by Helperbird

WordPress plugin Accessibility Widget by Helperbird scored 99% from 54 tests.

About plugin

  • Plugin page: accessibility-wid...
  • Plugin version: 1.0.3
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.5.1
  • WordPress version: 5.9.2
  • First release: Oct 18, 2020
  • Latest release: Oct 19, 2020
  • Number of updates: 5
  • Update frequency: every 0.6 days
  • Top authors: helperbird (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,572 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▼0.02MB] [CPU: ▼300.10ms] Passed 4 tests

An overview of server-side resources used by Accessibility Widget by Helperbird
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0154.90 ▼2.40
Dashboard /wp-admin3.41 ▲0.0032.59 ▼1.52
Posts /wp-admin/edit.php3.64 ▲0.0036.76 ▼0.17
Add New Post /wp-admin/post-new.php6.88 ▼0.0994.00 ▼1,195.72
Media Library /wp-admin/upload.php3.29 ▲0.0022.72 ▼0.76

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Accessibility Widget by Helperbird
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /5,502 ▲1,74823.87 ▲8.24168.79 ▲161.854.07 ▲1.37
Dashboard /wp-admin2,892 ▲386.14 ▼0.01114.87 ▼21.43155.28 ▼2.57
Posts /wp-admin/edit.php2,673 ▼123.25 ▲0.0164.28 ▼3.13151.71 ▲9.58
Add New Post /wp-admin/post-new.php1,668 ▲518.16 ▼1.20409.06 ▼3.50153.90 ▼6.75
Media Library /wp-admin/upload.php1,698 ▼05.51 ▼0.02136.07 ▼7.82183.50 ▼2.09

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Congratulations! This plugin passed the SRP test

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)
Everything seems fine on the user side

Optimizations

Plugin configuration 93% 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
3 plugin tags: accessibility, comments, accessible

accessibility-widget-by-helperbird/helperbird.php 85% from 13 tests

The principal PHP file in "Accessibility Widget by Helperbird" v. 1.0.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("accessibility-widget-by-helperbird.php" instead of "helperbird.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 163 characters long)

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
There were no executable files found in this plugin14 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP16219
JavaScript11145

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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
Namespaces0
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin