Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼138.47ms] Passed 4 tests
An overview of server-side resources used by WP-FlyBox
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.03 | 37.36 ▲8.68 |
Dashboard /wp-admin | 3.09 ▲0.03 | 49.88 ▲1.83 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 48.82 ▲8.80 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 91.66 ▼567.56 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 36.84 ▲3.18 |
WP-FlyBox /wp-admin/options-general.php?page=WP-FlyBox | 3.44 | 467.80 |
Server storage [IO: ▲1.09MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 195 new files
Database: no new tables, 256 new options
New WordPress options |
---|
wpflybox_my_subscription_tab_height |
wpflybox_tab6_auto_out_cookie |
wpflybox_deviant_onclick_js |
wpflybox_my_twitter_tab |
wpflybox_tab4 |
wpflybox_tab2 |
wpflybox_remove_filler |
wpflybox_my_subscription_tab |
wpflybox_my_facebook_tab_open |
wpflybox_seperation |
... |
Browser metrics Passed 4 tests
WP-FlyBox: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,813 ▲217 | 16.19 ▲0.68 | 14.31 ▲5.79 | 47.06 ▲0.74 |
Dashboard /wp-admin | 2,997 ▲63 | 5.95 ▲0.02 | 140.97 ▼6.22 | 121.46 ▼1.27 |
Posts /wp-admin/edit.php | 2,741 ▲2 | 2.69 ▼0.01 | 67.31 ▲1.45 | 88.46 ▼8.06 |
Add New Post /wp-admin/post-new.php | 1,503 ▼180 | 18.47 ▲0.14 | 348.82 ▼26.03 | 108.47 ▲0.75 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.02 ▼0.03 | 155.30 ▲5.74 | 116.93 ▼8.45 |
WP-FlyBox /wp-admin/options-general.php?page=WP-FlyBox | 1,403 | 2.45 | 55.06 | 80.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 output text when accessed directly:
- > /wp-content/plugins/wp-flybox/contact.php
- > /wp-content/plugins/wp-flybox/static/securityimage/security-image.php
- 41× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-flybox/includes/googleplus_content.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-flybox/includes/custom4_tab.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-flybox/includes/twitter_content.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-flybox/includes/facebook_content.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-flybox/head_import.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-flybox/includes/custom4_content.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-flybox/includes/pinterest_tab.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-flybox/includes/pinterest_content.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-flybox/includes/tumblr_tab.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-flybox/includes/contact_tab.php:2
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (Some of the default tabs.), #2 (Tabs on the left side of page.), #3 (Example of custom colored tabs to match your theme.), #4 (LinkedIn hovered over.), #5 (Facebook hovered over.), #6 (Display options.), #7 (Tab setup and configuration.), #8 (Custom color configuration)
- Tags: You are using too many tags: 24 tag instead of maximum 10
wp-flybox/wp-flybox.php 92% from 13 tests
Analyzing the main PHP file in "WP-FlyBox" version 6.46
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 163 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin6,262 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 54 | 59 | 2,477 | 5,483 |
JavaScript | 2 | 0 | 38 | 779 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 37.75 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 2.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 146 | |
▷ Static methods | 9 | 6.16% |
▷ Public methods | 142 | 97.26% |
▷ Protected methods | 2 | 1.37% |
▷ Private methods | 2 | 1.37% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.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
130 compressed PNG files occupy 0.62MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/icons/custom/webcam.png | 1.11KB | 1.14KB | 0.00% |
static/icons/custom/arrow_down.png | 0.48KB | 0.49KB | 0.00% |
static/icons/custom/info.png | 0.67KB | 0.68KB | 0.00% |
static/icons/custom/old_phone.png | 0.70KB | 0.72KB | 0.00% |
static/icons/facebook.png | 0.51KB | 0.52KB | 0.00% |