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.06MB] [CPU: ▼4.10ms] Passed 4 tests
A check of server-side resources used by Autocomplete Wizard
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.07 | 37.46 ▼3.31 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.96 ▼1.84 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 51.85 ▼1.55 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 97.21 ▼9.69 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.83 ▲0.43 |
Autocomplete Wizard /wp-admin/options-general.php?page=acw | 3.26 | 30.78 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 8 new options
New WordPress options |
---|
acw_select_placeholder |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
acw_search_label |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Autocomplete Wizard
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.22 ▼1.16 | 4.37 ▲2.53 | 36.10 ▼13.09 |
Dashboard /wp-admin | 2,213 ▲28 | 4.89 ▼0.01 | 107.83 ▲2.73 | 38.22 ▼5.51 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.01 | 38.30 ▼2.82 | 36.09 ▲1.29 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.08 ▼0.00 | 590.92 ▼9.77 | 53.07 ▲7.75 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.16 ▼0.05 | 93.15 ▼4.52 | 39.02 ▼4.76 |
Autocomplete Wizard /wp-admin/options-general.php?page=acw | 928 | 2.02 | 22.06 | 32.61 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- acw_search_label
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- acw_select_placeholder
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/autocomplete-wizard/autocomplete-wizard.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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 an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: autocomplete, dropdown, select, search
autocomplete-wizard/autocomplete-wizard.php 92% from 13 tests
"Autocomplete Wizard" version 2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 212 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
Success! There were no dangerous files found in this plugin1,166 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 126 | 109 | 811 |
PHP | 1 | 61 | 20 | 355 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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 Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin