Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.65ms] Passed 4 tests
Analyzing server-side resources used by = Site Search 360
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.21 ▼0.17 |
Dashboard /wp-admin | 3.34 ▲0.04 | 51.65 ▼3.25 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 57.14 ▲11.22 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.42 ▼11.72 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 43.76 ▲4.56 |
Server storage [IO: ▲3.76MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 72 new files
Database: no new tables, 9 new options
New WordPress options |
---|
ss360_plugin_version |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
ss360_installation_id |
can_compress_scripts |
widget_sitesearch360_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by = Site Search 360
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.30 ▼0.31 | 1.78 ▼0.03 | 42.50 ▼6.42 |
Dashboard /wp-admin | 2,213 ▲36 | 5.61 ▲0.00 | 90.90 ▼10.14 | 73.13 ▲28.58 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.02 ▼0.01 | 36.63 ▼0.33 | 33.74 ▼1.40 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 22.82 ▲5.31 | 758.92 ▲71.57 | 56.80 ▼0.26 |
Media Library /wp-admin/upload.php | 1,409 ▲12 | 4.18 ▼0.02 | 112.30 ▼0.51 | 82.94 ▲35.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_sitesearch360_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Please fix the following
- 21× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SiteSearch360Plugin' not found in wp-content/plugins/site-search-360/sitesearch360-configuration-index-control.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/site-search-360/class-sitesearch360-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/site-search-360/views/sitesearch360-control-panel.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/site-search-360/views/sitesearch360-login-page.php:24
- > PHP Fatal error
Uncaught Error: Class 'SiteSearch360Plugin' not found in wp-content/plugins/site-search-360/views/sitesearch360-woocommerce.php:2
- > PHP Fatal error
Uncaught Error: Class 'SiteSearch360Client' not found in wp-content/plugins/site-search-360/views/sitesearch360-searchtest.php:2
- > PHP Fatal error
Uncaught Error: Class 'SiteSearch360Plugin' not found in wp-content/plugins/site-search-360/views/sitesearch360-dashboard.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/site-search-360/views/sitesearch360-rating-cta.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/site-search-360/class-sitesearch360-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/site-search-360/sitesearch360-admin-page.php:175
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Donate link: Please fix this invalid URI: ""
site-search-360/sitesearch360.php 77% from 13 tests
The primary PHP file in "= Site Search 360" version 2.1.6 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("site-search-360.php" instead of "sitesearch360.php")
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Description: Please keep the plugin description shorter than 140 characters (currently 232 characters long)
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 detected8,201 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 315 | 186 | 3,522 |
SVG | 20 | 0 | 7 | 2,748 |
CSS | 6 | 24 | 41 | 947 |
Sass | 1 | 187 | 0 | 920 |
JSON | 2 | 0 | 0 | 37 |
JavaScript | 7 | 1 | 39 | 27 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 78.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 157.00 |
Average method complexity | 4.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 86 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 77 | 89.53% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 10.47% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 1.93MB with 1.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/intro/02_02.png | 393.27KB | 104.31KB | ▼ 73.48% |
images/intro/04_02.png | 506.01KB | 125.38KB | ▼ 75.22% |
images/intro/01_01.png | 439.83KB | 147.50KB | ▼ 66.46% |
images/intro/04_01.png | 20.68KB | 9.95KB | ▼ 51.88% |
images/intro/03_01.png | 407.37KB | 101.81KB | ▼ 75.01% |