Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.34MB] [CPU: ▲1.58ms] Passed 4 tests
Analyzing server-side resources used by Remind me to change my password
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.33 | 45.05 ▲1.17 |
Dashboard /wp-admin | 3.68 ▲0.38 | 56.09 ▲3.64 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 52.16 ▲1.12 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.32 | 105.33 ▲14.89 |
Media Library /wp-admin/upload.php | 3.54 ▲0.32 | 38.87 ▲0.37 |
Suspended account(s) /wp-admin/users.php?page=blocked-users | 3.54 | 38.48 |
Password Reset Manager /wp-admin/users.php?page=remind_me_password | 3.52 | 42.26 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Remind me to change my password
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲81 | 14.22 ▼0.14 | 1.76 ▲0.03 | 43.40 ▼4.13 |
Dashboard /wp-admin | 2,233 ▲53 | 5.55 ▼0.09 | 85.01 ▼7.04 | 40.90 ▼9.60 |
Posts /wp-admin/edit.php | 2,138 ▲35 | 2.01 ▲0.03 | 35.50 ▼5.02 | 35.12 ▼2.06 |
Add New Post /wp-admin/post-new.php | 1,556 ▲19 | 22.94 ▲4.76 | 599.97 ▼38.66 | 52.18 ▼16.97 |
Media Library /wp-admin/upload.php | 1,438 ▲35 | 4.19 ▼0.06 | 98.68 ▼3.30 | 42.57 ▼1.04 |
Suspended account(s) /wp-admin/users.php?page=blocked-users | 954 | 1.69 | 25.84 | 26.10 |
Password Reset Manager /wp-admin/users.php?page=remind_me_password | 1,119 | 2.39 | 43.33 | 27.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
Please fix the following
- 10× PHP files output text when accessed directly:
- > /wp-content/plugins/remind-me-to-change-my-password/views/admin/index.php
- > /wp-content/plugins/remind-me-to-change-my-password/remind-me-to-change-my-password.php
- > /wp-content/plugins/remind-me-to-change-my-password/views/admin/blocked-users-list.php
- > /wp-content/plugins/remind-me-to-change-my-password/views/admin/admin-page.php
- > /wp-content/plugins/remind-me-to-change-my-password/core/utility/index.php
- > /wp-content/plugins/remind-me-to-change-my-password/core/admin/index.php
- > /wp-content/plugins/remind-me-to-change-my-password/languages/index.php
- > /wp-content/plugins/remind-me-to-change-my-password/core/user/index.php
- > /wp-content/plugins/remind-me-to-change-my-password/core/index.php
- > /wp-content/plugins/remind-me-to-change-my-password/views/index.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'RMTCMP\\User\\User' not found in wp-content/plugins/remind-me-to-change-my-password/core/user/Views.php:6
- > PHP Fatal error
Uncaught Error: Class 'RMTCMP\\User\\User' not found in wp-content/plugins/remind-me-to-change-my-password/core/user/Actions.php:5
- > PHP Fatal error
Uncaught Error: Class 'RMTCMP\\User\\User' not found in wp-content/plugins/remind-me-to-change-my-password/core/user/Password.php:5
- > PHP Fatal error
Uncaught Error: Class 'RMTCMP\\Admin\\Menu' not found in wp-content/plugins/remind-me-to-change-my-password/core/admin/MenuSettings.php:5
- > PHP Fatal error
Uncaught Error: Class 'RMTCMP\\User\\User' not found in wp-content/plugins/remind-me-to-change-my-password/core/user/Login.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
3 plugin tags: reset password, manage passwords, password
remind-me-to-change-my-password/remind-me-to-change-my-password.php Passed 13 tests
The principal PHP file in "Remind me to change my password" v. 1.0 is loaded by WordPress automatically on each request
87 characters long description:
The plugin allows you to force users into changing their password after a certain time.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,617 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 391 | 287 | 1,435 |
PO File | 1 | 72 | 126 | 160 |
JSON | 1 | 0 | 0 | 18 |
SVG | 2 | 0 | 0 | 2 |
CSS | 1 | 1 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 1 | 8.33% |
▷ Concrete classes | 11 | 91.67% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 8 | 10.67% |
▷ Public methods | 64 | 85.33% |
▷ Protected methods | 9 | 12.00% |
▷ Private methods | 2 | 2.67% |
Functions | 12 | |
▷ Named functions | 1 | 8.33% |
▷ Anonymous functions | 11 | 91.67% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin