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.04MB] [CPU: ▼8.95ms] Passed 4 tests
Analyzing server-side resources used by Lightweight Live Ajax Search
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.34 ▲2.73 |
Dashboard /wp-admin | 3.35 ▲0.01 | 45.97 ▼12.04 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 46.08 ▼0.78 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 81.25 ▼24.84 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 36.11 ▲1.88 |
Live Search /wp-admin/options-general.php?page=wpls_settings | 3.25 | 30.79 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Lightweight Live Ajax Search
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.15 ▼1.53 | 1.68 ▲0.07 | 40.91 ▲0.97 |
Dashboard /wp-admin | 2,210 ▲18 | 4.88 ▼0.07 | 105.22 ▼3.37 | 39.39 ▼0.33 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.02 | 41.16 ▲0.39 | 36.05 ▲1.49 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 23.49 ▲5.10 | 681.34 ▲78.49 | 58.37 ▼24.90 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.20 ▼0.06 | 95.44 ▼5.22 | 40.48 ▼3.53 |
Live Search /wp-admin/options-general.php?page=wpls_settings | 883 | 2.06 | 21.47 | 27.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 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 50% from 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
Almost there! Just fix the following items
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/lightweight-live-ajax-search/includes/settings-page.php
- > /wp-content/plugins/lightweight-live-ajax-search/lightweight-live-ajax-search.php
- > /wp-content/plugins/lightweight-live-ajax-search/classes/class-wpls-loader.php
- > /wp-content/plugins/lightweight-live-ajax-search/includes/search-form-template.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 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
4 plugin tags: ajax, live, lightweight, search
lightweight-live-ajax-search/lightweight-live-ajax-search.php Passed 13 tests
This is the main PHP file of "Lightweight Live Ajax Search" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
102 characters long description:
Live AJAX based search functionality. This plugin provides shortcode to display live search input box.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin588 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 109 | 192 | 309 |
CSS | 2 | 34 | 17 | 180 |
JavaScript | 1 | 34 | 52 | 99 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 3.20 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 20 | |
▷ Static methods | 6 | 30.00% |
▷ Public methods | 14 | 70.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 30.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There were not PNG files found in your plugin