Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼0.47ms] Passed 4 tests
An overview of server-side resources used by Awesome Instant Search
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 41.30 ▲2.52 |
Dashboard /wp-admin | 3.40 ▲0.09 | 44.81 ▼3.20 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 48.86 ▲2.30 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 93.47 ▼1.73 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.23 ▲0.74 |
Awesome Instant Search /wp-admin/options-general.php?page=awesome-instant-search-options | 3.29 | 30.42 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 24 new options
New WordPress options |
---|
AAS_autocomplete |
AAS_fadeOutSpeed |
AAS_input |
AAS_theme |
AAS_screenmin |
AAS_pluginDir |
AAS_intervalLength |
AAS_content |
AAS_debug |
AAS_alsohide |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Awesome Instant Search
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 13.65 ▼0.73 | 1.56 ▼0.17 | 44.44 ▲2.05 |
Dashboard /wp-admin | 2,220 ▲32 | 4.86 ▼0.04 | 107.94 ▼7.09 | 40.92 ▼3.94 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.03 ▲0.01 | 39.82 ▲5.05 | 33.66 ▼2.66 |
Add New Post /wp-admin/post-new.php | 1,527 ▼7 | 23.22 ▼0.20 | 599.82 ▼86.85 | 51.69 ▼7.42 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.25 ▲0.06 | 95.84 ▼17.63 | 42.39 ▼4.48 |
Awesome Instant Search /wp-admin/options-general.php?page=awesome-instant-search-options | 932 | 2.04 | 23.65 | 29.94 |
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
- This plugin does not fully uninstall, leaving 24 options in the database
- can_compress_scripts
- AAS_after
- AAS_alsohide
- widget_theysaidso_widget
- theysaidso_admin_options
- AAS_pluginDir
- AAS_theme
- AAS_autocomplete
- AAS_content
- AAS_debug
- ...
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
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/awesome-instant-search/inc/awesome-ajax-search-options.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/awesome-instant-search/awesome-ajax-search.php:51
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: ajax search, instant search, autocomplete, google instant search, search...
awesome-instant-search/awesome-ajax-search.php 92% from 13 tests
The primary PHP file in "Awesome Instant Search" version 1.1.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("awesome-instant-search.php" instead of "awesome-ajax-search.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected983 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 52 | 87 | 533 |
JavaScript | 2 | 17 | 27 | 237 |
PO File | 1 | 46 | 52 | 161 |
CSS | 3 | 1 | 1 | 52 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 72.00 |
▷ Minimum class complexity | 72.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 5.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 33.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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