Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.21MB] [CPU: ▼1.60ms] Passed 4 tests
Server-side resources used by LH Signup
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.21 | 46.07 ▲4.86 |
Dashboard /wp-admin | 3.55 ▲0.20 | 53.50 ▼0.48 |
Posts /wp-admin/edit.php | 3.66 ▲0.26 | 48.66 ▼4.30 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.20 | 87.47 ▼6.47 |
Media Library /wp-admin/upload.php | 3.47 ▲0.20 | 38.87 ▲4.84 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for LH Signup
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.31 ▼0.04 | 1.68 ▲0.01 | 43.47 ▼1.36 |
Dashboard /wp-admin | 2,198 ▲18 | 5.63 ▼0.02 | 97.84 ▲10.73 | 43.56 ▲0.66 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.94 ▼0.07 | 34.71 ▼7.19 | 36.09 ▼2.66 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.30 ▲0.39 | 644.90 ▲23.19 | 61.08 ▲5.82 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▲0.01 | 97.96 ▼36.32 | 43.86 ▼13.26 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/lh-signup/partials/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/lh-signup/lib/lang.php:8
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/lh-signup/partials/shortcode.php:1
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/lh-signup/templates/lh_signup-template.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/lh-signup/lib/duplicate.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 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
8 plugin tags: clone, network, copy site, copier, copy...
lh-signup/lh-signup.php 92% from 13 tests
"LH Signup" version 1.16's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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
Everything looks great! No dangerous files found in this plugin1,908 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 1,101 | 484 | 1,834 |
JavaScript | 3 | 56 | 6 | 74 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 154.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 137 | |
▷ Static methods | 99 | 72.26% |
▷ Public methods | 136 | 99.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.73% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 67 | |
▷ Global constants | 67 | 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
No PNG images were found in this plugin