Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.47MB] [CPU: ▲503.35ms] 50% from 4 tests
Analyzing server-side resources used by WordPress Page Builder Plugin - X Builder
Please have a look at the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 1,068.85ms on /wp-admin/admin.php?page=redux_demo&tab=4)
- Extra CPU: Try to keep extra CPU usage under 200.00ms (currently 503.35ms on /wp-admin/admin.php?page=redux_demo&tab=4)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.53 | 61.70 ▲6.99 |
Dashboard /wp-admin | 5.35 ▲1.94 | 1,171.79 ▲1,127.47 |
Posts /wp-admin/edit.php | 5.31 ▲1.66 | 1,223.76 ▲1,159.72 |
Add New Post /wp-admin/post-new.php | 8.93 ▲1.95 | 1,136.75 ▼121.55 |
Media Library /wp-admin/upload.php | 5.03 ▲1.73 | 1,028.32 ▲1,000.47 |
Redux Framework /wp-admin/tools.php?page=redux-about | 4.94 | 1,090.95 |
Import / Export /wp-admin/admin.php?page=redux_demo&tab=5 | 5.54 | 2,136.40 |
General Settings /wp-admin/admin.php?page=redux_demo&tab=1 | 5.25 | 1,089.84 |
Options Object /wp-admin/admin.php?page=redux_demo&tab=4 | 5.25 | 1,068.85 |
Server storage [IO: ▲7.28MB] [DB: ▲0.06MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 636 new files
Database: no new tables, 3 new options
New WordPress options |
---|
redux_version_upgraded_from |
x_builder_options-transients |
x_builder_options |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress Page Builder Plugin - X Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,089 ▲335 | 16.31 ▲0.63 | 10.00 ▲4.20 | 2.55 ▲0.36 |
Dashboard /wp-admin | 3,055 ▲201 | 6.15 ▼0.00 | 123.59 ▼13.36 | 169.67 ▲5.94 |
Posts /wp-admin/edit.php | 2,783 ▲89 | 3.24 ▲0.01 | 66.26 ▼3.52 | 153.64 ▲7.64 |
Add New Post /wp-admin/post-new.php | 1,743 ▲82 | 20.03 ▲3.52 | 409.98 ▼85.49 | 201.37 ▼12.72 |
Media Library /wp-admin/upload.php | 1,771 ▲76 | 5.48 ▼0.05 | 148.28 ▲13.12 | 207.59 ▲22.61 |
Redux Framework /wp-admin/tools.php?page=redux-about | 1,413 | 4.05 | 112.21 | 213.13 |
Import / Export /wp-admin/admin.php?page=redux_demo&tab=5 | 1,691 | 3.92 | 86.44 | 174.01 |
General Settings /wp-admin/admin.php?page=redux_demo&tab=1 | 1,713 | 4.42 | 106.04 | 163.23 |
Options Object /wp-admin/admin.php?page=redux_demo&tab=4 | 1,692 | 3.83 | 100.35 | 156.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.06MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 3 options
- x_builder_options-transients
- x_builder_options
- redux_version_upgraded_from
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 8× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/x-builder/metaboxes/components/multiselect.php
- > /wp-content/plugins/x-builder/templates/builder.php
- > /wp-content/plugins/x-builder/x_builder/x_banner/subtitle.php
- > /wp-content/plugins/x-builder/x_builder/x_banner/content.php
- > /wp-content/plugins/x-builder/metaboxes/components/payments.php
- > /wp-content/plugins/x-builder/metaboxes/components/color.php
- > /wp-content/plugins/x-builder/metaboxes/components/datepicker.php
- > /wp-content/plugins/x-builder/metaboxes/fields/not_exist.php
- 269× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function stm_x_builder_get_params() in wp-content/plugins/x-builder/x_builder/x_categories_grid.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function stm_x_builder_get_params() in wp-content/plugins/x-builder/x_builder/x_column.php:10
- > PHP Warning
include(): Failed opening 'STM_X_BUILDER_DIR/metaboxes/components/color.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/x-builder/metaboxes/components_js/color.php on line 5
- > PHP Warning
include(): Failed opening 'STM_X_BUILDER_DIR/metaboxes/components/payments.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/x-builder/metaboxes/components_js/payments.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/x-builder/metaboxes/fields/iconpicker.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/x-builder/x-builder.php:15
- > PHP Fatal error
require_once(): Failed opening required 'STM_X_BUILDER_DIR/api/Endpoints.Class.php' (include_path='.:/usr/share/php') in wp-content/plugins/x-builder/api/main.php on line 3
- > PHP Warning
include(STM_X_BUILDER_DIR/metaboxes/components_js/typography.php): failed to open stream: No such file or directory in wp-content/plugins/x-builder/metaboxes/fields/typography.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Panel' not found in wp-content/plugins/x-builder/ReduxFramework/ReduxCore/inc/extensions/customizer/inc/customizer_panel.php:11
- > PHP Warning
include(STM_X_BUILDER_DIR/metaboxes/components_js/image.php): failed to open stream: No such file or directory in wp-content/plugins/x-builder/metaboxes/fields/image.php on line 11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=redux_demo&tab=5
- > Security (severe) in unknown
/wp-admin/admin.php?page=redux_demo&tab=5 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=45ddc1e1bf&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D45ddc1e1bf%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=redux_demo&tab=1
- > Security (severe) in unknown
/wp-admin/admin.php?page=redux_demo&tab=1 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=45ddc1e1bf&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D45ddc1e1bf%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Add images for these screenshots: #5 (visual editor), #6 (editor), #7 (landing page), #8 (drag-and-drop)
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
x-builder/x-builder.php 92% from 13 tests
The main PHP file in "WordPress Page Builder Plugin - X Builder" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 231 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin48,012 lines of code in 526 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 261 | 5,957 | 7,812 | 28,391 |
JavaScript | 142 | 2,878 | 2,252 | 14,588 |
Markdown | 4 | 586 | 0 | 1,756 |
SVG | 4 | 0 | 0 | 1,172 |
JSON | 2 | 184 | 0 | 930 |
CSS | 103 | 16 | 67 | 798 |
Bourne Shell | 4 | 31 | 50 | 122 |
XML | 3 | 1 | 0 | 111 |
HTML | 1 | 7 | 0 | 60 |
LESS | 1 | 0 | 0 | 53 |
YAML | 1 | 0 | 22 | 31 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
These items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 113)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 32.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 883.00 |
Average method complexity | 5.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 113.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 119 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 119 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 777 | |
▷ Static methods | 186 | 23.94% |
▷ Public methods | 558 | 71.81% |
▷ Protected methods | 153 | 19.69% |
▷ Private methods | 66 | 8.49% |
Functions | 112 | |
▷ Named functions | 111 | 99.11% |
▷ Anonymous functions | 1 | 0.89% |
Constants | 76 | |
▷ Global constants | 10 | 13.16% |
▷ Class constants | 66 | 86.84% |
▷ Public constants | 66 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
36 compressed PNG files occupy 0.19MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ReduxFramework/sample/patterns/wild_flowers.png | 46.05KB | 49.23KB | 0.00% |
ReduxFramework/ReduxCore/assets/img/toggle_tabs.png | 0.35KB | 0.35KB | 0.00% |
ReduxFramework/ReduxCore/inc/fields/spinner/arrow_left.png | 0.15KB | 0.12KB | ▼ 16.67% |
ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_inset-soft_95_fef1ec_1x100.png | 0.12KB | 0.16KB | 0.00% |
ReduxFramework/sample/patterns/triangular.png | 0.21KB | 0.22KB | 0.00% |