Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.90MB] [CPU: ▲2.19ms] Passed 4 tests
Server-side resources used by WordPress WP-Advanced-Search
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 68.33 ▲64.82 | 13,437,778.37 ▲13,437,728.28 |
Dashboard /wp-admin | 4.23 ▲0.88 | 61.73 ▲8.35 |
Posts /wp-admin/edit.php | 4.35 ▲0.94 | 55.03 ▼3.35 |
Add New Post /wp-admin/post-new.php | 6.81 ▲0.88 | 92.56 ▼2.27 |
Media Library /wp-admin/upload.php | 4.16 ▲0.88 | 47.23 ▲6.05 |
Autocorrect /wp-admin/admin.php?page=WP_Advanced_Search_Callback_Autocorrection | 4.11 | 42.34 |
Import/Export /wp-admin/admin.php?page=WP_Advanced_Search_Callback_ExportImport | 4.12 | 38.14 |
Readme /wp-admin/admin.php?page=WP_Advanced_Search_Callback_Documentation | 4.12 | 38.22 |
Autocompletion /wp-admin/admin.php?page=WP_Advanced_Search_Callback_Autocompletion | 4.12 | 46.86 |
Display options /wp-admin/admin.php?page=WP_Advanced_Search_Callback_Pagination | 4.14 | 38.78 |
Templates and styles /wp-admin/admin.php?page=WP_Advanced_Search_Callback_Styles | 4.14 | 42.14 |
Advanced Search /wp-admin/admin.php?page=wp-advanced-search | 4.13 | 40.08 |
Server storage [IO: ▲3.86MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 116 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_advsh |
wp_autosuggest |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress WP-Advanced-Search
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲193 | 13.58 ▼0.56 | 11.57 ▲9.58 | 41.97 ▼3.16 |
Dashboard /wp-admin | 2,228 ▲51 | 5.58 ▼0.10 | 95.18 ▼7.29 | 74.55 ▲13.95 |
Posts /wp-admin/edit.php | 2,148 ▲48 | 2.01 ▲0.00 | 34.01 ▼8.62 | 39.12 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,719 ▲191 | 22.26 ▼0.55 | 729.35 ▲38.73 | 45.44 ▼26.77 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.27 ▲0.10 | 99.43 ▼15.24 | 73.78 ▲24.70 |
Autocorrect /wp-admin/admin.php?page=WP_Advanced_Search_Callback_Autocorrection | 1,000 | 2.14 | 24.91 | 57.53 |
Import/Export /wp-admin/admin.php?page=WP_Advanced_Search_Callback_ExportImport | 898 | 2.00 | 29.11 | 67.32 |
Readme /wp-admin/admin.php?page=WP_Advanced_Search_Callback_Documentation | 1,166 | 2.12 | 22.47 | 46.30 |
Autocompletion /wp-admin/admin.php?page=WP_Advanced_Search_Callback_Autocompletion | 1,272 | 2.17 | 25.91 | 37.09 |
Display options /wp-admin/admin.php?page=WP_Advanced_Search_Callback_Pagination | 1,309 | 2.04 | 29.49 | 31.45 |
Templates and styles /wp-admin/admin.php?page=WP_Advanced_Search_Callback_Styles | 1,237 | 2.14 | 25.76 | 33.81 |
Advanced Search /wp-admin/admin.php?page=wp-advanced-search | 1,527 | 2.12 | 26.39 | 34.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 76 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-advanced-search
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 76 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-advanced-search
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: You are using too many tags: 64 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 ("WP-Planification" dans le backoffice de Wordpress (BackOffice screenshot).), #2 (Panneau du widget (widget panel).), #3 (Exemple d'usage complet (for example : complete usage of plugin).), #4 (Exemple d'affichage différent (for example : another type of use of plugin).), #5 (Nouveau thème graphique (New template).), #6 (Options d'autosuggestion (autosuggest options).), #7 (Exemple d'autocomplétion (example for autocomplete query).), #8 (Usage du trigger pour afficher les résultats (example with trigger to display results).), #9 (Thème graphique complet "Google style" (complete template 'Google style').), #10 (Thème graphique en 2 ou 3 colonnes (template with 2 or 3 columns).)
wp-advanced-search/WP-Advanced-Search.php 85% from 13 tests
The main file in "WordPress WP-Advanced-Search" v. 3.3.9.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-advanced-search.php" instead of "WP-Advanced-Search.php")
- Description: The description should be shorter than 140 characters (currently 358 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected13,829 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 8 | 3,122 | 4,979 | 6,380 |
PHP | 22 | 427 | 716 | 5,996 |
JavaScript | 15 | 107 | 140 | 941 |
CSS | 30 | 0 | 5 | 512 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 47.20 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 167.00 |
Average method complexity | 11.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 82.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 17.39% |
Functions | 47 | |
▷ Named functions | 46 | 97.87% |
▷ Anonymous functions | 1 | 2.13% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
22 PNG files occupy 2.51MB with 1.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-6.png | 76.23KB | 36.45KB | ▼ 52.19% |
screenshot-5.png | 89.21KB | 49.66KB | ▼ 44.34% |
img/icon-256x256.png | 15.16KB | 8.05KB | ▼ 46.92% |
screenshot-9.png | 305.21KB | 161.39KB | ▼ 47.12% |
screenshot-1.png | 63.46KB | 31.26KB | ▼ 50.74% |