Benchmarks
Plugin footprint 65% 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.25MB] [CPU: ▼1.66ms] Passed 4 tests
A check of server-side resources used by Smart Admin Search
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 37.43 ▼4.08 |
Dashboard /wp-admin | 3.56 ▲0.26 | 49.49 ▲0.07 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 48.69 ▲2.13 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.28 | 83.40 ▼4.74 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 39.77 ▲7.80 |
Smart Admin Search /wp-admin/options-general.php?page=smart-admin-search_options | 3.46 | 43.51 |
Server storage [IO: ▲0.26MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 89 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Smart Admin Search
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲103 | 13.80 ▼0.60 | 1.64 ▼0.48 | 40.72 ▼9.20 |
Dashboard /wp-admin | 2,257 ▲66 | 5.15 ▼0.75 | 107.63 ▲5.25 | 42.68 ▼0.07 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.48 ▲0.47 | 35.59 ▼3.57 | 33.78 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,562 ▲29 | 18.58 ▼4.56 | 634.39 ▲3.60 | 37.19 ▼17.95 |
Media Library /wp-admin/upload.php | 1,435 ▲44 | 4.43 ▲0.15 | 96.62 ▼6.46 | 42.66 ▼2.15 |
Smart Admin Search /wp-admin/options-general.php?page=smart-admin-search_options | 1,054 | 1.97 | 25.94 | 29.82 |
Uninstaller [IO: ▲0.26MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attentionZombie WordPress options were found after uninstall: 6 options
- This plugin has failed uninstalling correctly, leaving 89 files (0.26MB) in the plugin directory
- (new file) admin/index.php
- (new file) admin/js/smart-admin-search-admin.js
- (new file) admin/js/smart-admin-search-options.js
- (new file) admin/js/smart-admin-search-admin.min.js
- (new file) admin/css/smart-admin-search-admin.min.css
- (new file) admin/css/smart-admin-search-admin.css
- (new file) admin/class-smart-admin-search-options.php
- (new file) README.txt
- (new file) admin/class-smart-admin-search-admin.php
- (new file) LICENSE.txt
- ...
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/smart-admin-search/admin/partials/smart-admin-search-admin-search-modal.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/smart-admin-search/admin/partials/smart-admin-search-admin-options-page.php:13
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: search, admin, dashboard
smart-admin-search/smart-admin-search.php Passed 13 tests
"Smart Admin Search" version 1.5.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
85 characters long description:
A search engine to quickly find elements and contents inside the WordPress dashboard.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,764 lines of code in 85 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 442 | 915 | 1,210 |
JavaScript | 66 | 118 | 107 | 241 |
PO File | 1 | 60 | 71 | 167 |
CSS | 3 | 33 | 17 | 146 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 16.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 65 | |
▷ Static methods | 3 | 4.62% |
▷ Public methods | 60 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.69% |
Functions | 7 | |
▷ Named functions | 3 | 42.86% |
▷ Anonymous functions | 4 | 57.14% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin