Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼4.18ms] Passed 4 tests
This is a short check of server-side resources used by Advanced Admin Search
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 40.36 ▼1.14 |
Dashboard /wp-admin | 3.45 ▲0.15 | 45.41 ▼8.34 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 45.77 ▲2.12 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 81.82 ▼9.36 |
Media Library /wp-admin/upload.php | 3.37 ▲0.15 | 42.42 ▲7.36 |
Advanced Admin Search /wp-admin/tools.php?page=advanced-admin-search | 3.34 | 29.54 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Admin Search
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,955 ▲184 | 13.37 ▼1.01 | 2.42 ▲0.31 | 42.96 ▼4.61 |
Dashboard /wp-admin | 2,285 ▲97 | 5.89 ▲0.92 | 98.96 ▼18.30 | 70.12 ▲17.59 |
Posts /wp-admin/edit.php | 2,165 ▲76 | 2.05 ▲0.03 | 34.48 ▼0.58 | 34.23 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,755 ▲218 | 24.67 ▲1.57 | 607.47 ▼80.17 | 34.56 ▼25.01 |
Media Library /wp-admin/upload.php | 1,467 ▲76 | 4.35 ▲0.07 | 98.17 ▼1.78 | 80.71 ▲36.61 |
Advanced Admin Search /wp-admin/tools.php?page=advanced-admin-search | 1,028 | 1.77 | 24.60 | 53.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-admin-search/menu.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function Kuroit\\AdvancedAdminSearch\\add_action() in wp-content/plugins/advanced-admin-search/searchresults.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: custom post type search, admin search, advance search
advanced-admin-search/advanced-admin-search.php Passed 13 tests
The main PHP script in "Advanced Admin Search" version 1.1.6 is automatically included on every request by WordPress
79 characters long description:
Easily search everything in WordPress admin panel from one single search field.
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
No dangerous file extensions were detected1,739 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 103 | 60 | 745 |
CSS | 1 | 0 | 8 | 659 |
JavaScript | 3 | 271 | 2 | 242 |
Markdown | 1 | 24 | 0 | 85 |
make | 1 | 4 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 15.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 4.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There are no PNG files in this plugin