Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.30ms] Passed 4 tests
Analyzing server-side resources used by Flipbox Addon for WPBakery Page Builder (formerly Visual Composer)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.63 ▲2.97 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.88 ▼4.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 41.01 ▼6.63 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.98 ▼3.51 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.26 ▲1.77 |
Server storage [IO: ▲0.14MB] [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 |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Flipbox Addon for WPBakery Page Builder (formerly Visual Composer)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.81 ▲0.53 | 1.74 ▲0.16 | 44.55 ▲1.15 |
Dashboard /wp-admin | 2,209 ▲23 | 5.85 ▼0.03 | 100.74 ▼12.24 | 41.06 ▼3.33 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.00 ▼0.03 | 40.67 ▼0.47 | 32.29 ▼6.65 |
Add New Post /wp-admin/post-new.php | 1,514 ▼28 | 17.66 ▼0.58 | 674.20 ▲42.30 | 46.07 ▼10.64 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.34 ▲0.12 | 111.23 ▲12.30 | 47.83 ▲2.10 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% 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 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 items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/vc-flipbox/inc/helper.php
- > /wp-content/plugins/vc-flipbox/vc-flipbox.php
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/vc-flipbox/shortcodes/flip-box-advanced/flip-box-advanced.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_add_shortcode_param() in wp-content/plugins/vc-flipbox/admin/params/slider/slider-params.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_add_shortcode_param() in wp-content/plugins/vc-flipbox/admin/params/slider/slider-params.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/vc-flipbox/shortcodes/flip-box-two/flip-box-two.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/vc-flipbox/shortcodes/flip-box/flip-box.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: visual composer shortcode, visual composer plugin, tooltip, image hotspot
vc-flipbox/vc-flipbox.php 92% from 13 tests
The primary PHP file in "Flipbox Addon for WPBakery Page Builder (formerly Visual Composer)" version 1.1.8 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
There were no executable files found in this plugin3,147 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 203 | 172 | 2,445 |
CSS | 4 | 29 | 5 | 660 |
JavaScript | 3 | 14 | 6 | 42 |
PHP code Passed 2 tests
An short overview of 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.43 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 8.50 |
▷ Minimum method complexity | 5.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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 Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/flipbox_icon.png | 1.67KB | 1.01KB | ▼ 39.52% |