Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.32MB] [CPU: ▼2.44ms] Passed 4 tests
A check of server-side resources used by Search Live
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.24 | 46.87 ▲5.02 |
Dashboard /wp-admin | 3.65 ▲0.34 | 52.53 ▼2.94 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 49.67 ▼1.60 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 99.71 ▼7.19 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 41.14 ▲1.97 |
Thumbnails /wp-admin/admin.php?page=search-live-thumbnails | 3.54 | 36.76 |
Search Live /wp-admin/admin.php?page=search-live | 3.54 | 34.43 |
Appearance /wp-admin/admin.php?page=search-live-appearance | 3.54 | 35.49 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
These are issues you should consider
- Illegal file modification detected: 1 file (4.00KB) outside of "wp-content/plugins/search-live/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 30 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_search_live_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Search Live
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲82 | 13.61 ▼0.67 | 1.70 ▲0.06 | 38.39 ▼6.43 |
Dashboard /wp-admin | 2,249 ▲46 | 5.80 ▲0.93 | 101.27 ▼6.79 | 41.09 ▼1.01 |
Posts /wp-admin/edit.php | 2,128 ▲25 | 2.05 ▲0.03 | 37.49 ▼2.40 | 34.38 ▼0.43 |
Add New Post /wp-admin/post-new.php | 1,573 ▲47 | 18.71 ▲1.20 | 629.84 ▼70.18 | 60.51 ▲3.97 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.23 ▼0.01 | 98.60 ▼8.89 | 42.47 ▼5.42 |
Thumbnails /wp-admin/admin.php?page=search-live-thumbnails | 1,002 | 2.02 | 23.80 | 31.15 |
Search Live /wp-admin/admin.php?page=search-live | 993 | 2.14 | 23.31 | 41.63 |
Appearance /wp-admin/admin.php?page=search-live-appearance | 992 | 2.02 | 24.39 | 30.58 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- widget_search_live_widget
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: ajax, search, ajax search, instant search, live search
search-live/search-live.php Passed 13 tests
The main file in "Search Live" v. 1.14.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
84 characters long description:
Search Live supplies integrated live search facilities and advanced search features.
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
There were no executable files found in this plugin3,030 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 301 | 672 | 1,747 |
PO File | 2 | 244 | 276 | 793 |
JavaScript | 4 | 28 | 104 | 296 |
CSS | 3 | 10 | 39 | 194 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 39.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 5.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 62 | 93.94% |
▷ Public methods | 60 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 9.09% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 71 | |
▷ Global constants | 11 | 15.49% |
▷ Class constants | 60 | 84.51% |
▷ Public constants | 60 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/search-live.png | 2.23KB | 1.78KB | ▼ 20.05% |
images/search-live-256x256.png | 9.65KB | 4.51KB | ▼ 53.27% |
images/help.png | 2.03KB | 1.97KB | ▼ 2.94% |
images/placeholder.png | 1.96KB | 0.76KB | ▼ 61.43% |