Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.38MB] [CPU: ▼1.01ms] Passed 4 tests
An overview of server-side resources used by Borderless – Widgets, Elements, Templates and Toolkit for Elementor & Gutenberg
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.26 ▲0.80 | 38.11 ▼5.72 |
Dashboard /wp-admin | 4.89 ▲1.54 | 59.83 ▼4.55 |
Posts /wp-admin/edit.php | 4.94 ▲1.59 | 67.85 ▲15.79 |
Add New Post /wp-admin/post-new.php | 7.48 ▲1.59 | 101.03 ▼4.75 |
Media Library /wp-admin/upload.php | 4.82 ▲1.59 | 49.61 ▲10.99 |
Library /wp-admin/admin.php?page=pt-library | 4.62 | 38.97 |
Post Types /wp-admin/edit.php?post_type=borderless_cpt | 4.86 | 48.81 |
Server storage [IO: ▲2.85MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 167 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Borderless – Widgets, Elements, Templates and Toolkit for Elementor & Gutenberg
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲187 | 13.92 ▼0.43 | 13.00 ▲11.08 | 39.93 ▼3.76 |
Dashboard /wp-admin | 2,232 ▲52 | 5.56 ▼0.05 | 87.48 ▼11.36 | 73.87 ▲32.78 |
Posts /wp-admin/edit.php | 2,155 ▲52 | 1.99 ▼0.04 | 38.24 ▲2.30 | 35.82 ▲1.20 |
Add New Post /wp-admin/post-new.php | 6,414 ▲4,886 | 27.85 ▲4.89 | 887.92 ▲196.63 | 36.89 ▼17.77 |
Media Library /wp-admin/upload.php | 1,452 ▲52 | 4.14 ▼0.05 | 99.23 ▼17.75 | 77.62 ▲28.34 |
License /wp-admin/borderless-license.php | 26 | 0.42 | 0.09 | 15.25 |
Library /wp-admin/admin.php?page=pt-library | 28 | 0.42 | 0.08 | 5.53 |
Icon Fonts /wp-admin/borderless.php?page=borderless-fonts | 26 | 0.42 | 0.13 | 6.29 |
System Info /wp-admin/borderless.php?page=borderless-system-info | 26 | 0.42 | 0.09 | 8.00 |
Settings /wp-admin/borderless.php | 26 | 0.42 | 0.07 | 6.07 |
Library /wp-admin/borderless.php?page=borderless-library | 26 | 0.42 | 0.14 | 7.51 |
Post Types /wp-admin/edit.php?post_type=borderless_cpt | 1,121 | 1.95 | 31.42 | 27.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% 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
Please take a closer look at the following
- 14× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/borderless/includes/icon-manager/icon-manager.php
- > /wp-content/plugins/borderless/modules/wpbakery/elements/pricing.php
- > /wp-content/plugins/borderless/modules/wpbakery/elements/list-group.php
- > /wp-content/plugins/borderless/modules/wpbakery/elements/modal.php
- > /wp-content/plugins/borderless/modules/wpbakery/elements/alert.php
- > /wp-content/plugins/borderless/modules/wpbakery/elements/progress-bar.php
- > /wp-content/plugins/borderless/modules/wpbakery/elements/icon.php
- > /wp-content/plugins/borderless/modules/wpbakery/elements/circular-progress-bar.php
- > /wp-content/plugins/borderless/modules/wpbakery/elements/infobox.php
- > /wp-content/plugins/borderless/modules/wpbakery/elements/icon-group.php
- 18× 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/borderless/modules/wpbakery/custom-default-elements.php:13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/borderless/includes/library/inc/PluginInstallerSkinSilent.php on line 6
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-upgrader.php' (include_path='.:/usr/share/php') in wp-content/plugins/borderless/includes/library/inc/PluginInstallerSkin.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'AwesomeMotive\\WPContentImporter2\\WXRImporter' not found in wp-content/plugins/borderless/includes/library/vendor/awesomemotive/wp-content-importer-v2/src/Importer.php:7
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-upgrader.php): failed to open stream: No such file or directory in wp-content/plugins/borderless/includes/library/inc/PluginInstallerSkin.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'WP_Importer' not found in wp-content/plugins/borderless/includes/library/vendor/awesomemotive/wp-content-importer-v2/src/WXRImporter.php:7
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-upgrader.php): failed to open stream: No such file or directory in wp-content/plugins/borderless/includes/library/inc/PluginInstallerSkinSilent.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'AwesomeMotive\\WPContentImporter2\\WXRImporter' not found in wp-content/plugins/borderless/includes/library/inc/WXRImporter.php:5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/borderless/includes/library/inc/PluginInstallerSkin.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function LIBRARY\\get_option() in wp-content/plugins/borderless/includes/library/views/plugin-page.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/borderless-license.php
- > Network (severe)
wp-admin/borderless-license.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pt-library
- > Network (severe)
wp-admin/admin.php?page=pt-library - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/borderless.php?page=borderless-fonts
- > Network (severe)
wp-admin/borderless.php?page=borderless-fonts - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/borderless.php?page=borderless-system-info
- > Network (severe)
wp-admin/borderless.php?page=borderless-system-info - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/borderless.php
- > Network (severe)
wp-admin/borderless.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/borderless.php?page=borderless-library
- > Network (severe)
wp-admin/borderless.php?page=borderless-library - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: gutenberg, widgets, elements, templates, elementor
borderless/borderless.php Passed 13 tests
The entry point to "Borderless – Widgets, Elements, Templates and Toolkit for Elementor & Gutenberg" version 1.5.2 is a PHP file that has certain tags in its header comment area
71 characters long description:
One service packed with powerful tools to help you reach your purposes.
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 plugin46,028 lines of code in 140 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 89 | 5,666 | 1,699 | 28,396 |
CSS | 27 | 1,097 | 150 | 9,302 |
JavaScript | 21 | 1,824 | 926 | 8,163 |
Sass | 1 | 5 | 0 | 142 |
SVG | 2 | 0 | 0 | 25 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 288.00 |
Average method complexity | 3.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 73 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 73 | 100.00% |
▷ Final classes | 3 | 4.11% |
Methods | 552 | |
▷ Static methods | 46 | 8.33% |
▷ Public methods | 366 | 66.30% |
▷ Protected methods | 93 | 16.85% |
▷ Private methods | 93 | 16.85% |
Functions | 40 | |
▷ Named functions | 35 | 87.50% |
▷ Anonymous functions | 5 | 12.50% |
Constants | 20 | |
▷ Global constants | 15 | 75.00% |
▷ Class constants | 5 | 25.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
16 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/wpbakery/images/testimonial.png | 0.55KB | 0.32KB | ▼ 42.14% |
modules/wpbakery/images/infobox.png | 0.23KB | 0.15KB | ▼ 33.33% |
modules/wpbakery/images/pricing.png | 0.75KB | 0.35KB | ▼ 53.24% |
modules/wpbakery/images/semi-circular-progress-bar.png | 0.41KB | 0.22KB | ▼ 46.02% |
modules/wpbakery/images/progress-bar.png | 0.20KB | 0.13KB | ▼ 33.98% |