90% improving-search-form-accessibility

Code Review | Improving Search Form Accessibility

WordPress plugin Improving Search Form Accessibility scored 90% from 54 tests.

About plugin

  • Plugin page: improving-search-...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2
  • WordPress version: 6.3.1
  • First release: Mar 15, 2021
  • Latest release: May 25, 2023
  • Number of updates: 8
  • Update frequency: every 100.1 days
  • Top authors: webmandesign (100%)

Code review

54 tests

User reviews

1 review

Install metrics

700+ active / 3,099 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.42ms] Passed 4 tests

Analyzing server-side resources used by Improving Search Form Accessibility
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.35 ▼7.85
Dashboard /wp-admin3.31 ▲0.0147.67 ▼1.48
Posts /wp-admin/edit.php3.36 ▲0.0146.52 ▼2.09
Add New Post /wp-admin/post-new.php5.89 ▲0.0184.08 ▼6.95
Media Library /wp-admin/upload.php3.24 ▲0.0135.54 ▼4.80

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

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

Browser metrics Passed 4 tests

Improving Search Form Accessibility: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.21 ▼1.211.71 ▼0.1445.33 ▼0.99
Dashboard /wp-admin2,209 ▲214.89 ▼0.0399.23 ▼5.1138.32 ▼8.32
Posts /wp-admin/edit.php2,089 ▲211.97 ▼0.0736.23 ▲0.8032.69 ▼2.19
Add New Post /wp-admin/post-new.php1,534 ▲123.12 ▼0.19657.59 ▼46.7975.56 ▲18.06
Media Library /wp-admin/upload.php1,382 ▼34.17 ▼0.0495.90 ▼7.0143.31 ▼0.93

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means 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
Looking good! No server-side errors or output on direct access of PHP files

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 Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: search, form, accessibility

improving-search-form-accessibility/improving-search-form-accessibility.php Passed 13 tests

The entry point to "Improving Search Form Accessibility" version 1.0.1 is a PHP file that has certain tags in its header comment area
102 characters long description:
Improves search form accessibility by associating search field label explicitly instead of implicitly.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin54 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PO File1226532
PHP1102717
Markdown1505

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.33
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

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin