Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲1.67MB] [CPU: ▼288.89ms] Passed 4 tests
Server-side resources used by Custom Registration and Custom Login Forms with New Recaptcha
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.15 ▲1.64 | 64.60 ▲11.00 |
Dashboard /wp-admin | 5.12 ▲1.72 | 44.75 ▲11.20 |
Posts /wp-admin/edit.php | 5.35 ▲1.71 | 45.83 ▲8.60 |
Add New Post /wp-admin/post-new.php | 8.61 ▲1.62 | 103.26 ▼1,183.52 |
Media Library /wp-admin/upload.php | 5.10 ▲1.81 | 33.53 ▲8.36 |
Freemius Debug [v.1.2.1] /wp-admin/admin.php?page=freemius | 5.10 | 31.51 |
Server storage [IO: ▲1.89MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 227 new files
Database: no new tables, 4 new options
New WordPress options |
---|
fs_active_plugins |
fs_accounts |
fs_api_cache |
fs_debug_mode |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Custom Registration and Custom Login Forms with New Recaptcha
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,853 ▲99 | 15.95 ▲0.28 | 5.89 ▲0.05 | 3.04 ▲0.21 |
Dashboard /wp-admin | 2,946 ▲85 | 6.14 ▼0.06 | 117.17 ▼15.42 | 171.17 ▲9.79 |
Posts /wp-admin/edit.php | 2,747 ▲59 | 3.24 ▲0.02 | 64.78 ▼2.78 | 157.75 ▲10.24 |
Add New Post /wp-admin/post-new.php | 1,902 ▲191 | 22.27 ▲1.46 | 446.08 ▼14.24 | 158.04 ▲2.51 |
Media Library /wp-admin/upload.php | 1,753 ▲52 | 5.53 ▲0.00 | 138.33 ▼2.19 | 201.87 ▲8.62 |
Freemius Debug [v.1.2.1] /wp-admin/admin.php?page=freemius | 1,307 | 2.44 | 54.15 | 129.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/custom-registration-and-login-forms-with-new-recaptcha/freemius/includes/class-freemius.php+4088
First parameter must either be an object or the name of an existing class
- Zombie WordPress options were found after uninstall: 4 options
- fs_api_cache
- fs_active_plugins
- fs_debug_mode
- fs_accounts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #3, #4 in custom-registration-and-login-forms-with-new-recaptcha/assets to your readme.txt
custom-registration-and-login-forms-with-new-recaptcha/custom-registration-and-login-forms-with-new-recaptcha.php Passed 13 tests
Analyzing the main PHP file in "Custom Registration and Custom Login Forms with New Recaptcha" version 1.1
72 characters long description:
Provides simple frontend registration and login forms with new recaptcha
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin16,793 lines of code in 107 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 71 | 3,105 | 7,451 | 13,118 |
PO File | 2 | 650 | 659 | 1,608 |
Sass | 15 | 248 | 80 | 1,558 |
JavaScript | 4 | 37 | 63 | 229 |
Markdown | 1 | 59 | 0 | 191 |
JSON | 2 | 0 | 0 | 42 |
CSS | 10 | 1 | 0 | 25 |
YAML | 2 | 2 | 0 | 22 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 41.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 943.00 |
Average method complexity | 3.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 70 | |
▷ Abstract classes | 4 | 5.71% |
▷ Concrete classes | 66 | 94.29% |
▷ Final classes | 0 | 0.00% |
Methods | 1,238 | |
▷ Static methods | 172 | 13.89% |
▷ Public methods | 904 | 73.02% |
▷ Protected methods | 24 | 1.94% |
▷ Private methods | 310 | 25.04% |
Functions | 118 | |
▷ Named functions | 118 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 182 | |
▷ Global constants | 148 | 81.32% |
▷ Class constants | 34 | 18.68% |
▷ Public constants | 34 | 100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/wordpress-sdk-master/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |