Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.65ms] Passed 4 tests
Server-side resources used by Beacon Lead Magnets and Lead Capture
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.32 ▼3.57 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.13 ▼1.39 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 42.67 ▼2.57 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 81.32 ▼15.05 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.69 ▲3.76 |
Beacon /wp-admin/admin.php?page=beaconby | 3.27 | 31.44 |
Help /wp-admin/admin.php?page=beaconby-help | 3.27 | 32.87 |
Create /wp-admin/admin.php?page=beaconby-create | 3.27 | 28.48 |
Connect /wp-admin/admin.php?page=beaconby-connect | 3.27 | 31.19 |
Server storage [IO: ▲1.91MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Beacon Lead Magnets and Lead Capture
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲87 | 14.22 ▼0.03 | 2.35 ▲0.55 | 44.86 ▲1.16 |
Dashboard /wp-admin | 2,229 ▲49 | 5.53 ▼0.13 | 86.93 ▼5.38 | 70.28 ▲25.74 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.97 ▼0.00 | 33.98 ▼3.78 | 33.81 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,570 ▲44 | 23.05 ▼0.10 | 676.41 ▲33.02 | 171.05 ▲115.80 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.20 ▼0.03 | 112.05 ▲1.99 | 79.58 ▲35.20 |
Beacon /wp-admin/admin.php?page=beaconby | 911 | 2.00 | 26.00 | 47.91 |
Help /wp-admin/admin.php?page=beaconby-help | 893 | 2.00 | 24.42 | 36.05 |
Create /wp-admin/admin.php?page=beaconby-create | 911 | 2.00 | 24.42 | 36.53 |
Connect /wp-admin/admin.php?page=beaconby-connect | 908 | 2.00 | 24.12 | 39.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=beaconby-connect
- > Notice in wp-content/plugins/beacon-by/classes/class.beacon_plugin.php+517
Undefined index: HTTPS
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
The following issues need your attention
- 9× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/beacon-by/views/widget/admin.php
- > /wp-content/plugins/beacon-by/views/widget/not_configured.php
- > /wp-content/plugins/beacon-by/views/dashboard/footer.tpl.php
- > /wp-content/plugins/beacon-by/views/dashboard/help.php
- > /wp-content/plugins/beacon-by/views/dashboard/embed.php
- > /wp-content/plugins/beacon-by/views/dashboard/header.tpl.php
- > /wp-content/plugins/beacon-by/views/widget/form.php
- > /wp-content/plugins/beacon-by/beacon-by.php
- > /wp-content/plugins/beacon-by/views/widget/widget.php
- 66× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/beacon-by/views/widget/widget.php on line 6
- > PHP Notice
Undefined variable: data in wp-content/plugins/beacon-by/views/dashboard/create.php on line 36
- > PHP Notice
Undefined variable: data in wp-content/plugins/beacon-by/views/dashboard/help.php on line 12
- > PHP Warning
Use of undefined constant BEACONBY_CREATE_TARGET - assumed 'BEACONBY_CREATE_TARGET' (this will throw an Error in a future version of PHP) in wp-content/plugins/beacon-by/views/dashboard/header.tpl.php on line 17
- > PHP Notice
Undefined variable: data in wp-content/plugins/beacon-by/views/dashboard/create.php on line 85
- > PHP Notice
Undefined variable: data in wp-content/plugins/beacon-by/views/dashboard/promote.php on line 49
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/beacon-by/views/dashboard/create.php on line 84
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/beacon-by/views/dashboard/create.php on line 60
- > PHP Notice
Undefined variable: data in wp-content/plugins/beacon-by/views/dashboard/promote.php on line 45
- > PHP Warning
Use of undefined constant BEACONBY_CREATE_TARGET - assumed 'BEACONBY_CREATE_TARGET' (this will throw an Error in a future version of PHP) in wp-content/plugins/beacon-by/views/dashboard/authorize.php on line 26
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: ebook, lead capture plugin, lead capture form, lead capture, protected content
beacon-by/beacon-by.php Passed 13 tests
The main file in "Beacon Lead Magnets and Lead Capture" v. 1.5.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
32 characters long description:
Create, Promote and Embed eBooks
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected2,568 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 368 | 177 | 920 |
SVG | 1 | 0 | 0 | 640 |
JavaScript | 4 | 180 | 12 | 528 |
CSS | 3 | 101 | 5 | 480 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 25.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 11 | 44.00% |
▷ Public methods | 15 | 60.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 40.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
i/beacon.png | 0.64KB | 0.51KB | ▼ 19.17% |