Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▲2.40ms] Passed 4 tests
A check of server-side resources used by Simple Visitor Registration Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 53.04 ▲11.95 |
Dashboard /wp-admin | 3.46 ▲0.15 | 53.44 ▲3.90 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 52.46 ▲5.29 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 92.72 ▼4.13 |
Media Library /wp-admin/upload.php | 3.39 ▲0.15 | 39.95 ▲4.54 |
Export and Delete Entries /wp-admin/admin.php?page=simple-visitor-registration | 3.35 | 30.78 |
Visitor Registration reCAPTCHA /wp-admin/admin.php?page=simple-visitor-registration-captcha | 3.36 | 36.31 |
Visitor Registration Help /wp-admin/admin.php?page=simple-visitor-registration-help | 3.36 | 31.07 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 62 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_visitor_registration_logger |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
simple-visitor-registration_db_version |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Visitor Registration Form
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,981 ▲220 | 13.48 ▼0.76 | 8.83 ▲6.92 | 42.12 ▲1.93 |
Dashboard /wp-admin | 2,279 ▲108 | 5.64 ▲0.09 | 86.11 ▼6.61 | 40.03 ▼4.15 |
Posts /wp-admin/edit.php | 2,185 ▲82 | 2.03 ▲0.02 | 36.29 ▼2.05 | 31.05 ▼6.44 |
Add New Post /wp-admin/post-new.php | 1,569 ▲41 | 18.43 ▼4.50 | 637.71 ▼24.83 | 67.95 ▲13.44 |
Media Library /wp-admin/upload.php | 1,488 ▲91 | 4.20 ▲0.06 | 97.18 ▼6.94 | 46.36 ▼0.10 |
Export and Delete Entries /wp-admin/admin.php?page=simple-visitor-registration | 893 | 2.20 | 27.41 | 27.54 |
Visitor Registration reCAPTCHA /wp-admin/admin.php?page=simple-visitor-registration-captcha | 892 | 1.69 | 28.47 | 29.20 |
Visitor Registration Help /wp-admin/admin.php?page=simple-visitor-registration-help | 947 | 2.17 | 23.52 | 30.60 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_visitor_registration_logger
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- simple-visitor-registration_db_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/simple-visitor-registration-form/public/partials/simple-visitor-registration-public-display.php
- > /wp-content/plugins/simple-visitor-registration-form/trunk/public/partials/simple-visitor-registration-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: form, registration
simple-visitor-registration-form/simple-visitor-registration.php 85% from 13 tests
The main PHP file in "Simple Visitor Registration Form" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-visitor-registration-form.php" instead of "simple-visitor-registration.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin1,064 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 332 | 692 | 778 |
JavaScript | 2 | 13 | 0 | 146 |
Sass | 1 | 11 | 3 | 70 |
CSS | 2 | 3 | 4 | 62 |
SVG | 3 | 0 | 0 | 8 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 96 | |
▷ Static methods | 20 | 20.83% |
▷ Public methods | 86 | 89.58% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 10.42% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
No PNG images were found in this plugin