Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/register-here/register-here.php+93
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.35ms] Passed 4 tests
An overview of server-side resources used by Register here!
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.08 ▲0.69 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.90 ▼3.31 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 41.29 ▼10.64 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.72 ▼7.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.95 ▲0.22 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_reghere_group |
wp_reghere_participant |
New WordPress options |
---|
register_here_db_version |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Register here!
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.16 ▼0.19 | 1.67 ▼0.27 | 44.20 ▲3.90 |
Dashboard /wp-admin | 2,198 ▲21 | 5.64 ▼0.03 | 93.31 ▲10.17 | 41.58 ▼1.31 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.05 | 32.74 ▼2.38 | 36.10 ▲2.62 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.23 ▼0.14 | 663.25 ▼18.32 | 51.08 ▼10.41 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.13 ▼0.14 | 95.27 ▼5.67 | 43.75 ▼2.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_reghere_participant
- wp_reghere_group
- This plugin does not fully uninstall, leaving 7 options in the database
- register_here_db_version
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/register-here/register-here-admin.php:10
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/register-here/register-here-globals.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template() in wp-content/plugins/register-here/register-here-globals.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function reghere_log_me() in wp-content/plugins/register-here/register-here-database.php:15
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/register-here/register-here-globals.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template() in wp-content/plugins/register-here/register-here-globals.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (The registration form: register-here--registration-form.png), #2 (The list of participants: register-here--participants-list.png), #3 (The settings-panel show the extra fields: register-here--settings-extra-fields.png)
- Plugin Name: You should set the name of your plugin on the first line (
=== register-here ===
) - Donate link: Please fix this invalid url: "none"
register-here/register-here.php Passed 13 tests
The entry point to "Register here!" version 0.3.0 is a PHP file that has certain tags in its header comment area
24 characters long description:
Registration for events.
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
Success! There were no dangerous files found in this plugin939 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 303 | 211 | 800 |
PO File | 1 | 60 | 136 | 139 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
3 compressed PNG files occupy 0.06MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshots/register-here--registration-form.png | 11.79KB | 10.65KB | ▼ 9.62% |
screenshots/register-here--participants-list.png | 21.56KB | 20.93KB | ▼ 2.92% |
screenshots/register-here--settings-extra-fields.png | 28.65KB | 28.04KB | ▼ 2.14% |