83% all-in-one-accessibility

Code Review | All in One Accessibility

WordPress plugin All in One Accessibility scored83%from 54 tests.

About plugin

  • Plugin page: all-in-one-access...
  • Plugin version: 1.5
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.4
  • WordPress version: 6.3.1
  • First release: Sep 17, 2022
  • Latest release: Nov 11, 2023
  • Number of updates: 55
  • Update frequency: every 7.7 days
  • Top authors: skynettechnologies (100%)

Code review

54 tests

User reviews

14 reviews

Install metrics

300+ active /2,679 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.09MB] [CPU: ▲753.86ms] 75% from 4 tests

This is a short check of server-side resources used by All in One Accessibility
It is recommended to improve the following
  • Extra CPU: Try to keep extra CPU usage under 200.00ms (currently 753.86ms on /wp-admin/upload.php)
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0839.97 ▲4.28
Dashboard /wp-admin3.45 ▲0.111,056.18 ▲1,001.48
Posts /wp-admin/edit.php3.50 ▲0.151,184.51 ▲1,138.43
Add New Post /wp-admin/post-new.php5.97 ▲0.081,133.77 ▲1,040.41
Media Library /wp-admin/upload.php3.31 ▲0.081,004.11 ▲969.28

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

All in One Accessibility: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,864 ▲11714.15 ▲0.022.55 ▲0.9137.74 ▲0.61
Dashboard /wp-admin2,245 ▲675.65 ▼0.0389.70 ▼11.3637.01 ▼5.76
Posts /wp-admin/edit.php2,147 ▲501.93 ▼0.0933.34 ▼4.0632.43 ▼5.19
Add New Post /wp-admin/post-new.php1,536 ▲1023.31 ▲0.24663.45 ▼26.4359.71 ▲2.72
Media Library /wp-admin/upload.php1,451 ▲514.15 ▼0.0995.43 ▼4.6539.87 ▼4.92

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
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/all-in-one-accessibility/all-in-one-accessibility.php:15

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 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
Attributes that need to be fixed:
  • Tags: Too many tags (25 tag instead of maximum 10); only the first 5 tags are used in your directory listing
Please take inspiration from this readme.txt

all-in-one-accessibility/all-in-one-accessibility.php 92% from 13 tests

The entry point to "All in One Accessibility" version 1.5 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Requires PHP: The required version number did not match the one declared in readme.txt ("5.6" instead of "7.0")

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
Success! There were no dangerous files found in this plugin2,200 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript38201711,564
PHP16829394
Sass140168
CSS21070
SVG4004

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.44
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%
Functions7
▷ Named functions685.71%
▷ Anonymous functions114.29%
Constants0
▷ Global constants00.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 were not PNG files found in your plugin