Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼2.39ms] Passed 4 tests
Analyzing server-side resources used by i-Search - Advanced Live Search
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 37.30 ▼5.84 |
Dashboard /wp-admin | 3.49 ▲0.19 | 55.23 ▲6.87 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 46.37 ▼1.07 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 88.10 ▼4.06 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 34.59 ▲1.42 |
i-Search /wp-admin/admin.php?page=isrc-opt-page | 3.63 | 39.64 |
all4wp Plugins /wp-admin/admin.php?page=all4wp_glob | 3.38 | 306.53 |
Server storage [IO: ▲6.46MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 237 new files
Database: 7 new tables, 11 new options
New tables |
---|
wp_isearch_shortcodes |
wp_isearch_logs |
wp_isearch_metadata |
wp_isearch |
wp_isearch_taxonomy |
wp_isearch_temp |
wp_isearch_popular |
New WordPress options |
---|
db_upgraded |
isrc_opt_en |
can_compress_scripts |
isrc_hash |
widget_i_search_widged |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
isrc_opt_adv_en |
isrc_db_ver |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for i-Search - Advanced Live Search
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,077 ▲331 | 13.66 ▼0.59 | 6.35 ▲4.62 | 40.58 ▼5.04 |
Dashboard /wp-admin | 2,398 ▲207 | 4.92 ▼0.96 | 99.37 ▼20.26 | 39.68 ▼4.22 |
Posts /wp-admin/edit.php | 2,180 ▲91 | 2.07 ▲0.02 | 34.63 ▼3.74 | 31.68 ▼4.23 |
Add New Post /wp-admin/post-new.php | 6,366 ▲4,847 | 26.00 ▲2.56 | 906.59 ▲225.03 | 79.14 ▲12.17 |
Media Library /wp-admin/upload.php | 1,475 ▲84 | 4.24 ▲0.03 | 107.62 ▲4.78 | 43.91 ▲0.01 |
i-Search /wp-admin/admin.php?page=isrc-opt-page | 2,077 | 3.78 | 78.00 | 165.47 |
all4wp Plugins /wp-admin/admin.php?page=all4wp_glob | 846 | 1.68 | 24.52 | 23.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 tables in the database
- wp_isearch
- wp_isearch_popular
- wp_isearch_taxonomy
- wp_isearch_temp
- wp_isearch_shortcodes
- wp_isearch_logs
- wp_isearch_metadata
- Zombie WordPress options were found after uninstall: 11 options
- isrc_opt_adv_en
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- isrc_hash
- theysaidso_admin_options
- widget_i_search_widged
- isrc_opt_en
- db_upgraded
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/i-search/all4wp-global/html/footer.php
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/i-search/admin/menu/sidebar/sidebar-advanced-contents.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/i-search/all4wp-global/html/plugins_list.php:16
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/i-search/all4wp-global/html/global_menu_html.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/i-search/admin/menu/sidebar/sidebar-instance-contents.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/i-search/admin/menu/sidebar/sidebar-video-tutorial.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/i-search/admin/menu/html-menu-header.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/i-search/admin/menu/sidebar/sidebar-reindex.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/i-search/admin/menu/html-menu-helper-css-builder.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_shortcodes() in wp-content/plugins/i-search/admin/menu/html-nav-menu-admin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/i-search/admin/menu/sidebar/sidebar-general-contents.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (41 tag instead of maximum 10); only the first 5 tags are used in your directory listing
i-search/i_search.php 85% from 13 tests
The main file in "i-Search - Advanced Live Search" v. 1.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("i-search.php" instead of "i_search.php")
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
No dangerous file extensions were detected55,256 lines of code in 184 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 88 | 6,245 | 5,414 | 29,884 |
PHP | 44 | 2,690 | 4,267 | 13,810 |
CSS | 37 | 735 | 220 | 6,412 |
SVG | 14 | 9 | 5 | 4,262 |
PO File | 1 | 259 | 282 | 888 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 78.69 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 199.00 |
Average method complexity | 5.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 81.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 226 | |
▷ Static methods | 15 | 6.64% |
▷ Public methods | 202 | 89.38% |
▷ Protected methods | 23 | 10.18% |
▷ Private methods | 1 | 0.44% |
Functions | 84 | |
▷ Named functions | 84 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 25 | |
▷ Global constants | 16 | 64.00% |
▷ Class constants | 9 | 36.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
15 PNG files occupy 0.13MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
all4wp-global/css/img/all4wplogo.png | 4.60KB | 2.42KB | ▼ 47.40% |
admin/help_files/img/popular_help_1.png | 16.50KB | 8.75KB | ▼ 46.98% |
admin/menu/css/images/shadow.png | 3.53KB | 4.99KB | 0.00% |
admin/menu/css/images/favicon.png | 18.06KB | 6.85KB | ▼ 62.04% |
admin/menu/css/jquery-ui/images/ui-icons_ffffff_256x240.png | 6.17KB | 4.18KB | ▼ 32.17% |