Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼291.90ms] Passed 4 tests
A check of server-side resources used by Advanced Admin Search
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 56.98 ▲7.27 |
Dashboard /wp-admin | 3.44 ▲0.03 | 32.80 ▲0.32 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 35.98 ▼0.44 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 92.50 ▼1,168.48 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 24.08 ▲1.00 |
Advanced Admin Search /wp-admin/tools.php?page=advanced-admin-search | 3.28 | 22.28 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Advanced Admin Search: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,950 ▲196 | 16.39 ▲0.44 | 6.96 ▲1.04 | 3.39 ▲0.38 |
Dashboard /wp-admin | 2,990 ▲106 | 6.62 ▲0.05 | 132.67 ▼6.58 | 178.65 ▲16.91 |
Posts /wp-admin/edit.php | 2,769 ▲78 | 3.36 ▼0.08 | 61.72 ▼0.57 | 145.21 ▲1.17 |
Add New Post /wp-admin/post-new.php | 1,739 ▲78 | 22.90 ▲5.55 | 386.36 ▼33.88 | 203.06 ▲50.07 |
Media Library /wp-admin/upload.php | 1,774 ▲76 | 5.94 ▲0.20 | 126.00 ▼23.67 | 227.48 ▲40.63 |
Advanced Admin Search /wp-admin/tools.php?page=advanced-admin-search | 1,247 | 2.85 | 53.98 | 167.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 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:3
- > PHP Fatal error
Uncaught Error: Call to undefined function Kuroit\\AdvancedAdminSearch\\add_action() in wp-content/plugins/advanced-admin-search/searchresults.php:9
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration Passed 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
3 plugin tags: custom post type search, advance search, admin search
advanced-admin-search/advanced-admin-search.php Passed 13 tests
The entry point to "Advanced Admin Search" version 1.1.2 is a PHP file that has certain tags in its header comment area
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
Everything looks great! No dangerous files found in this plugin1,732 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 61 | 38 | 748 |
CSS | 1 | 0 | 8 | 658 |
JavaScript | 3 | 271 | 2 | 242 |
Markdown | 1 | 24 | 0 | 76 |
make | 1 | 4 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
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
No PNG files were detected