Benchmarks
Plugin footprint 65% 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: ▲1.53MB] [CPU: ▲12.78ms] Passed 4 tests
Server-side resources used by WP Fast Total Search - The Power of Indexed Search
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.01 ▲1.54 | 54.06 ▲10.66 |
Dashboard /wp-admin | 4.84 ▲1.49 | 60.45 ▲0.48 |
Posts /wp-admin/edit.php | 4.93 ▲1.57 | 63.61 ▲18.76 |
Add New Post /wp-admin/post-new.php | 7.67 ▲1.78 | 840.73 ▲743.47 |
Media Library /wp-admin/upload.php | 4.73 ▲1.50 | 54.28 ▲21.22 |
Support & Docs /wp-admin/admin.php?page=wpfts-options-support | 4.93 | 62.94 |
Main Configuration /wp-admin/admin.php?page=wpfts-options | 4.93 | 62.65 |
Search & Output /wp-admin/admin.php?page=wpfts-options-search-relevance | 4.93 | 59.46 |
Sandbox Area /wp-admin/admin.php?page=wpfts-options-sandbox-area | 4.93 | 64.84 |
Indexing Engine /wp-admin/admin.php?page=wpfts-options-indexing-engine | 4.93 | 63.34 |
Analytics /wp-admin/admin.php?page=wpfts-options-analytics | 4.93 | 60.77 |
Server storage [IO: ▲4.14MB] [DB: ▲0.03MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 107 new files
Database: 13 new tables, 7 new options
New tables |
---|
wpftsi_index |
wpftsi_vc |
wpftsi_map |
wpftsi_rawcache |
wpftsi_stops |
wpftsi_vectors |
wpftsi_docs |
wpftsi_queue |
wpftsi_words |
wpftsi_ilog |
... |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_wpfts_custom_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WP Fast Total Search - The Power of Indexed Search: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,979 ▲233 | 13.69 ▼0.66 | 10.01 ▲8.36 | 39.12 ▼6.94 |
Dashboard /wp-admin | 2,264 ▲84 | 5.76 ▲0.11 | 97.79 ▲7.21 | 40.85 ▼4.01 |
Posts /wp-admin/edit.php | 2,173 ▲73 | 2.28 ▲0.29 | 42.35 ▲5.10 | 34.56 ▼0.12 |
Add New Post /wp-admin/post-new.php | 1,586 ▲60 | 23.01 ▼0.07 | 657.40 ▼15.64 | 65.63 ▲3.62 |
Media Library /wp-admin/upload.php | 1,472 ▲72 | 4.35 ▲0.11 | 113.14 ▲18.35 | 43.91 ▼2.89 |
Support & Docs /wp-admin/admin.php?page=wpfts-options-support | 3,649 | 4.28 | 98.51 | 99.24 |
Main Configuration /wp-admin/admin.php?page=wpfts-options | 3,663 | 4.36 | 94.21 | 60.92 |
Search & Output /wp-admin/admin.php?page=wpfts-options-search-relevance | 3,665 | 4.29 | 94.85 | 55.60 |
Sandbox Area /wp-admin/admin.php?page=wpfts-options-sandbox-area | 3,648 | 4.33 | 89.23 | 60.06 |
Indexing Engine /wp-admin/admin.php?page=wpfts-options-indexing-engine | 3,664 | 4.30 | 91.55 | 64.43 |
Analytics /wp-admin/admin.php?page=wpfts-options-analytics | 4,187 | 5.54 | 123.62 | 62.59 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.03MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The plugin did not uninstall successfully, leaving 13 tables in the database
- wpftsi_map
- wpftsi_vectors
- wpftsi_tp
- wpftsi_tw
- wpftsi_rawcache
- wpftsi_words
- wpftsi_docs
- wpftsi_qlog
- wpftsi_vc
- wpftsi_queue
- ...
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_wpfts_custom_widget
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
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
Even though everything seems fine, this is not 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
- 16× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fulltext-search/includes/version/1_22_46.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fulltext-search/includes/wpfts_output.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fulltext-search/includes/wpfts_output.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fulltext-search/includes/wpfts_output.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fulltext-search/includes/wpfts_output.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fulltext-search/includes/wpfts_output.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fulltext-search/includes/wpfts_output.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fulltext-search/includes/wpfts_output.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fulltext-search/includes/version/1_14_22.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/fulltext-search/includes/wpfts_shortcodes.php:31
- > 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)
No browser issues were found
Optimizations
Plugin configuration 96% from 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
8 plugin tags: search, shortcode search, search pdf, relevant search, file search...
fulltext-search/fulltext-search.php 92% from 13 tests
"WP Fast Total Search - The Power of Indexed Search" version 1.59.211's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 199 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin27,773 lines of code in 81 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 966 | 29 | 10,655 |
PHP | 33 | 1,861 | 1,847 | 8,275 |
PO File | 6 | 1,429 | 1,514 | 4,721 |
SVG | 3 | 0 | 12 | 3,009 |
JavaScript | 33 | 252 | 200 | 1,113 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 74.65 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 389.00 |
Average method complexity | 5.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 217 | |
▷ Static methods | 15 | 6.91% |
▷ Public methods | 215 | 99.08% |
▷ Protected methods | 2 | 0.92% |
▷ Private methods | 0 | 0.00% |
Functions | 45 | |
▷ Named functions | 14 | 31.11% |
▷ Anonymous functions | 31 | 68.89% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
style/wpfts-logo-transparent.png | 31.48KB | 12.89KB | ▼ 59.06% |