Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.06MB] [CPU: ▼15.41ms] Passed 4 tests
Analyzing server-side resources used by Multi Step Registration Form Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 33.65 ▼6.36 |
Dashboard /wp-admin | 3.64 ▲0.33 | 49.79 ▲1.26 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 56.47 ▲6.61 |
Add New Post /wp-admin/post-new.php | 4.85 ▼1.04 | 42.95 ▼55.72 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 35.76 ▼0.80 |
All Forms /wp-admin/edit.php?post_type=multi_step_reg | 3.55 | 43.28 |
Add New /wp-admin/post-new.php?post_type=multi_step_reg | 3.55 | 45.38 |
Server storage [IO: ▲1.70MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Multi Step Registration Form Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,972 ▲215 | 14.85 ▲0.54 | 1.80 ▼0.02 | 39.37 ▼9.21 |
Dashboard /wp-admin | 2,371 ▲183 | 6.52 ▲1.67 | 126.36 ▲19.01 | 95.67 ▲49.87 |
Posts /wp-admin/edit.php | 2,297 ▲205 | 3.44 ▲1.42 | 55.01 ▲13.98 | 82.30 ▲45.31 |
Add New Post /wp-admin/post-new.php | 6,336 ▲4,803 | 24.17 ▲0.96 | 917.16 ▲294.11 | 157.59 ▲96.86 |
Media Library /wp-admin/upload.php | 1,442 ▲54 | 4.25 ▲0.04 | 85.84 ▼12.00 | 89.14 ▲46.30 |
All Forms /wp-admin/edit.php?post_type=multi_step_reg | 1,276 | 3.35 | 46.83 | 74.78 |
Add New /wp-admin/post-new.php?post_type=multi_step_reg | 2,122 | 5.45 | 122.45 | 81.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/multipress-lite/admin/partials/multi_step_reg-admin-display.php
- > /wp-content/plugins/multipress-lite/public/partials/multi_step_reg-public-display.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=multi_step_reg
- > Network (severe)
https://witoni.com/wp-content/uploads/2018/05/wordpress.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=multi_step_reg
- > Network (severe)
https://witoni.com/wp-content/uploads/2018/03/30off.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=multi_step_reg
- > Network (severe)
https://witoni.com/wp-content/uploads/2018/03/buy-multistep-pro-banner.gif - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: multistep registration plugin, wp multistep registration, wp registration, drag drop field, registration form...
multipress-lite/multi_step_reg.php 85% from 13 tests
The primary PHP file in "Multi Step Registration Form Plugin" version 1.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("multipress-lite.php" instead of "multi_step_reg.php")
- Text Domain: Please use dashes and lowercase characters for text domains
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
Good job! No executable or dangerous file extensions detected9,508 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 1,983 | 1,751 | 6,986 |
CSS | 2 | 60 | 57 | 1,407 |
PHP | 12 | 154 | 624 | 1,115 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 24.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 117.00 |
Average method complexity | 4.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 2 | 4.00% |
▷ Public methods | 45 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 10.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.12MB with 0.08MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bannerImage.png | 121.82KB | 40.95KB | ▼ 66.38% |