Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.90MB] [CPU: ▼256.59ms] Passed 4 tests
Server-side resources used by Wptobe-signinup
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.94 | 37.65 ▲5.60 |
Dashboard /wp-admin | 4.00 ▲0.94 | 48.67 ▲7.15 |
Posts /wp-admin/edit.php | 4.04 ▲0.94 | 46.88 ▲8.56 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.87 | 98.17 ▼1,035.80 |
Media Library /wp-admin/upload.php | 3.88 ▲0.87 | 35.41 ▼3.31 |
Server storage [IO: ▲9.29MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 151 new files
Database: no new tables, 24 new options
New WordPress options |
---|
wtb_signin_noti_ko |
wtb_profile_noti_ja |
wtb_resetpw_noti_ko |
wtb_signin_fields |
wtb_signin_noti_ja |
wtb_resetpw_email_ja |
wtb_profile_noti_ko |
wtb_signin_noti_en |
wtb_signup_noti_ko |
wtbsinup_lang |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Wptobe-signinup
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,664 ▲58 | 16.17 ▲0.61 | 8.95 ▲1.19 | 48.24 ▲4.57 |
Dashboard /wp-admin | 2,942 ▲89 | 6.03 ▲0.17 | 135.63 ▲4.61 | 97.38 ▲5.44 |
Posts /wp-admin/edit.php | 2,721 ▲15 | 2.69 ▼0.00 | 63.91 ▼2.42 | 97.88 ▲5.95 |
Add New Post /wp-admin/post-new.php | 1,863 ▲206 | 19.13 ▲0.33 | 364.90 ▼7.45 | 109.46 ▼1.16 |
Media Library /wp-admin/upload.php | 1,790 ▲18 | 4.99 ▼0.01 | 146.38 ▼11.64 | 110.25 ▼8.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wptobe-signinup/captcha/securimage_show.php
- > /wp-content/plugins/wptobe-signinup/captcha/securimage_play.php
- 31× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/wptobe-signinup/skin/enfold/profile-html.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wptobe-signinup/skin/astra/password-reset-html.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wptobe-signinup/skin/oceanwp/password-reset-html.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wptobe-signinup/skin/astra/sign-up-html.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wptobe-signinup/skin/default/sign-up-html.php:2
- > PHP Fatal error
Uncaught Error: Class 'Securimage' not found in wp-content/plugins/wptobe-signinup/captcha/config.inc.php:69
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wptobe-signinup/skin/default/sign-in-html.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wptobe-signinup/inc/class-email.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wptobe-signinup/skin/black/password-reset-html.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wptobe-signinup/skin/enfold/password-reset-html.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: profile, sign in, login, sign up, memberships
wptobe-signinup/wptobe-signinup.php 92% from 13 tests
The principal PHP file in "Wptobe-signinup" v. 1.1.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- 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 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected11,864 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 1,410 | 2,080 | 7,682 |
CSS | 19 | 113 | 73 | 3,285 |
JavaScript | 6 | 86 | 111 | 547 |
Markdown | 1 | 69 | 0 | 175 |
PO File | 1 | 78 | 228 | 175 |
HTML | 1 | 1 | 0 | 0 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 97.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 395.00 |
Average method complexity | 6.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 98.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 195 | |
▷ Static methods | 14 | 7.18% |
▷ Public methods | 138 | 70.77% |
▷ Protected methods | 57 | 29.23% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 61 | |
▷ Global constants | 15 | 24.59% |
▷ Class constants | 46 | 75.41% |
▷ Public constants | 46 | 100.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
captcha/images/loading.png | 1.11KB | 1.10KB | 0.44% |
captcha/images/refresh.png | 4.72KB | 2.44KB | ▼ 48.36% |
captcha/backgrounds/bg6.png | 41.88KB | 29.04KB | ▼ 30.64% |
captcha/images/audio_icon.png | 1.64KB | 2.04KB | 0.00% |