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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.10ms] Passed 4 tests
Server-side resources used by Admin Search
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.13 ▼4.54 |
Dashboard /wp-admin | 3.35 ▲0.01 | 52.84 ▼11.81 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 52.16 ▼2.54 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 88.90 ▼17.52 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 39.83 ▲3.42 |
Admin Search /wp-admin/options-general.php?page=admin-search | 3.24 | 35.99 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Admin Search: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.44 ▲0.04 | 1.83 ▲0.12 | 44.66 ▼0.51 |
Dashboard /wp-admin | 2,219 ▲39 | 5.77 ▲0.17 | 87.82 ▼0.38 | 43.57 ▼0.98 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.53 ▲0.54 | 51.63 ▲16.20 | 36.70 ▼1.98 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 22.82 ▲5.24 | 624.09 ▼43.92 | 33.24 ▼25.55 |
Media Library /wp-admin/upload.php | 1,424 ▲27 | 4.26 ▲0.02 | 103.24 ▼5.07 | 76.52 ▲29.43 |
Admin Search /wp-admin/options-general.php?page=admin-search | 1,026 | 1.97 | 36.54 | 34.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 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 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
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-search/settings.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/admin-search/admin-results.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-search/ui.php:165
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/admin-search/ajax.php:226
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: admin, advanced, search
admin-search/admin-search.php 92% from 13 tests
The entry point to "Admin Search" version 1.3.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 208 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected2,796 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 544 | 251 | 1,480 |
CSS | 1 | 166 | 0 | 714 |
JavaScript | 1 | 210 | 102 | 447 |
Markdown | 1 | 44 | 0 | 155 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 38 | |
▷ Named functions | 33 | 86.84% |
▷ Anonymous functions | 5 | 13.16% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin