Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.35ms] Passed 4 tests
Analyzing server-side resources used by Keyspider Site Search Plugin for Wordpress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.83 ▼0.35 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.32 ▼1.59 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 50.00 ▼1.02 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.75 ▼18.45 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.67 ▲2.53 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Keyspider Site Search Plugin for Wordpress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲149 | 13.67 ▼0.68 | 5.90 ▲3.91 | 43.31 ▼5.20 |
Dashboard /wp-admin | 2,225 ▲37 | 5.84 ▼0.07 | 101.45 ▼3.98 | 72.00 ▲27.45 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.00 ▼0.01 | 39.19 ▼6.29 | 37.51 ▲2.10 |
Add New Post /wp-admin/post-new.php | 1,685 ▲140 | 22.55 ▲4.45 | 653.18 ▲35.47 | 50.43 ▼0.86 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.24 ▲0.04 | 107.60 ▲7.35 | 46.53 ▲2.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
The following issues need your attention
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/keyspider-search/admin/partials/keyspider-search-admin-display.php
- > /wp-content/plugins/keyspider-search/public/partials/keyspider-search-public-display.php
- > /wp-content/plugins/keyspider-search/admin/templates/common/header.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/keyspider-search/public/partials/keyspider-search-page.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/keyspider-search/admin/templates/authorize.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid url: ""
keyspider-search/keyspider-search.php 92% from 13 tests
The primary PHP file in "Keyspider Site Search Plugin for Wordpress" version 1.1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected441 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 246 | 687 | 408 |
CSS | 2 | 5 | 8 | 21 |
JavaScript | 2 | 5 | 50 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 2.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 2 | 4.76% |
▷ Public methods | 31 | 73.81% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 26.19% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.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
4 compressed PNG files occupy 0.01MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/keyspider_logo_menu-32.png | 1.22KB | 1.72KB | 0.00% |
admin/css/keyspider_logo_menu-32.png | 1.22KB | 1.72KB | 0.00% |
assets/keyspider_logo_menu.png | 0.75KB | 0.74KB | ▼ 1.04% |
assets/keyspider_logo.png | 3.71KB | 2.34KB | ▼ 36.82% |