Benchmarks
Plugin footprint 83% 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.04MB] [CPU: ▼0.38ms] Passed 4 tests
An overview of server-side resources used by BBWP FAQ
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 47.85 ▲7.07 |
Dashboard /wp-admin | 3.35 ▲0.04 | 52.40 ▼0.19 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 52.13 ▲1.17 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 92.51 ▼4.07 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.43 ▲1.56 |
All FAQs /wp-admin/edit.php?post_type=faq | 3.32 | 42.32 |
Add new /wp-admin/post-new.php?post_type=faq | 3.39 | 54.02 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for BBWP FAQ
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲33 | 13.18 ▼0.36 | 1.87 ▲0.09 | 46.53 ▲5.22 |
Dashboard /wp-admin | 2,220 ▲11 | 4.94 ▲0.09 | 107.82 ▼8.38 | 65.17 ▲28.14 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.00 ▼0.00 | 38.61 ▲2.24 | 34.96 ▲1.85 |
Add New Post /wp-admin/post-new.php | 1,546 ▲4 | 18.33 ▲0.00 | 667.36 ▲63.79 | 65.31 ▲7.12 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.22 ▲0.02 | 97.05 ▼3.07 | 71.30 ▲23.75 |
All FAQs /wp-admin/edit.php?post_type=faq | 1,088 | 2.03 | 35.65 | 34.81 |
Add new /wp-admin/post-new.php?post_type=faq | 2,195 | 7.58 | 176.54 | 138.58 |
Uninstaller [IO: ✅] [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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbwp-faq/languages/include-translations.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbwp-faq/functions/bbwp-faq-custom-posts.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbwp-faq/style/include-styles.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bbwp-faq/functions/bbwp-faq-shortcode.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bbwp-faq/bbwp-faq.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbwp-faq/js/include-js.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
- Screenshots: Please describe screenshot #3 in bbwp-faq/assets to your readme.txt
bbwp-faq/bbwp-faq.php Passed 13 tests
The entry point to "BBWP FAQ" version 1.1 is a PHP file that has certain tags in its header comment area
60 characters long description:
Preguntas frecuentes (FAQ) mediante Custom Post de Wordpress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected266 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 19 | 27 | 163 |
PO File | 2 | 36 | 76 | 92 |
CSS | 1 | 2 | 0 | 11 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/faq.png | 0.59KB | 0.78KB | 0.00% |