Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼1.40ms] Passed 4 tests
This is a short check of server-side resources used by My WP Login
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 42.68 ▲1.39 |
Dashboard /wp-admin | 3.45 ▲0.15 | 54.64 ▼0.30 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 52.87 ▲0.10 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 99.08 ▼1.76 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.84 ▼3.62 |
Server storage [IO: ▲2.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by My WP Login
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,998 ▲237 | 14.72 ▲0.50 | 1.89 ▲0.19 | 45.64 ▲0.13 |
Dashboard /wp-admin | 2,374 ▲197 | 6.33 ▲0.76 | 107.71 ▲20.86 | 42.83 ▲1.76 |
Posts /wp-admin/edit.php | 2,299 ▲196 | 3.58 ▲1.56 | 47.37 ▲6.88 | 38.39 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 23.87 ▲1.07 | 614.98 ▼49.77 | 34.04 ▼26.74 |
Media Library /wp-admin/upload.php | 1,442 ▲42 | 4.32 ▲0.15 | 88.04 ▼23.93 | 41.80 ▼4.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
The following issues need your attention
- 7× PHP files output text when accessed directly:
- > /wp-content/plugins/my-wp-login/mywplogin.php
- > /wp-content/plugins/my-wp-login/admin/settings-validate.php
- > /wp-content/plugins/my-wp-login/admin/register-settings.php
- > /wp-content/plugins/my-wp-login/admin/admin-menu.php
- > /wp-content/plugins/my-wp-login/admin/settings-page.php
- > /wp-content/plugins/my-wp-login/includes/core.php
- > /wp-content/plugins/my-wp-login/admin/settings-callbacks.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: wp login page, custom login page, custom login logo, login logo, change login logo
my-wp-login/mywplogin.php 85% from 13 tests
Analyzing the main PHP file in "My WP Login" version 1.0
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("my-wp-login.php" instead of "mywplogin.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin684 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 102 | 142 | 600 |
CSS | 2 | 3 | 0 | 51 |
JavaScript | 3 | 2 | 3 | 32 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 23 | |
▷ Named functions | 23 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin