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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.39MB] [CPU: ▲2.12ms] Passed 4 tests
Analyzing server-side resources used by FAQ Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.38 | 45.93 ▲3.33 |
Dashboard /wp-admin | 3.71 ▲0.41 | 46.68 ▼3.71 |
Posts /wp-admin/edit.php | 3.76 ▲0.41 | 50.21 ▲4.41 |
Add New Post /wp-admin/post-new.php | 6.37 ▲0.48 | 99.54 ▲9.42 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 38.27 ▲4.45 |
FAQs /wp-admin/edit.php?post_type=question | 3.62 | 38.70 |
FAQ Tags /wp-admin/edit-tags.php?taxonomy=faq-tags&post_type=question | 3.56 | 34.83 |
FAQ Topics /wp-admin/edit-tags.php?taxonomy=faq-topic&post_type=question | 3.57 | 57.18 |
Instructions /wp-admin/edit.php?post_type=question&page=instructions | 3.54 | 31.43 |
Sort FAQs /wp-admin/edit.php?post_type=question&page=sort-page | 3.53 | 37.02 |
Add New FAQ /wp-admin/post-new.php?post_type=question | 6.36 | 83.76 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-comments |
widget_faq_cloud |
widget_recent_questions |
theysaidso_admin_options |
widget_faq_search |
widget_recent-posts |
widget_faq_random |
widget_theysaidso_widget |
db_upgraded |
widget_recent_faqtax |
... |
Browser metrics Passed 4 tests
Checking browser requirements for FAQ Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲91 | 13.21 ▼1.47 | 1.61 ▼1.09 | 40.31 ▼7.24 |
Dashboard /wp-admin | 2,252 ▲64 | 5.89 ▲0.03 | 95.87 ▼16.76 | 38.18 ▼5.01 |
Posts /wp-admin/edit.php | 2,135 ▲46 | 2.04 ▲0.07 | 38.71 ▲2.00 | 37.28 ▲5.88 |
Add New Post /wp-admin/post-new.php | 1,549 ▲14 | 17.76 ▼5.04 | 615.45 ▼38.57 | 49.90 ▼7.11 |
Media Library /wp-admin/upload.php | 1,428 ▲37 | 4.14 ▼0.05 | 97.82 ▼4.04 | 40.83 ▼4.58 |
FAQs /wp-admin/edit.php?post_type=question | 1,162 | 2.01 | 33.20 | 26.61 |
FAQ Tags /wp-admin/edit-tags.php?taxonomy=faq-tags&post_type=question | 1,280 | 2.14 | 25.82 | 26.01 |
FAQ Topics /wp-admin/edit-tags.php?taxonomy=faq-topic&post_type=question | 1,305 | 2.15 | 28.44 | 32.09 |
Instructions /wp-admin/edit.php?post_type=question&page=instructions | 1,005 | 2.03 | 23.08 | 59.92 |
Sort FAQs /wp-admin/edit.php?post_type=question&page=sort-page | 827 | 1.94 | 25.76 | 26.27 |
Add New FAQ /wp-admin/post-new.php?post_type=question | 1,573 | 17.26 | 879.96 | 30.35 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 11 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_faq_search
- widget_recent_questions
- widget_theysaidso_widget
- widget_recent_faqtax
- widget_recent-comments
- widget_faq_cloud
- widget_faq_random
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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
The following issues need your attention
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wordpress-faq-manager/lib/shortcodes.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordpress-faq-manager/lib/front.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordpress-faq-manager/lib/admin.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wordpress-faq-manager/lib/legacy.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wordpress-faq-manager/lib/widgets.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wordpress-faq-manager/faq-manager.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordpress-faq-manager/lib/types.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: custom post types, shortcodes, faq, frequently asked questions
wordpress-faq-manager/faq-manager.php 69% from 13 tests
The primary PHP file in "FAQ Manager" version 2.0.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wordpress-faq-manager.php" instead of "faq-manager.php")
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.4" instead of "7.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected9,391 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 6,700 |
PHP | 10 | 645 | 1,129 | 1,334 |
PO File | 3 | 351 | 351 | 943 |
Markdown | 1 | 86 | 0 | 181 |
JavaScript | 5 | 53 | 87 | 123 |
CSS | 4 | 30 | 8 | 110 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 15.64 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 84 | |
▷ Static methods | 15 | 17.86% |
▷ Public methods | 83 | 98.81% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.19% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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