Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼6.30ms] Passed 4 tests
This is a short check of server-side resources used by gee Search Plus, improved WordPress search
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 41.04 ▲0.09 |
Dashboard /wp-admin | 3.43 ▲0.12 | 47.21 ▲0.06 |
Posts /wp-admin/edit.php | 3.55 ▲0.18 | 43.87 ▼3.15 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 80.95 ▼22.19 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 33.78 ▲0.24 |
geeSearch Plus /wp-admin/options-general.php?page=gee-search-plus | 3.33 | 30.75 |
Server storage [IO: ▲0.09MB] [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: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
gee_searchplus_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for gee Search Plus, improved WordPress search
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.35 ▲0.18 | 1.68 ▲0.01 | 45.27 ▲0.27 |
Dashboard /wp-admin | 2,202 ▲28 | 5.63 ▲0.09 | 84.54 ▼2.37 | 38.76 ▼3.97 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.01 | 34.95 ▼1.46 | 34.24 ▲1.48 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.43 ▲0.21 | 693.59 ▲25.14 | 56.51 ▲1.06 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.19 ▼0.02 | 94.09 ▼3.90 | 45.56 ▼0.44 |
geeSearch Plus /wp-admin/options-general.php?page=gee-search-plus | 1,181 | 2.42 | 52.91 | 32.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: highlight search terms, search, improve search, custom fields, stopwords...
gsearch-plus/gee-search-plus.php 92% from 13 tests
"gee Search Plus, improved WordPress search" version 1.4.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("gsearch-plus.php" instead of "gee-search-plus.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected3,798 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 363 | 260 | 3,696 |
PO File | 1 | 26 | 30 | 72 |
JavaScript | 2 | 11 | 4 | 22 |
CSS | 1 | 0 | 1 | 8 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 4.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 4 | 8.51% |
▷ Public methods | 47 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin