84% admin-menus-accessibility

Code Review | Admin Menus Accessibility - Quickly Search Admin Menus

WordPress plugin Admin Menus Accessibility - Quickly Search Admin Menus scored84%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: 6.3.1
  • 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

100+ active /3,235 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.08MB] [CPU: ▼10.61ms] 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.51 ▲0.0438.68 ▲0.48
Dashboard /wp-admin3.39 ▲0.0443.81 ▼14.26
Posts /wp-admin/edit.php3.49 ▲0.1346.22 ▼2.17
Add New Post /wp-admin/post-new.php6.09 ▲0.2076.61 ▼23.27
Media Library /wp-admin/upload.php3.33 ▲0.1032.73 ▼2.75

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Admin Menus Accessibility - Quickly Search Admin Menus
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,328 ▲58214.09 ▼0.222.00 ▲0.4040.41 ▼1.98
Dashboard /wp-admin2,709 ▲5245.82 ▲0.93129.40 ▲25.5341.02 ▼2.04
Posts /wp-admin/edit.php2,595 ▲5062.46 ▲0.4558.40 ▲24.3339.71 ▲3.82
Add New Post /wp-admin/post-new.php1,602 ▲8823.63 ▲5.76662.23 ▲4.6254.49 ▲2.95
Media Library /wp-admin/upload.php1,894 ▲5035.05 ▲0.84114.66 ▲16.3444.46 ▲0.00

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 take a closer look at the following
  • 1× PHP files output text 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

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
  • Screenshots: Screenshot #1 (Menu Filter bar screencast preview) image missing
Please take inspiration from this readme.txt

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

"Admin Menus Accessibility - Quickly Search Admin Menus" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
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 | Executable files are considered dangerous and should not be included with any WordPress plugin
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

A brief analysis 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.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

Often times overlooked, PNG files can occupy unnecessary space in 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/icon-256x256.png17.18KB6.60KB▼ 61.61%
asset/banner-772x250.png67.93KB23.57KB▼ 65.30%