Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.12ms] Passed 4 tests
Analyzing server-side resources used by Frontend Registration - Contact Form 7
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.32 ▲2.15 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.28 ▼21.36 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.82 ▼3.20 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 98.94 ▼6.07 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.95 ▲2.47 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Frontend Registration - Contact Form 7
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.30 ▼1.00 | 1.97 ▼0.02 | 43.11 ▼0.83 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.04 | 107.74 ▼8.06 | 40.67 ▼4.63 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.18 | 39.81 ▼1.92 | 34.64 ▲1.43 |
Add New Post /wp-admin/post-new.php | 1,520 ▼0 | 23.07 ▲0.11 | 623.10 ▼50.05 | 54.42 ▼2.10 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.30 ▲0.09 | 98.36 ▼8.79 | 43.84 ▼4.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: There are too many tags (18 tag instead of maximum 10)
- Requires at least: Version not formatted correctly
- Screenshots: These screenshots do not have images: #1 (Screenshot 'screenshot-1.png' Shows 'registration settings' tab in contact form edit section.), #2 (Screenshot 'screenshot-2.png' Shows User Role change option in settings.)
frontend-registration-contact-form-7/frontend-registration-cf7.php 69% from 13 tests
"Frontend Registration - Contact Form 7" version 5.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("frontend-registration-contact-form-7.php" instead of "frontend-registration-cf7.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 194 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin273 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 48 | 37 | 272 |
CSS | 1 | 0 | 0 | 1 |
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.21 |
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 | 10 | |
▷ Named functions | 8 | 80.00% |
▷ Anonymous functions | 2 | 20.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
2 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 18.04KB | 10.59KB | ▼ 41.31% |
screenshot-2.png | 18.32KB | 10.67KB | ▼ 41.78% |