Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.73MB] [CPU: ▲20.29ms] 75% from 4 tests
An overview of server-side resources used by Easy FAQs
Please take the time to fix the following items
- CPU: The total CPU usage must kept under 500.00ms (currently 1,074.95ms on /wp-admin/admin.php?page=easy_faqs_pro_privacy_notice)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.41 ▲0.94 | 69.47 ▲31.24 |
Dashboard /wp-admin | 4.28 ▲0.98 | 80.77 ▲35.57 |
Posts /wp-admin/edit.php | 4.34 ▲0.98 | 71.34 ▲27.22 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 79.75 ▼11.99 |
Media Library /wp-admin/upload.php | 4.21 ▲0.98 | 69.77 ▲34.68 |
Help & Instructions /wp-admin/admin.php?page=easy-faqs-help | 4.18 | 72.53 |
About Plugin /wp-admin/admin.php?page=easy-faqs-settings_aloha | 4.18 | 62.99 |
Privacy Notice /wp-admin/admin.php?page=easy_faqs_pro_privacy_notice | 4.18 | 1,074.95 |
Add New FAQ /wp-admin/post-new.php?post_type=faq | 5.90 | 73.53 |
FAQ Category /wp-admin/edit-tags.php?taxonomy=easy-faq-category&post_type=faq | 4.20 | 65.15 |
FAQs /wp-admin/edit.php?post_type=faq | 4.24 | 62.90 |
Upgrade To Pro /wp-admin/admin.php?page=easy-faqs-upgrade-to-pro | 4.17 | 58.53 |
Basic Options /wp-admin/admin.php?page=easy-faqs-settings | 4.73 | 79.02 |
Shortcode Generator /wp-admin/admin.php?page=easy-faqs-shortcode-generator | 4.24 | 64.34 |
Themes /wp-admin/admin.php?page=easy-faqs-themes | 4.19 | 72.31 |
Server storage [IO: ▲2.16MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 170 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_searchfaqswidget |
widget_recent-comments |
theysaidso_admin_options |
widget_faqsbycategorywidget |
db_upgraded |
widget_listfaqswidget |
widget_singlefaqwidget |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy FAQs
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,028 ▲282 | 14.14 ▼0.45 | 5.59 ▲3.78 | 30.94 ▼8.48 |
Dashboard /wp-admin | 2,338 ▲149 | 5.32 ▲0.35 | 105.15 ▼15.29 | 45.11 ▼0.64 |
Posts /wp-admin/edit.php | 2,228 ▲139 | 2.20 ▲0.18 | 32.63 ▼1.11 | 30.16 ▼5.30 |
Add New Post /wp-admin/post-new.php | 1,662 ▲148 | 19.20 ▲1.63 | 636.35 ▼40.06 | 53.89 ▲1.68 |
Media Library /wp-admin/upload.php | 1,522 ▲131 | 4.57 ▲0.37 | 97.03 ▼5.84 | 44.80 ▼0.85 |
Help & Instructions /wp-admin/admin.php?page=easy-faqs-help | 1,038 | 2.26 | 38.43 | 38.03 |
About Plugin /wp-admin/admin.php?page=easy-faqs-settings_aloha | 1,035 | 2.34 | 28.78 | 33.25 |
Privacy Notice /wp-admin/admin.php?page=easy_faqs_pro_privacy_notice | 912 | 2.15 | 26.68 | 24.80 |
Add New FAQ /wp-admin/post-new.php?post_type=faq | 6,352 | 22.92 | 894.54 | 35.46 |
FAQ Category /wp-admin/edit-tags.php?taxonomy=easy-faq-category&post_type=faq | 1,401 | 2.23 | 29.73 | 30.27 |
FAQs /wp-admin/edit.php?post_type=faq | 1,224 | 2.46 | 33.95 | 31.08 |
Upgrade To Pro /wp-admin/admin.php?page=easy-faqs-upgrade-to-pro | 1,184 | 2.71 | 32.12 | 95.06 |
Basic Options /wp-admin/admin.php?page=easy-faqs-settings | 13,568 | 3.57 | 92.72 | 45.13 |
Shortcode Generator /wp-admin/admin.php?page=easy-faqs-shortcode-generator | 1,681 | 7.20 | 130.38 | 62.78 |
Themes /wp-admin/admin.php?page=easy-faqs-themes | 1,366 | 2.83 | 54.14 | 44.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_searchfaqswidget
- widget_singlefaqwidget
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_listfaqswidget
- widget_faqsbycategorywidget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=faq
- > User deprecated in wp-includes/functions.php+5828
Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead.
- > GET request to /wp-admin/admin.php?page=easy-faqs-shortcode-generator
- > User deprecated in wp-includes/functions.php+5828
Hook media_buttons_context is deprecated since version 3.5.0! Use media_buttons instead.
SRP 50% 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
Please fix the following
- 15× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-faqs/include/widgets/list_faqs_widget.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/easy-faqs/include/tgmpa/tgmpa/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-faqs/include/widgets/search_faqs_widget.php:21
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-faqs/include/widgets/faqs_by_category_widget.php:19
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/easy-faqs/include/Easy_FAQs_Update_Notices.php on line 2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-faqs/include/Easy_FAQs_Update_Notices.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/easy-faqs/include/tgmpa/init.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/easy-faqs/include/tgmpa/init.php:5
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/easy-faqs/include/Easy_FAQs_Update_Notices.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-faqs/include/widgets/single_faq_widget.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 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
6 plugin tags: faq submission, frequently asked questions, faq list, faqs, knowledgebase...
easy-faqs/easy-faqs.php Passed 13 tests
The main file in "Easy FAQs" v. 3.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
122 characters long description:
Easy FAQs - Provides custom post type, shortcodes, widgets, and other functionality for Frequently Asked Questions (FAQs).
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 plugin21,033 lines of code in 80 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 1,200 | 2,253 | 6,255 |
PO File | 17 | 1,449 | 1,993 | 4,842 |
CSS | 18 | 349 | 90 | 4,323 |
JSON | 1 | 0 | 0 | 2,601 |
JavaScript | 13 | 277 | 241 | 1,871 |
SVG | 1 | 0 | 0 | 685 |
Markdown | 2 | 67 | 0 | 330 |
HTML | 1 | 0 | 0 | 126 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 33.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.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 | 286 | |
▷ Static methods | 9 | 3.15% |
▷ Public methods | 260 | 90.91% |
▷ Protected methods | 23 | 8.04% |
▷ Private methods | 3 | 1.05% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
65 PNG files occupy 0.16MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
include/img/theme-sprite-up-down.png | 3.10KB | 5.42KB | 0.00% |
include/img/browser-preview-left.png | 1.29KB | 0.83KB | ▼ 35.28% |
include/img/banner-tip-brown.png | 0.52KB | 0.40KB | ▼ 24.25% |
include/lib/BikeShed/chosen/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
include/img/qmark-circle-orange.png | 0.70KB | 0.39KB | ▼ 44.35% |