Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.56ms] Passed 4 tests
An overview of server-side resources used by Yext Answers Site Search
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.91 ▼0.59 |
Dashboard /wp-admin | 3.36 ▲0.05 | 46.39 ▼0.96 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.25 ▲1.57 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 90.09 ▼0.58 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.94 ▼0.10 |
Yext Answers Site Search /wp-admin/options-general.php?page=yext_answers_options | 3.25 | 32.23 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Yext Answers Site Search: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.48 ▲0.09 | 1.72 ▼0.10 | 39.76 ▼7.43 |
Dashboard /wp-admin | 2,213 ▲25 | 4.83 ▼1.05 | 99.51 ▼2.03 | 38.19 ▼8.25 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▼0.02 | 35.44 ▼1.97 | 30.44 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,545 ▲11 | 18.36 ▼4.70 | 607.27 ▼32.32 | 92.76 ▲43.35 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.24 ▲0.06 | 95.62 ▼8.94 | 48.63 ▲5.87 |
Yext Answers Site Search /wp-admin/options-general.php?page=yext_answers_options | 886 | 2.15 | 22.98 | 35.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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
10 plugin tags: relevant-search, better-search, yext, search, search-engine...
yext-answers/answers.php 77% from 13 tests
The main PHP script in "Yext Answers Site Search" version 1.0.4 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- 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
- Description: Please don't use more than 140 characters for the plugin description (currently 203 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("yext-answers.php" instead of "answers.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin233 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 24 | 65 | 208 |
Markdown | 1 | 7 | 0 | 25 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin