Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-includes/plugin.php+947
Undefined offset: 0
Server metrics [RAM: ▼1.69MB] [CPU: ▼195.04ms] Passed 4 tests
A check of server-side resources used by Beagl - Drag & Drop Form Builder for WordPress inspired by Gutenberg
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.94 ▼0.78 | 5.81 ▼21.85 |
Dashboard /wp-admin | 1.96 ▼1.10 | 7.10 ▼38.14 |
Posts /wp-admin/edit.php | 1.96 ▼1.15 | 6.61 ▼37.21 |
Add New Post /wp-admin/post-new.php | 1.96 ▼3.47 | 6.61 ▼676.74 |
Media Library /wp-admin/upload.php | 1.96 ▼1.04 | 6.60 ▼28.06 |
Server storage [IO: ▲12.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 70 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Beagl - Drag & Drop Form Builder for WordPress inspired by Gutenberg
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,776 ▲180 | 16.05 ▲0.48 | 8.63 ▼3.81 | 51.19 ▲0.47 |
Dashboard /wp-admin | 3,027 ▲90 | 5.92 ▼0.08 | 162.55 ▲10.93 | 136.53 ▲30.48 |
Posts /wp-admin/edit.php | 2,827 ▲88 | 2.72 ▼0.12 | 66.28 ▼5.51 | 86.28 ▼6.21 |
Add New Post /wp-admin/post-new.php | 3,999 ▲2,316 | 20.77 ▲2.25 | 481.38 ▲6.86 | 119.55 ▲5.50 |
Media Library /wp-admin/upload.php | 1,895 ▲85 | 5.03 ▲0.01 | 136.14 ▼31.23 | 141.27 ▲25.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-includes/plugin.php+947
Undefined offset: 0
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 no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/beagl/app/src/views/builder-page.php
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/beagl/lolita/helpers/loc.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function beagl\\misc\\chore\\add_shortcode() in wp-content/plugins/beagl/app/src/misc/chore.php:136
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/beagl/lolita/helpers/loc.php on line 15
- > PHP Notice
Undefined variable: logo in wp-content/plugins/beagl/app/src/views/dashboard_widget.php on line 3
- > PHP Warning
include_once(): Failed opening 'ABSPATH/wp-admin/includes/class-wp-filesystem-direct.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/beagl/lolita/helpers/loc.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'WP_Filesystem_Direct' not found in wp-content/plugins/beagl/lolita/helpers/loc.php:17
- > PHP Warning
include_once(): Failed opening 'ABSPATH/wp-admin/includes/class-wp-filesystem-base.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/beagl/lolita/helpers/loc.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/beagl/app/src/views/dashboard_widget.php:5
- > PHP Warning
include_once(ABSPATH/wp-admin/includes/class-wp-filesystem-direct.php): failed to open stream: No such file or directory in wp-content/plugins/beagl/lolita/helpers/loc.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/beagl/app/src/templates/single-form.php:11
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (39 tag instead of maximum 10)
beagl/beagl.php 85% from 13 tests
The principal PHP file in "Beagl - Drag & Drop Form Builder for WordPress inspired by Gutenberg" v. 1.0.4 is loaded by WordPress automatically on each request
The following require your attention:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
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
Success! There were no dangerous files found in this plugin2,621 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 320 | 1,151 | 1,892 |
JavaScript | 6 | 21 | 85 | 399 |
JSON | 6 | 0 | 0 | 188 |
CSS | 7 | 16 | 1 | 88 |
SVG | 2 | 0 | 0 | 53 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 30 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 2 | 18.18% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 191 | |
▷ Named functions | 148 | 77.49% |
▷ Anonymous functions | 43 | 22.51% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin