Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼6.24ms] Passed 4 tests
Analyzing server-side resources used by LH Signing
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 37.89 ▼2.68 |
Dashboard /wp-admin | 3.57 ▲0.23 | 48.93 ▼9.86 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 41.07 ▼0.94 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 92.63 ▼11.49 |
Media Library /wp-admin/upload.php | 3.49 ▲0.27 | 34.81 ▲1.18 |
Signing Options /wp-admin/options-general.php?page=lh-signing/lh-signing.php | 3.46 | 30.56 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_lh_signing_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by LH Signing
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.55 ▼1.04 | 1.59 ▼0.13 | 37.44 ▼4.97 |
Dashboard /wp-admin | 2,207 ▲16 | 5.80 ▲0.93 | 97.58 ▼3.43 | 36.64 ▼1.61 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.16 ▲0.12 | 40.05 ▼1.20 | 36.75 ▲3.01 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.19 ▲4.99 | 636.53 ▲12.15 | 53.78 ▼12.14 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.21 ▲0.02 | 95.90 ▼4.37 | 40.55 ▼3.78 |
Signing Options /wp-admin/options-general.php?page=lh-signing/lh-signing.php | 795 | 2.03 | 25.91 | 26.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_lh_signing_widget
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=lh-signing/lh-signing.php
- > Notice in wp-content/plugins/lh-signing/partials/option-settings.php+11
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/lh-signing/partials/confirmed_email_message_metabox_content-output.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/lh-signing/lh-signing.php:2142
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/lh-signing/partials/initial_form_metabox_content-output.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/lh-signing/partials/email_message_metabox_content-output.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_editor() in wp-content/plugins/lh-signing/partials/confirmed_message_metabox_content-output.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_editor() in wp-content/plugins/lh-signing/partials/unconfirmed_message_metabox_content-output.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/lh-signing/partials/option-settings.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/lh-signing/lh_signing-template.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 13 tag instead of maximum 10
lh-signing/lh-signing.php Passed 13 tests
"LH Signing" version 2.83's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
65 characters long description:
Adds signing functionality, create petitions, validated lists etc
Code Analysis Passed 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 plugin1,515 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 1,394 | 327 | 1,506 |
JavaScript | 1 | 8 | 0 | 9 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 55.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 97 | |
▷ Static methods | 2 | 2.06% |
▷ Public methods | 52 | 53.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 45 | 46.39% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin