Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.75MB] [CPU: ▼1.11ms] Passed 4 tests
This is a short check of server-side resources used by Pootle Pagebuilder - WordPress Page builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.19 ▲0.72 | 39.18 ▲2.69 |
Dashboard /wp-admin | 4.06 ▲0.76 | 46.95 ▼0.53 |
Posts /wp-admin/edit.php | 4.11 ▲0.76 | 43.59 ▼12.61 |
Add New Post /wp-admin/post-new.php | 7.96 ▲2.07 | 990.72 ▲890.98 |
Media Library /wp-admin/upload.php | 3.98 ▲0.75 | 40.76 ▲6.01 |
Freemius Debug [v.2.5.0.1] /wp-admin/admin.php?page=freemius | 4.16 | 38.37 |
Server storage [IO: ▲4.64MB] [DB: ▲0.27MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 329 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
fs_active_plugins |
widget_theysaidso_widget |
fs_gdpr |
widget_recent-posts |
fs_accounts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
fs_debug_mode |
Browser metrics Passed 4 tests
A check of browser resources used by Pootle Pagebuilder - WordPress Page builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,333 ▲587 | 14.20 ▼0.22 | 15.50 ▲13.82 | 27.12 ▼12.48 |
Dashboard /wp-admin | 2,256 ▲71 | 4.95 ▼0.10 | 114.48 ▲6.65 | 47.19 ▲5.45 |
Posts /wp-admin/edit.php | 2,136 ▲44 | 2.02 ▲0.00 | 36.03 ▼3.71 | 31.83 ▼4.41 |
Add New Post /wp-admin/post-new.php | 1,625 ▲111 | 23.44 ▲5.78 | 682.73 ▲71.37 | 36.27 ▼19.52 |
Media Library /wp-admin/upload.php | 1,498 ▲116 | 4.25 ▲0.06 | 99.11 ▼3.46 | 43.98 ▼1.53 |
Freemius Debug [v.2.5.0.1] /wp-admin/admin.php?page=freemius | 1,082 | 1.69 | 25.45 | 27.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.27MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/pootle-page-builder/wp-sdk/includes/class-freemius.php+8911
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 10 options
- fs_accounts
- fs_active_plugins
- theysaidso_admin_options
- db_upgraded
- fs_gdpr
- fs_debug_mode
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/pootle-page-builder/inc/live-editor/inc/tpl-tour.php
- > /wp-content/plugins/pootle-page-builder/inc/live-editor/inc/tpl-ipad-html.php
- 38× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pootle-page-builder/inc/modules/ninja-forms.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/pootle-page-builder/inc/addon-manager/class-manager.php:10
- > PHP Fatal error
require_once(): Failed opening required 'POOTLEPB_DIRinc/modules/pootle-cloud.php' (include_path='.:/usr/share/php') in wp-content/plugins/pootle-page-builder/inc/modules/init.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/pootle-page-builder/inc/class-custom-styles.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_url() in wp-content/plugins/pootle-page-builder/tpl/welcome.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/pootle-page-builder/tpl/add.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/pootle-page-builder/inc/class-content-blocks.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/pootle-page-builder/inc/styles-fields.php:435
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pootle-page-builder/inc/modules/pootle-cloud.php:80
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/pootle-page-builder/inc/vars.php:196
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Donate link: Please fix this invalid URI: ""
- Tags: There are too many tags (14 tag instead of maximum 10)
pootle-page-builder/pootle-page-builder.php Passed 13 tests
This is the main PHP file of "Pootle Pagebuilder - WordPress Page builder" version 5.7.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
127 characters long description:
Pootle Pagebuilder is a front-end, drag and drop page builder that makes it easy to create beautiful WordPress pages and posts.
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
Everything looks great! No dangerous files found in this plugin54,582 lines of code in 253 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 157 | 9,073 | 19,081 | 39,359 |
JavaScript | 49 | 1,360 | 1,041 | 9,267 |
Sass | 14 | 484 | 13 | 3,634 |
PO File | 3 | 513 | 576 | 1,149 |
CSS | 28 | 120 | 49 | 1,145 |
JSON | 1 | 0 | 0 | 26 |
Markdown | 1 | 0 | 0 | 2 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,029)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 69.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,029.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 89.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 67 | |
▷ Abstract classes | 2 | 2.99% |
▷ Concrete classes | 65 | 97.01% |
▷ Final classes | 8 | 12.31% |
Methods | 1,439 | |
▷ Static methods | 196 | 13.62% |
▷ Public methods | 1,036 | 71.99% |
▷ Protected methods | 32 | 2.22% |
▷ Private methods | 371 | 25.78% |
Functions | 149 | |
▷ Named functions | 144 | 96.64% |
▷ Anonymous functions | 5 | 3.36% |
Constants | 135 | |
▷ Global constants | 103 | 76.30% |
▷ Class constants | 32 | 23.70% |
▷ Public constants | 32 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
22 PNG files occupy 0.19MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wp-sdk/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
inc/live-editor/assets/images/tooltip-pointer.png | 0.56KB | 0.13KB | ▼ 77.60% |
inc/pootle-buttons/assets/pbtn.png | 1.58KB | 0.38KB | ▼ 75.90% |
inc/addon-manager/assets/images/warn.png | 0.65KB | 0.68KB | 0.00% |
inc/live-editor/assets/images/cell-width.png | 0.59KB | 0.11KB | ▼ 80.67% |