Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.07ms] Passed 4 tests
Server-side resources used by Filter Search Page
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 50.01 ▲6.82 |
Dashboard /wp-admin | 3.37 ▲0.03 | 61.06 ▼6.52 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 55.91 ▲2.62 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 98.15 ▼7.92 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 44.66 ▼0.45 |
Filter Search Page /wp-admin/plugins.php?page=filter_search_page | 3.27 | 46.03 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Filter Search Page
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.10 ▼0.25 | 1.79 ▲0.08 | 58.03 ▲17.32 |
Dashboard /wp-admin | 2,196 ▲16 | 5.55 ▼0.04 | 110.39 ▲22.49 | 45.47 ▲0.49 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.07 | 39.49 ▲0.07 | 32.58 ▼3.71 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.02 ▲1.89 | 619.84 ▼96.88 | 57.74 ▼3.37 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.25 ▲0.08 | 119.57 ▲14.62 | 49.07 ▼3.42 |
Filter Search Page /wp-admin/plugins.php?page=filter_search_page | 928 | 2.02 | 29.06 | 39.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: search, wp_query, filter
filter-search-page/filter-search-page.php Passed 13 tests
The entry point to "Filter Search Page" version 1.0 is a PHP file that has certain tags in its header comment area
138 characters long description:
This plugin will help you to filter the search page results by category and post type. (Go to: Dashboard -> Plugins -> Filter Search Page)
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 detected642 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 133 | 67 | 393 |
CSS | 1 | 34 | 0 | 203 |
JavaScript | 1 | 8 | 3 | 46 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 16 | |
▷ Named functions | 16 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin