90% wp-dashboard-quick-search

Code Review | WP Dashboard Quick Search

WordPress plugin WP Dashboard Quick Search scored90%from 54 tests.

About plugin

  • Plugin page: wp-dashboard-quic...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-4.9
  • WordPress version: 6.3.1
  • First release: Aug 8, 2017
  • Latest release: Aug 8, 2017
  • Number of updates: 5
  • Update frequency: every 8.0 days
  • Top authors: javad_sameei (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /751 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

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

An overview of server-side resources used by WP Dashboard Quick Search
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0151.80 ▲7.99
Dashboard /wp-admin3.32 ▲0.0145.93 ▼1.14
Posts /wp-admin/edit.php3.37 ▲0.0148.37 ▼0.05
Add New Post /wp-admin/post-new.php5.92 ▲0.0383.28 ▼8.67
Media Library /wp-admin/upload.php3.24 ▲0.0134.06 ▲1.59

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for WP Dashboard Quick Search
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,218 ▲43213.77 ▼0.602.73 ▲0.9143.08 ▼0.68
Dashboard /wp-admin2,624 ▲4475.30 ▼0.30105.73 ▲9.6843.91 ▲3.21
Posts /wp-admin/edit.php2,532 ▲4322.44 ▲0.4664.29 ▲29.1237.02 ▲2.55
Add New Post /wp-admin/post-new.php1,795 ▲26723.36 ▲0.43734.77 ▲134.3364.50 ▲17.19
Media Library /wp-admin/upload.php1,822 ▲4194.92 ▲0.74131.87 ▲38.1650.43 ▲9.10

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
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: wordpress admin, wordpress menu, admin items, admin search, search

wp-dashboard-quick-search/wp-dashboard-quick-search.php Passed 13 tests

"WP Dashboard Quick Search" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
60 characters long description:
This plugin allows you find WordPress admin menu items easy.

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 plugin297 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript34530137
CSS3102123
PHP1131737

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.18
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%
Functions2
▷ Named functions2100.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
There were not PNG files found in your plugin