Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.65ms] Passed 4 tests
An overview of server-side resources used by RB Simple FAQs
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 38.40 ▼1.88 |
Dashboard /wp-admin | 3.42 ▲0.11 | 56.54 ▲4.99 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 50.21 ▼7.06 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 86.97 ▼6.66 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 40.20 ▲5.55 |
FAQ Category /wp-admin/edit-tags.php?taxonomy=faqs_cat&post_type=faqs | 3.46 | 34.97 |
Options /wp-admin/edit.php?post_type=faqs&page=rbd-faq-options | 3.31 | 35.71 |
FAQs /wp-admin/edit.php?post_type=faqs | 3.38 | 38.81 |
Add New /wp-admin/post-new.php?post_type=faqs | 3.49 | 58.18 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for RB Simple FAQs
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.25 ▼0.16 | 1.76 ▼0.05 | 41.43 ▼6.15 |
Dashboard /wp-admin | 2,226 ▲49 | 5.54 ▼0.13 | 94.72 ▲1.29 | 39.66 ▼2.78 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 1.96 ▼0.07 | 40.08 ▼0.50 | 36.02 ▼1.40 |
Add New Post /wp-admin/post-new.php | 1,558 ▲21 | 22.74 ▲4.64 | 667.42 ▲50.18 | 57.47 ▼9.75 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.10 ▼0.10 | 109.71 ▲6.13 | 48.85 ▲2.76 |
FAQ Category /wp-admin/edit-tags.php?taxonomy=faqs_cat&post_type=faqs | 1,312 | 2.12 | 32.05 | 32.72 |
Options /wp-admin/edit.php?post_type=faqs&page=rbd-faq-options | 1,279 | 2.33 | 37.21 | 44.97 |
FAQs /wp-admin/edit.php?post_type=faqs | 1,118 | 1.96 | 29.48 | 30.60 |
Add New /wp-admin/post-new.php?post_type=faqs | 2,451 | 7.78 | 175.66 | 68.73 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rb-simple-faqs/inc/custom_columns.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rb-simple-faqs/inc/settings.php:106
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rb-simple-faqs/faqs.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: customisation, questions and answers, faq, frequently asked questions, faqs
rb-simple-faqs/faqs.php 92% from 13 tests
The main PHP script in "RB Simple FAQs" version 1.1.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("rb-simple-faqs.php" instead of "faqs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,020 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 102 | 54 | 413 |
JavaScript | 3 | 39 | 46 | 185 |
CSS | 4 | 10 | 1 | 146 |
Markdown | 1 | 83 | 0 | 93 |
LESS | 1 | 12 | 19 | 92 |
HTML | 1 | 10 | 36 | 85 |
SVG | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 PNG file occupies 0.08MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshots/screenshot-1.png | 83.00KB | 23.48KB | ▼ 71.71% |