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: ▲0.14MB] [CPU: ▼1.54ms] Passed 4 tests
Analyzing server-side resources used by BWL Advanced FAQ Manager Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 46.25 ▲10.57 |
Dashboard /wp-admin | 3.44 ▲0.10 | 45.47 ▼13.54 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 51.67 ▲4.16 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.31 | 83.98 ▼7.33 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 41.67 ▲11.44 |
Add New FAQ /wp-admin/post-new.php?post_type=bwl_advanced_faq | 6.19 | 85.66 |
All FAQs /wp-admin/edit.php?post_type=bwl_advanced_faq | 3.42 | 40.55 |
Analytics /wp-admin/edit.php?post_type=bwl_advanced_faq&page=bwl-advanced-faq-analytics | 3.45 | 45.55 |
FAQ Category /wp-admin/edit-tags.php?taxonomy=advanced_faq_category&post_type=bwl_advanced_faq | 3.36 | 33.46 |
Plugin Info /wp-admin/edit.php?post_type=bwl_advanced_faq&page=bwl-advanced-faq-welcome | 3.36 | 34.25 |
FAQ Settings /wp-admin/edit.php?post_type=bwl_advanced_faq&page=bwl-advanced-faq-settings | 3.34 | 32.03 |
Plugin Addons /wp-admin/edit.php?post_type=bwl_advanced_faq&page=baf-addons | 3.37 | 35.18 |
FAQ Sorting /wp-admin/edit.php?post_type=bwl_advanced_faq&page=bwl_advanced_faq_sort | 3.38 | 32.66 |
FAQ Topics /wp-admin/edit-tags.php?taxonomy=advanced_faq_topics&post_type=bwl_advanced_faq | 3.36 | 38.31 |
Server storage [IO: ▲5.49MB] [DB: ▲0.08MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 190 new files
Database: 3 new tables, 13 new options
New tables |
---|
wp_baf_views_data |
wp_baf_likes_data |
wp_baf_search_keywords_data |
New WordPress options |
---|
baf_flash_rules_status |
widget_baf_categories_widget |
bwl_advanced_faq_version |
widget_bwl_advanced_faq_manager_widget |
baf_lite_installation_date |
widget_recent-comments |
baf_old_custom_slug |
widget_baf_topics_widget |
db_upgraded |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for BWL Advanced FAQ Manager Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,034 ▲272 | 13.93 ▼0.41 | 7.99 ▲6.41 | 26.34 ▼10.26 |
Dashboard /wp-admin | 2,320 ▲142 | 5.01 ▼0.70 | 112.65 ▲2.87 | 88.04 ▲46.17 |
Posts /wp-admin/edit.php | 2,230 ▲133 | 2.64 ▲0.70 | 52.30 ▲12.77 | 39.80 ▲0.68 |
Add New Post /wp-admin/post-new.php | 1,636 ▲100 | 21.15 ▼1.91 | 850.37 ▲258.81 | 45.91 ▼18.14 |
Media Library /wp-admin/upload.php | 1,514 ▲111 | 4.59 ▲0.39 | 121.13 ▲24.76 | 84.38 ▲42.79 |
Add New FAQ /wp-admin/post-new.php?post_type=bwl_advanced_faq | 6,375 | 22.96 | 912.99 | 176.90 |
All FAQs /wp-admin/edit.php?post_type=bwl_advanced_faq | 1,263 | 2.73 | 47.95 | 35.28 |
Analytics /wp-admin/edit.php?post_type=bwl_advanced_faq&page=bwl-advanced-faq-analytics | 1,131 | 2.36 | 43.75 | 40.01 |
FAQ Category /wp-admin/edit-tags.php?taxonomy=advanced_faq_category&post_type=bwl_advanced_faq | 1,398 | 2.45 | 47.17 | 37.98 |
Plugin Info /wp-admin/edit.php?post_type=bwl_advanced_faq&page=bwl-advanced-faq-welcome | 1,043 | 2.37 | 44.86 | 36.38 |
FAQ Settings /wp-admin/edit.php?post_type=bwl_advanced_faq&page=bwl-advanced-faq-settings | 2,493 | 5.14 | 107.05 | 51.83 |
Plugin Addons /wp-admin/edit.php?post_type=bwl_advanced_faq&page=baf-addons | 967 | 2.35 | 42.81 | 32.18 |
FAQ Sorting /wp-admin/edit.php?post_type=bwl_advanced_faq&page=bwl_advanced_faq_sort | 963 | 2.38 | 39.95 | 29.12 |
FAQ Topics /wp-admin/edit-tags.php?taxonomy=advanced_faq_topics&post_type=bwl_advanced_faq | 1,398 | 2.46 | 46.56 | 36.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_baf_views_data
- wp_baf_search_keywords_data
- wp_baf_likes_data
- This plugin did not uninstall successfully, leaving 13 options in the database
- widget_recent-posts
- db_upgraded
- baf_lite_installation_date
- bwl_advanced_faq_version
- widget_baf_topics_widget
- widget_recent-comments
- widget_baf_categories_widget
- widget_bwl_advanced_faq_manager_widget
- widget_theysaidso_widget
- can_compress_scripts
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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 items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/bwl-advanced-faq-manager-lite/includes/settings/views/sorting-pages/part-all-faq-sort.php
- > /wp-content/plugins/bwl-advanced-faq-manager-lite/includes/settings/views/sorting-pages/part-taxonomy-items-sort.php
- 49× 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 add_action() in wp-content/plugins/bwl-advanced-faq-manager-lite/includes/baf_theme_generator.php:460
- > PHP Fatal error
Uncaught Error: Class 'BafAnalytics' not found in wp-content/plugins/bwl-advanced-faq-manager-lite/includes/settings/analytics/BafAnalyticsPostsList.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bwl-advanced-faq-manager-lite/includes/widgets/baf_faqs.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bwl-advanced-faq-manager-lite/includes/metainfo/BafMetaInfo.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bwl-advanced-faq-manager-lite/includes/cpt/BafCustomPostType.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/bwl-advanced-faq-manager-lite/includes/settings/views/tpl_baf_sort.php:14
- > PHP Fatal error
Uncaught Error: Class 'BafAnalytics' not found in wp-content/plugins/bwl-advanced-faq-manager-lite/includes/settings/analytics/BafAnalyticsExternalApi.php:4
- > PHP Warning
Use of undefined constant BWL_BAF_PLUGIN_TITLE - assumed 'BWL_BAF_PLUGIN_TITLE' (this will throw an Error in a future version of PHP) in wp-content/plugins/bwl-advanced-faq-manager-lite/includes/settings/views/tpl_analytics.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bwl-advanced-faq-manager-lite/includes/BafSearchKeywordsTracker.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bwl-advanced-faq-manager-lite/includes/tinymce/baf_tiny_mce_config.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 9 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=advanced_faq_topics&post_type=bwl_advanced_faq
- > Network (severe)
wp-admin/admin-ajax.php - Failed to load resource: the server responded with a status of 400 (Bad Request)
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
7 plugin tags: faq search, accordion, advanced faq, faq accordion, faq vote...
bwl-advanced-faq-manager-lite/bwl-advanced-faq-manager-lite.php 77% from 13 tests
Analyzing the main PHP file in "BWL Advanced FAQ Manager Lite" version 1.0.9
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 209 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Requires at least: The required version number did not match the one declared in readme.txt ("5.6.5" instead of "5.6")
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
Good job! No executable or dangerous file extensions detected48,613 lines of code in 126 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 26,149 |
SVG | 4 | 0 | 12 | 9,519 |
PHP | 45 | 2,629 | 736 | 4,723 |
JavaScript | 28 | 1,155 | 478 | 2,884 |
PO File | 5 | 918 | 1,477 | 2,107 |
CSS | 15 | 356 | 80 | 1,586 |
Sass | 25 | 253 | 26 | 1,505 |
Markdown | 1 | 71 | 0 | 131 |
XML | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 5.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 85 | |
▷ Static methods | 11 | 12.94% |
▷ Public methods | 85 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 133 | |
▷ Named functions | 133 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 33 | |
▷ Global constants | 33 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
20 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/arrow_up.png | 1.03KB | 0.23KB | ▼ 77.65% |
images/faq_icon.png | 0.71KB | 0.65KB | ▼ 8.56% |
libs/tinymce/images/bwl-adv-faq-editor.png | 0.74KB | 0.65KB | ▼ 11.86% |
libs/analytics/images/support.png | 0.60KB | 0.63KB | 0.00% |
src/images/search.png | 1.23KB | 0.49KB | ▼ 60.46% |