Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.41MB] [CPU: ▼141.20ms] Passed 4 tests
This is a short check of server-side resources used by Admin Live Search
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.23 ▲0.51 | 31.01 ▲15.17 |
Dashboard /wp-admin | 3.51 ▲0.44 | 39.92 ▼1.18 |
Posts /wp-admin/edit.php | 3.56 ▲0.45 | 38.05 ▲4.18 |
Add New Post /wp-admin/post-new.php | 5.81 ▲0.37 | 75.56 ▼567.26 |
Media Library /wp-admin/upload.php | 3.39 ▲0.39 | 29.63 ▼0.53 |
Server storage [IO: ▲0.16MB] [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: 20 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Admin Live Search
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,705 ▲104 | 15.95 ▲0.27 | 9.34 ▲4.03 | 78.47 ▲2.22 |
Dashboard /wp-admin | 2,964 ▲68 | 6.16 ▲0.04 | 116.60 ▼15.42 | 171.96 ▲1.44 |
Posts /wp-admin/edit.php | 2,801 ▲61 | 3.15 ▼0.09 | 69.54 ▲7.84 | 135.07 ▼3.85 |
Add New Post /wp-admin/post-new.php | 3,495 ▼247 | 18.42 ▲0.02 | 404.38 ▼45.51 | 158.84 ▼8.33 |
Media Library /wp-admin/upload.php | 1,787 ▲35 | 5.56 ▲0.07 | 137.94 ▲0.66 | 182.64 ▼8.67 |
Admin Live Search /wp-admin/admin-live-search.php | 26 | 0.94 | 0.03 | 21.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Admin_Live_Search_List_Table' not found in wp-content/plugins/admin-live-search/admin/admin-live-search-post-table.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin-live-search.php
- > Network (severe)
wp-admin/admin-live-search.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: search title, live search, search, admin search, dashboard ajax search...
admin-live-search/admin-live-search.php 92% from 13 tests
The main PHP script in "Admin Live Search" version 3.2.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 184 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin2,405 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 581 | 1,346 | 2,123 |
JavaScript | 1 | 3 | 0 | 163 |
PO File | 1 | 34 | 37 | 118 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 51.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 246.00 |
Average method complexity | 4.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 106 | |
▷ Static methods | 4 | 3.77% |
▷ Public methods | 67 | 63.21% |
▷ Protected methods | 32 | 30.19% |
▷ Private methods | 7 | 6.60% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected