Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.72MB] [CPU: ▲5.37ms] Passed 4 tests
This is a short check of server-side resources used by WP Engine Smart Search
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.21 ▲0.75 | 44.63 ▲4.42 |
Dashboard /wp-admin | 4.04 ▲0.69 | 59.25 ▼5.16 |
Posts /wp-admin/edit.php | 4.09 ▲0.73 | 62.21 ▲12.02 |
Add New Post /wp-admin/post-new.php | 6.66 ▲0.76 | 109.70 ▲10.19 |
Media Library /wp-admin/upload.php | 3.97 ▲0.73 | 46.51 ▲12.51 |
Settings /wp-admin/admin.php?page=wpengine-smart-search | 3.87 | 42.99 |
Search Config /wp-admin/admin.php?page=wpengine-smart-search&view=search-config | 3.87 | 39.56 |
Sync /wp-admin/admin.php?page=wpengine-smart-search&view=sync-data | 3.87 | 45.80 |
Server storage [IO: ▲2.76MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 99 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
wpe_content_engine_search_fields |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Engine Smart Search
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲166 | 15.98 ▲1.27 | 1.93 ▲0.20 | 41.14 ▼4.27 |
Dashboard /wp-admin | 2,267 ▲89 | 6.75 ▲1.12 | 143.57 ▲26.15 | 49.16 ▲2.67 |
Posts /wp-admin/edit.php | 2,194 ▲94 | 4.22 ▲2.24 | 67.88 ▲28.51 | 40.15 ▲1.30 |
Add New Post /wp-admin/post-new.php | 1,590 ▲54 | 25.68 ▲2.67 | 660.12 ▲0.41 | 49.11 ▼10.64 |
Media Library /wp-admin/upload.php | 1,482 ▲82 | 5.95 ▲1.75 | 119.15 ▲21.51 | 43.32 ▲0.83 |
Settings /wp-admin/admin.php?page=wpengine-smart-search | 909 | 4.53 | 82.26 | 47.23 |
Search Config /wp-admin/admin.php?page=wpengine-smart-search&view=search-config | 1,418 | 7.28 | 176.61 | 57.19 |
Sync /wp-admin/admin.php?page=wpengine-smart-search&view=sync-data | 917 | 4.73 | 73.73 | 29.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- wpe_content_engine_search_fields
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/atlas-search/public/partials/wpe-content-engine-public-display.php
- 24× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Wpe_Content_Engine\\Helper\\Client_Interface' not found in wp-content/plugins/atlas-search/helper/sync/graphql/client.php:19
- > PHP Fatal error
Uncaught Error: Class 'Wpe_Content_Engine\\Helper\\Acf_Support\\Types\\Abstract_Type' not found in wp-content/plugins/atlas-search/helper/acf-support/types/email.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/atlas-search/helper/api/search-config-controller.php:14
- > PHP Fatal error
Uncaught Error: Class 'Wpe_Content_Engine\\Helper\\Json_Schema\\Primitive_Type_Property' not found in wp-content/plugins/atlas-search/helper/json-schema/integer-property.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Wpe_Content_Engine\\Settings_Interface' not found in wp-content/plugins/atlas-search/wp-settings.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Wpe_Content_Engine\\Helper\\Sync\\Batches\\Batch_Sync_Interface' not found in wp-content/plugins/atlas-search/helper/sync/batches/custom-post-type.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Wpe_Content_Engine\\Helper\\Sync\\Batches\\Batch_Sync_Interface' not found in wp-content/plugins/atlas-search/helper/sync/batches/delete-all.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/atlas-search/helper/api/settings-controller.php:15
- > PHP Fatal error
Uncaught Error: Class 'Wpe_Content_Engine\\Helper\\Json_Schema\\Property' not found in wp-content/plugins/atlas-search/helper/json-schema/json-schema.php:9
- > PHP Fatal error
Uncaught Error: Class 'Wpe_Content_Engine\\Helper\\Json_Schema\\Primitive_Type_Property' not found in wp-content/plugins/atlas-search/helper/json-schema/string-property.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: search
atlas-search/atlas-search.php 92% from 13 tests
The main PHP file in "WP Engine Smart Search" ver. 0.2.32 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected3,414 lines of code in 90 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 82 | 924 | 1,416 | 3,243 |
Markdown | 1 | 39 | 0 | 101 |
JavaScript | 3 | 11 | 44 | 55 |
JSON | 1 | 0 | 0 | 13 |
CSS | 2 | 0 | 5 | 1 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 4.66 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 5 | |
Traits | 1 | |
Classes | 70 | |
▷ Abstract classes | 5 | 7.14% |
▷ Concrete classes | 65 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 225 | |
▷ Static methods | 11 | 4.89% |
▷ Public methods | 183 | 81.33% |
▷ Protected methods | 21 | 9.33% |
▷ Private methods | 21 | 9.33% |
Functions | 29 | |
▷ Named functions | 25 | 86.21% |
▷ Anonymous functions | 4 | 13.79% |
Constants | 102 | |
▷ Global constants | 3 | 2.94% |
▷ Class constants | 99 | 97.06% |
▷ Public constants | 94 | 94.95% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin