Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.18ms] Passed 4 tests
Server-side resources used by Flipbox Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.38 ▼1.80 |
Dashboard /wp-admin | 3.40 ▲0.10 | 47.97 ▼4.80 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 50.45 ▼1.85 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 92.46 ▼16.28 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 39.96 ▲4.84 |
Add New Flipbox /wp-admin/post-new.php?post_type=fb | 3.58 | 53.22 |
All Flipbox /wp-admin/edit.php?post_type=fb | 3.37 | 39.93 |
Server storage [IO: ▲6.82MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 139 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
flipbox_builder_Flipbox_default_Settings |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics 75% from 4 tests
Flipbox Builder: an overview of browser usage
You may want to improve the following
- Nodes: For the best user experience, please reduce the number of DOM nodes under 25,000 (currently 27,768 on /wp-admin/post-new.php?post_type=fb)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,974 ▲228 | 14.75 ▲0.16 | 4.91 ▲3.22 | 41.21 ▲0.15 |
Dashboard /wp-admin | 2,285 ▲103 | 6.39 ▲1.54 | 128.44 ▲23.37 | 43.90 ▼5.58 |
Posts /wp-admin/edit.php | 2,184 ▲92 | 3.02 ▲1.00 | 49.85 ▲10.28 | 35.81 ▲2.65 |
Add New Post /wp-admin/post-new.php | 1,596 ▲63 | 24.30 ▲0.89 | 690.94 ▼1.94 | 35.59 ▼24.52 |
Media Library /wp-admin/upload.php | 1,470 ▲79 | 5.51 ▲1.28 | 114.20 ▲12.36 | 44.95 ▼5.34 |
Add New Flipbox /wp-admin/post-new.php?post_type=fb | 27,768 | 5.92 | 384.15 | 107.85 |
All Flipbox /wp-admin/edit.php?post_type=fb | 1,162 | 2.99 | 41.62 | 31.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- flipbox_builder_Flipbox_default_Settings
Smoke tests 50% 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/flipbox-builder/admin/design.php
- 27× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/flipbox-builder/template/design-3.php:21
- > PHP Warning
Use of undefined constant FLIPBOXBUILDER_URL - assumed 'FLIPBOXBUILDER_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/flipbox-builder/template/design-1.php on line 2
- > PHP Warning
Use of undefined constant FLIPBOXBUILDER_URL - assumed 'FLIPBOXBUILDER_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/flipbox-builder/template/design-8.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/flipbox-builder/template-front/design-2.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/flipbox-builder/template/design-1.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/flipbox-builder/template/design-8.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/flipbox-builder/template-front/design-5.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/flipbox-builder/template-front/design-1.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/flipbox-builder/template-front/design-10.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flipbox-builder/admin/reg_post.php:48
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6, #7, #8, #9 in flipbox-builder/assets to your readme.txt
- Donate link: Invalid url: "#"
flipbox-builder/flipbox-builder.php 92% from 13 tests
The main file in "Flipbox Builder" v. 1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected32,745 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 3,090 | 2,119 | 17,059 |
CSS | 27 | 2,219 | 105 | 8,323 |
PHP | 29 | 296 | 53 | 4,692 |
SVG | 1 | 0 | 0 | 2,671 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 1.58MB with 0.65MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
template/img/product-cap.png | 109.45KB | 34.08KB | ▼ 68.86% |
template-front/img/product-glass-2.png | 43.11KB | 13.78KB | ▼ 68.04% |
template/img/cover-pic-1.png | 554.29KB | 599.33KB | 0.00% |
template-front/img/product-cap.png | 109.45KB | 34.08KB | ▼ 68.86% |
template-front/img/cover-pic-1.png | 554.29KB | 599.33KB | 0.00% |