89% ilogic-accessibility

Code Review | Accessibility Press

WordPress plugin Accessibility Press scored89%from 54 tests.

About plugin

  • Plugin page: ilogic-accessibility
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.9.3
  • WordPress version: 6.3.1
  • First release: Dec 12, 2017
  • Latest release: May 20, 2022
  • Number of updates: 15
  • Update frequency: every 108.1 days
  • Top authors: ikaes (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

200+ active /3,203 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.05MB] [CPU: ▼4.04ms] Passed 4 tests

An overview of server-side resources used by Accessibility Press
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.44 ▼0.0226.99 ▼14.61
Dashboard /wp-admin3.37 ▲0.0752.97 ▼2.25
Posts /wp-admin/edit.php3.43 ▲0.0750.21 ▲0.12
Add New Post /wp-admin/post-new.php5.97 ▲0.0999.34 ▲7.56
Media Library /wp-admin/upload.php3.30 ▲0.0738.30 ▲0.57

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Accessibility Press
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,150 ▲40413.90 ▼0.4513.71 ▲12.0861.37 ▲17.74
Dashboard /wp-admin2,241 ▲535.08 ▼0.77104.59 ▼14.4646.93 ▲9.70
Posts /wp-admin/edit.php2,129 ▲372.32 ▲0.3338.96 ▲2.9637.97 ▲6.16
Add New Post /wp-admin/post-new.php1,552 ▲1418.30 ▼5.28646.86 ▲30.6735.94 ▼14.51
Media Library /wp-admin/upload.php1,423 ▲324.47 ▲0.2698.47 ▼5.5244.30 ▲0.39

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: wcag, accessibility

ilogic-accessibility/ila-accessibility.php 77% from 13 tests

This is the main PHP file of "Accessibility Press" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Domain Path: The domain path points to a folder that does not exist ("/languages")
  • Main file name: The principal plugin file should be the same as the plugin slug ("ilogic-accessibility.php" instead of "ila-accessibility.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin4,002 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
SVG1002,671
CSS24122595
PHP35082372
JavaScript334116364

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.43
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%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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 are no PNG files in this plugin