Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▼2.39ms] Passed 4 tests
Analyzing server-side resources used by Frontend Reset Password
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 37.76 ▼4.91 |
Dashboard /wp-admin | 3.48 ▲0.14 | 53.25 ▼11.73 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 49.97 ▲5.56 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 104.66 ▲5.02 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 36.52 ▲2.06 |
Frontend Reset Password /wp-admin/options-general.php?page=somfrp_options_page | 3.44 | 36.72 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Frontend Reset Password
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲160 | 13.75 ▼0.50 | 4.85 ▲2.98 | 41.66 ▼0.75 |
Dashboard /wp-admin | 2,229 ▲44 | 5.08 ▼0.80 | 107.01 ▲3.95 | 37.92 ▼3.17 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.30 ▲0.14 | 41.62 ▲3.50 | 33.10 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,531 ▼11 | 23.31 ▲5.25 | 697.37 ▲76.63 | 38.12 ▼14.48 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.43 ▲0.22 | 97.21 ▼3.28 | 42.98 ▼1.29 |
Frontend Reset Password /wp-admin/options-general.php?page=somfrp_options_page | 2,182 | 7.91 | 182.72 | 123.23 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: password, lost password, login, reset password
frontend-reset-password/som-frontend-reset-password.php 92% from 13 tests
"Frontend Reset Password" version 1.2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("frontend-reset-password.php" instead of "som-frontend-reset-password.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,822 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 498 | 142 | 1,203 |
CSS | 2 | 110 | 16 | 579 |
JavaScript | 2 | 19 | 3 | 40 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 59 | |
▷ Named functions | 59 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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.02MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 20.33KB | 4.49KB | ▼ 77.94% |
assets/images/logo-white.png | 1.12KB | 0.12KB | ▼ 88.89% |