Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.62ms] Passed 4 tests
An overview of server-side resources used by Flowbox
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.39 ▼4.67 |
Dashboard /wp-admin | 3.32 ▲0.02 | 42.24 ▼2.70 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.54 ▼2.13 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.77 ▼16.78 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.28 ▼2.33 |
Server storage [IO: ▲7.43MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 62 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_flowlocal |
wp_userflow |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Flowbox
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,973 ▲227 | 15.03 ▲0.65 | 10.75 ▲9.03 | 38.56 ▼4.66 |
Dashboard /wp-admin | 2,242 ▲54 | 5.79 ▼0.11 | 110.36 ▲11.01 | 32.05 ▼14.25 |
Posts /wp-admin/edit.php | 2,122 ▲36 | 2.65 ▲0.66 | 47.16 ▲12.01 | 32.82 ▼3.99 |
Add New Post /wp-admin/post-new.php | 1,549 ▲7 | 23.85 ▲5.67 | 688.31 ▲38.31 | 55.96 ▼0.65 |
Media Library /wp-admin/upload.php | 1,490 ▲102 | 5.00 ▲0.78 | 107.38 ▼4.36 | 40.53 ▼10.06 |
Uninstaller [IO: ▲0.00MB] [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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/flowbox/index.php
- > /wp-content/plugins/flowbox/flowbox.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function flowbox_get_flow() in wp-content/plugins/flowbox/includes/flowboxdetails.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/flowbox/includes/setupwizard.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flowbox/includes/functions.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: ugc, influencer, flowbox, product tagging, engagement...
flowbox/flowbox.php Passed 13 tests
"Flowbox" version 1.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
260 characters long description:
Flowbox is an award-winning SaaS company offering a User Generated Content platform developed for established eCommerce brands that helps brands leverage and distribute social content throughout the buyer journey to increase engagement, social proof and sales.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin50,296 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 17 | 8,165 | 138 | 35,216 |
JavaScript | 8 | 3,540 | 1,622 | 12,092 |
PHP | 9 | 452 | 102 | 2,622 |
SVG | 3 | 0 | 0 | 366 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 26 | |
▷ Named functions | 26 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 15.22KB | 6.85KB | ▼ 55.03% |
assets/icon-256x256.png | 2.07KB | 2.07KB | 0.00% |