Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.48MB] [CPU: ▼10.90ms] Passed 4 tests
A check of server-side resources used by Fusion Page Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.16 | 35.74 ▼6.44 |
Dashboard /wp-admin | 3.44 ▲0.14 | 46.50 ▼0.84 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 45.57 ▼0.16 |
Add New Post /wp-admin/post-new.php | 3.57 ▼2.32 | 60.35 ▼36.16 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.13 ▲2.30 |
Fusion /wp-admin/options-general.php?page=fsn_settings | 3.31 | 29.63 |
Add New /wp-admin/post-new.php?post_type=template | 3.49 | 42.21 |
All Templates /wp-admin/edit.php?post_type=template | 3.41 | 37.26 |
Add New /wp-admin/post-new.php?post_type=component | 3.49 | 49.39 |
All Components /wp-admin/edit.php?post_type=component | 3.41 | 35.45 |
Server storage [IO: ▲1.96MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 112 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
fsn_current_version |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
fsn_options |
Browser metrics Passed 4 tests
A check of browser resources used by Fusion Page Builder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,218 ▲483 | 14.27 ▼0.13 | 17.92 ▲15.68 | 46.54 ▲1.53 |
Dashboard /wp-admin | 2,265 ▲77 | 5.03 ▼0.88 | 99.82 ▼2.73 | 36.93 ▼4.36 |
Posts /wp-admin/edit.php | 2,154 ▲83 | 2.30 ▲0.25 | 53.30 ▲17.37 | 45.52 ▲7.39 |
Add New Post /wp-admin/post-new.php | 3,323 ▲1,785 | 8.34 ▼14.98 | 236.16 ▼351.08 | 96.45 ▲38.48 |
Media Library /wp-admin/upload.php | 1,450 ▲62 | 4.41 ▲0.18 | 93.88 ▼1.96 | 42.60 ▲0.47 |
Fusion /wp-admin/options-general.php?page=fsn_settings | 896 | 1.86 | 24.43 | 26.83 |
Add New /wp-admin/post-new.php?post_type=template | 2,357 | 8.10 | 230.70 | 61.62 |
All Templates /wp-admin/edit.php?post_type=template | 1,112 | 2.22 | 30.90 | 28.48 |
Add New /wp-admin/post-new.php?post_type=component | 2,359 | 8.10 | 196.01 | 59.17 |
All Components /wp-admin/edit.php?post_type=component | 1,115 | 2.22 | 31.01 | 30.42 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- fsn_current_version
- widget_recent-comments
- widget_recent-posts
- fsn_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=fsn_settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=fsn_settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
Almost there! Just fix the following items
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/fusion/includes/utilities/functions.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion/includes/classes/query.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion/includes/classes/components.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion/includes/classes/custom-list.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion/fusion-core.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion/includes/extensions/code.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion/includes/classes/templates.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/fusion/includes/classes/tabs.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion/includes/classes/settings.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion/includes/classes/button.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
fusion/fusion-core.php 92% from 13 tests
The main file in "Fusion Page Builder" v. 1.6.1 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:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("fusion.php" instead of "fusion-core.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected29,081 lines of code in 95 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 60 | 3,077 | 1,286 | 13,491 |
CSS | 19 | 992 | 256 | 9,259 |
PHP | 15 | 642 | 1,503 | 3,961 |
SVG | 1 | 0 | 3 | 2,370 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 111)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 67.55 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 330.00 |
Average method complexity | 8.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 111.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 103 | |
▷ Static methods | 12 | 11.65% |
▷ Public methods | 101 | 98.06% |
▷ Protected methods | 2 | 1.94% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 20 | 95.24% |
▷ Anonymous functions | 1 | 4.76% |
Constants | 10 | |
▷ Global constants | 1 | 10.00% |
▷ Class constants | 9 | 90.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
11 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/css/jquery-ui-1.11.4.custom/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
includes/css/jquery-ui-1.11.4.custom/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
includes/css/jquery-ui-1.11.4.custom/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
includes/css/jquery-ui-1.11.4.custom/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |
includes/css/jquery-ui-1.11.4.custom/images/ui-bg_glass_75_dadada_1x400.png | 0.26KB | 0.16KB | ▼ 38.93% |