Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/eps-super-search/widget.super_search.php+166
Function create_function() is deprecated
Server metrics [RAM: ▼1.92MB] [CPU: ▼56.55ms] Passed 4 tests
Server-side resources used by Super Search - Custom Post Types
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.94 ▼39.87 |
Dashboard /wp-admin | 2.10 ▼1.25 | 7.29 ▼57.16 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 8.02 ▼38.32 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.93 ▼90.86 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 6.22 ▼28.53 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
eps_ss_version |
widget_eps_super_search |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Super Search - Custom Post Types
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.35 ▼0.26 | 1.68 ▲0.03 | 39.47 ▼4.56 |
Dashboard /wp-admin | 2,198 ▲18 | 5.58 ▼0.10 | 83.35 ▼3.07 | 37.92 ▼1.63 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.04 ▲0.02 | 38.54 ▲1.68 | 34.90 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.85 ▲0.70 | 613.94 ▼44.98 | 59.00 ▲7.24 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.13 ▼0.07 | 100.77 ▲4.70 | 44.18 ▲3.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/eps-super-search/widget.super_search.php+166
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 8 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- eps_ss_version
- widget_eps_super_search
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function home_url() in wp-content/plugins/eps-super-search/templates/widget.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/eps-super-search/templates/admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/eps-super-search/eps-super-search.php:30
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/eps-super-search/widget.super_search.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Donate link: Please fix this invalid URI: "none"
- Plugin Name: You should set the name of your plugin on the first line (
=== eps-super-search ===
)
eps-super-search/eps-super-search.php Passed 13 tests
The main PHP script in "Super Search - Custom Post Types" version 1.0.0 is automatically included on every request by WordPress
111 characters long description:
This plugin allows you to create search widgets for custom post types, and redirect to custom search templates.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin187 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 60 | 89 | 187 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin