Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼0.30ms] Passed 4 tests
A check of server-side resources used by Ultimate FAQ Solution
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.74 ▲0.71 |
Dashboard /wp-admin | 3.51 ▲0.21 | 53.95 ▲6.63 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 53.37 ▲6.37 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 90.93 ▼7.42 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 33.98 ▼0.86 |
Manage FAQ Groups /wp-admin/edit.php?post_type=ufaqsw | 3.61 | 44.04 |
New FAQ Group /wp-admin/post-new.php?post_type=ufaqsw | 3.87 | 59.30 |
Settings & Help /wp-admin/edit.php?post_type=ufaqsw&page=ufaqsw-settings | 3.50 | 41.79 |
Server storage [IO: ▲4.86MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 422 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
ufaqsw_live_search_loading_text |
ufaqsw_search_result_not_found |
theysaidso_admin_options |
ufaqsw_live_search_text |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
ufaqsw_enable_search |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate FAQ Solution
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,093 ▲347 | 15.30 ▲1.02 | 5.59 ▲3.80 | 41.85 ▼1.80 |
Dashboard /wp-admin | 2,393 ▲205 | 6.63 ▲1.75 | 130.88 ▲14.84 | 40.38 ▼4.05 |
Posts /wp-admin/edit.php | 2,296 ▲207 | 3.51 ▲1.49 | 57.47 ▲20.78 | 35.25 ▲3.79 |
Add New Post /wp-admin/post-new.php | 1,555 ▲22 | 23.30 ▼0.18 | 644.95 ▼35.97 | 35.77 ▼24.98 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 4.27 ▲0.06 | 93.78 ▼15.31 | 44.03 ▼1.37 |
Manage FAQ Groups /wp-admin/edit.php?post_type=ufaqsw | 11,595 | 4.52 | 94.02 | 28.06 |
New FAQ Group /wp-admin/post-new.php?post_type=ufaqsw | 13,499 | 10.19 | 247.70 | 68.41 |
Settings & Help /wp-admin/edit.php?post_type=ufaqsw&page=ufaqsw-settings | 11,800 | 4.21 | 95.78 | 31.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 10 options
- widget_theysaidso_widget
- can_compress_scripts
- ufaqsw_enable_search
- widget_recent-posts
- ufaqsw_search_result_not_found
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- ufaqsw_live_search_loading_text
- ufaqsw_live_search_text
Smoke tests 50% 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 0% 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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ultimate-faq-solution/init.php
- 40× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/ultimate-faq-solution/vendor/cmb2/cmb2/includes/types/CMB2_Type_File_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/ultimate-faq-solution/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/ultimate-faq-solution/vendor/cmb2/cmb2/includes/rest-api/CMB2_REST.php:19
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Select' not found in wp-content/plugins/ultimate-faq-solution/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Select_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Radio' not found in wp-content/plugins/ultimate-faq-solution/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Radio_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-faq-solution/templates/all/template.php:2
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/ultimate-faq-solution/vendor/cmb2/cmb2/includes/CMB2.php:21
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/ultimate-faq-solution/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/ultimate-faq-solution/vendor/cmb2/cmb2/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/ultimate-faq-solution/vendor/cmb2/cmb2/includes/types/CMB2_Type_Counter_Base.php:13
- > 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 errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: faq-directory, product-faq, toggle, woocommerce-faq, faq...
ultimate-faq-solution/init.php 69% from 13 tests
The main PHP file in "Ultimate FAQ Solution" ver. 1.4.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Requires PHP: Required version does not match the one declared in readme.txt ("7.4.0" instead of "7.4")
- Description: Please don't use more than 140 characters for the plugin description (currently 308 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ultimate-faq-solution.php" instead of "init.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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 plugin76,650 lines of code in 264 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
JSON | 4 | 0 | 0 | 23,310 |
PHP | 86 | 2,664 | 6,903 | 9,218 |
CSS | 19 | 264 | 1,195 | 4,941 |
SVG | 2 | 1 | 0 | 2,684 |
JavaScript | 13 | 475 | 627 | 1,995 |
Sass | 17 | 306 | 29 | 1,411 |
Markdown | 3 | 249 | 0 | 768 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 18.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 81 | |
▷ Abstract classes | 9 | 11.11% |
▷ Concrete classes | 72 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 619 | |
▷ Static methods | 118 | 19.06% |
▷ Public methods | 524 | 84.65% |
▷ Protected methods | 89 | 14.38% |
▷ Private methods | 6 | 0.97% |
Functions | 59 | |
▷ Named functions | 58 | 98.31% |
▷ Anonymous functions | 1 | 1.69% |
Constants | 15 | |
▷ Global constants | 9 | 60.00% |
▷ Class constants | 6 | 40.00% |
▷ Public constants | 6 | 100.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
15 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/cmb2/cmb2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
vendor/cmb2/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
vendor/cmb2/cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/logo.png | 10.73KB | 4.48KB | ▼ 58.25% |
vendor/cmb2/cmb2/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |