Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.83MB] [CPU: ▲11.21ms] Passed 4 tests
An overview of server-side resources used by Site Search ONE
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.27 ▲0.80 | 44.65 ▲4.24 |
Dashboard /wp-admin | 4.14 ▲0.83 | 61.48 ▲11.58 |
Posts /wp-admin/edit.php | 4.21 ▲0.85 | 62.33 ▲14.83 |
Add New Post /wp-admin/post-new.php | 6.78 ▲0.89 | 107.97 ▲16.70 |
Media Library /wp-admin/upload.php | 4.07 ▲0.83 | 45.94 ▲14.19 |
Server storage [IO: ▲9.17MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2,058 new files
Database: 8 new tables, 8 new options
New tables |
---|
wp_ss1_site_vars |
wp_ss1_tokens |
wp_ss1_sync_queue |
wp_ss1_globals |
wp_ss1_sc1_indexes |
wp_ss1_ix_pages |
wp_ss1_search_pages |
wp_ss1_uploaded_posts |
New WordPress options |
---|
widget_ss1_searchbar_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
site-search-one-install-location |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Site Search ONE
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲93 | 14.37 ▲0.02 | 1.55 ▼0.14 | 37.09 ▼9.24 |
Dashboard /wp-admin | 2,261 ▲84 | 5.73 ▲0.11 | 102.36 ▲8.26 | 41.23 ▼0.05 |
Posts /wp-admin/edit.php | 2,163 ▲63 | 2.11 ▲0.14 | 41.72 ▲5.26 | 36.10 ▲2.55 |
Add New Post /wp-admin/post-new.php | 1,715 ▲187 | 22.12 ▼0.62 | 656.43 ▼29.28 | 69.49 ▲13.72 |
Media Library /wp-admin/upload.php | 1,466 ▲69 | 4.28 ▲0.11 | 114.59 ▲12.04 | 43.22 ▼0.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie tables were found after uninstall: 8 tables
- wp_ss1_search_pages
- wp_ss1_uploaded_posts
- wp_ss1_site_vars
- wp_ss1_globals
- wp_ss1_sc1_indexes
- wp_ss1_sync_queue
- wp_ss1_ix_pages
- wp_ss1_tokens
- Zombie WordPress options detected upon uninstall: 8 options
- db_upgraded
- widget_recent-posts
- site-search-one-install-location
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_ss1_searchbar_widget
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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/site-search-one/admin/partials/site-search-one-admin-display.php
- 7× PHP files trigger errors when accessed directly with GET requests:
- > WP_Error Object( [errors] => Array ( [failed_listindex] => Array ( [0] => Failed to retrieve listing of indexes on SC1. ) ) [error_data] => Array ( ) [additional_data
protected] => Array ( )), referer: http://wp.com/wp-admin/
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/site-search-one/admin/class-site-search-one-searchbar-widget.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/site-search-one/public/hitviewer-styler.php:14
- > SS1-ERROR Failed Cache Spec Task
, referer: http://wp.com/wp-admin/
- > Array( [task_id] => 29 [action] => 3 [post_id] => 0 [index_uuid] => 0), referer
http://wp.com/wp-admin/
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/site-search-one/templates/js/file-download.js.php:19
- > {30}SS1-INFO Next task
, referer: http://wp.com/wp-admin/
- > WP_Error Object( [errors] => Array ( [failed_listindex] => Array ( [0] => Failed to retrieve listing of indexes on SC1. ) ) [error_data] => Array ( ) [additional_data
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 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (screenshot-1.png), #2 (screenshot-2.png)
site-search-one/site-search-one.php Passed 13 tests
The entry point to "Site Search ONE" version 2.0.0.3489 is a PHP file that has certain tags in its header comment area
41 characters long description:
WordPress Site Search Powered by dtSearch
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected40,270 lines of code in 2,023 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1,959 | 0 | 0 | 16,631 |
PHP | 36 | 1,102 | 3,998 | 14,098 |
Sass | 1 | 4 | 0 | 4,018 |
CSS | 14 | 252 | 250 | 3,107 |
JSON | 1 | 0 | 0 | 1,998 |
JavaScript | 12 | 47 | 152 | 418 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 34.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 235.00 |
Average method complexity | 3.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 247 | |
▷ Static methods | 38 | 15.38% |
▷ Public methods | 168 | 68.02% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 79 | 31.98% |
Functions | 62 | |
▷ Named functions | 56 | 90.32% |
▷ Anonymous functions | 6 | 9.68% |
Constants | 8 | |
▷ Global constants | 3 | 37.50% |
▷ Class constants | 5 | 62.50% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin