94% admin-menus-accessibility

Code Review | Admin Menus Accessibility - Quickly Search Admin Menus

WordPress plugin Admin Menus Accessibility - Quickly Search Admin Menus scored 94% from 54 tests.

About plugin

  • Plugin page: admin-menus-acces...
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.9.5
  • WordPress version: 5.9.2
  • First release: Sep 1, 2016
  • Latest release: Apr 24, 2018
  • Number of updates: 9
  • Update frequency: every 66.9 days
  • Top authors: singhleo (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

200+ active / 2,524 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.10MB] [CPU: ▼300.83ms] Passed 4 tests

Server-side resources used by Admin Menus Accessibility - Quickly Search Admin Menus
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.62 ▲0.1055.46 ▼1.90
Dashboard /wp-admin3.51 ▲0.1031.30 ▼1.44
Posts /wp-admin/edit.php3.72 ▲0.0836.05 ▼4.04
Add New Post /wp-admin/post-new.php7.30 ▲0.3381.82 ▼1,191.64
Media Library /wp-admin/upload.php3.40 ▲0.1122.44 ▼5.73

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Admin Menus Accessibility - Quickly Search Admin Menus
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,255 ▲50116.49 ▲0.835.55 ▼0.605.51 ▲2.92
Dashboard /wp-admin3,352 ▲5015.95 ▼0.21145.26 ▲2.07165.89 ▼17.87
Posts /wp-admin/edit.php3,165 ▲5083.74 ▲0.5078.80 ▲15.88145.91 ▲12.67
Add New Post /wp-admin/post-new.php1,992 ▲24017.73 ▼3.37424.42 ▼34.06156.80 ▼15.92
Media Library /wp-admin/upload.php2,172 ▲4746.19 ▲0.64172.23 ▼0.93193.50 ▼6.42

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
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/admin-menus-accessibility/admin-menus-accessibility.php

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 97% 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:
  • Screenshots: Screenshot #1 (Menu Filter bar screencast preview) image missing
The official readme.txt might help

admin-menus-accessibility/admin-menus-accessibility.php Passed 13 tests

Analyzing the main PHP file in "Admin Menus Accessibility - Quickly Search Admin Menus" version 1.0.4
83 characters long description:
A wordpress plugin which adds extra accessibility feature into backend admin menus.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected744 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript29723375
CSS21825220
PHP24593123
PO File15526
HTML1010

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.11
Average class complexity4.00
▷ Minimum class complexity3.00
▷ Maximum class complexity5.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods12
▷ Static methods18.33%
▷ Public methods12100.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
2 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
asset/banner-772x250.png67.93KB23.57KB▼ 65.30%
asset/icon-256x256.png17.18KB6.60KB▼ 61.61%