Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.96ms] Passed 4 tests
This is a short check of server-side resources used by WP Admin Category Search
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.09 ▲2.26 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.70 ▼3.07 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.80 ▼2.85 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 85.91 ▼13.52 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.72 ▼0.39 |
Category search /wp-admin/options-general.php?page=wp_admin_category_search_settings | 3.23 | 30.34 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
wp_admin_category_search_categoriesTab |
widget_theysaidso_widget |
wp_admin_category_search_showSubcategories |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
wp_admin_category_search_author |
wp_admin_category_search_categoriesInField |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Admin Category Search
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 13.23 ▼1.15 | 1.84 ▲0.02 | 42.18 ▼1.88 |
Dashboard /wp-admin | 2,210 ▲22 | 4.89 ▼0.01 | 113.61 ▲11.22 | 40.13 ▼4.07 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.02 ▲0.01 | 34.32 ▼9.43 | 32.53 ▼4.68 |
Add New Post /wp-admin/post-new.php | 1,524 ▼9 | 23.30 ▲0.15 | 682.20 ▼15.84 | 57.00 ▲2.25 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.16 ▼0.04 | 96.38 ▼5.31 | 41.40 ▼3.46 |
Category search /wp-admin/options-general.php?page=wp_admin_category_search_settings | 816 | 2.05 | 23.69 | 26.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 10 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- wp_admin_category_search_author
- wp_admin_category_search_categoriesInField
- wp_admin_category_search_showSubcategories
- wp_admin_category_search_categoriesTab
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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 items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/admin-category-search/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/admin-category-search/admin-category-search.php:43
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
1 plugin tags: categories
admin-category-search/admin-category-search.php Passed 13 tests
"WP Admin Category Search" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
77 characters long description:
This plugin adds search functionality to taxonomies and dropdowns like author
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin441 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 45 | 1 | 197 |
PHP | 2 | 14 | 22 | 122 |
PO File | 2 | 38 | 38 | 122 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin