Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method NM_Login::activate_plugin() should not be called statically
Server metrics [RAM: ▲0.52MB] [CPU: ▲1.41ms] Passed 4 tests
An overview of server-side resources used by Ready Login Windows
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.45 | 26.65 ▼10.09 |
Dashboard /wp-admin | 3.89 ▲0.59 | 51.30 ▲4.34 |
Posts /wp-admin/edit.php | 3.94 ▲0.58 | 49.48 ▲6.15 |
Add New Post /wp-admin/post-new.php | 6.41 ▲0.52 | 99.05 ▲13.95 |
Media Library /wp-admin/upload.php | 3.75 ▲0.52 | 40.40 ▲5.24 |
WP Login /wp-admin/options-general.php?page=nm_logins | 3.76 | 39.30 |
Server storage [IO: ▲2.50MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 109 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Ready Login Windows: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,937 ▲191 | 13.60 ▼1.12 | 12.21 ▲10.58 | 42.07 ▲2.26 |
Dashboard /wp-admin | 2,199 ▲19 | 5.55 ▼0.06 | 83.04 ▼10.47 | 42.09 ▲3.45 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.04 ▲0.01 | 39.29 ▼0.90 | 31.73 ▼3.24 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.15 ▲0.14 | 603.61 ▲1.23 | 60.65 ▼8.56 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.14 ▼0.05 | 94.32 ▼7.88 | 41.38 ▼4.42 |
WP Login /wp-admin/options-general.php?page=nm_logins | 1,741 | 7.72 | 78.25 | 117.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method NM_Login::deactivate_plugin() should not be called statically
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 9 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=nm_logins
- > Notice in wp-content/plugins/simple-wp-login/classes/admin.class.php+273
Trying to access array offset on value of type bool
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=nm_logins
- > Notice in wp-content/plugins/simple-wp-login/templates/admin/settings.php+64
Undefined index: label
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/simple-wp-login/templates/admin/registration.php
- 23× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/simple-wp-login/index.php:34
- > PHP Fatal error
Uncaught Error: Class 'NM_Inputs_nm_logins' not found in wp-content/plugins/simple-wp-login/classes/inputs/input.checkbox.php:8
- > PHP Fatal error
Uncaught Error: Class 'NM_Inputs_nm_logins' not found in wp-content/plugins/simple-wp-login/classes/inputs/input.date.php:8
- > PHP Fatal error
Uncaught Error: Class 'NM_Login' not found in wp-content/plugins/simple-wp-login/classes/admin.class.php:7
- > PHP Fatal error
Uncaught Error: Class 'NM_Inputs_nm_logins' not found in wp-content/plugins/simple-wp-login/classes/inputs/input.email.php:8
- > PHP Fatal error
Uncaught Error: Class 'NM_Inputs_nm_logins' not found in wp-content/plugins/simple-wp-login/classes/inputs/input.instagram.php:8
- > PHP Fatal error
Uncaught Error: Class 'NM_Inputs_nm_logins' not found in wp-content/plugins/simple-wp-login/classes/inputs/input.text.php:8
- > PHP Fatal error
Uncaught Error: Class 'NM_Inputs_nm_logins' not found in wp-content/plugins/simple-wp-login/classes/inputs/input.select.php:8
- > PHP Fatal error
Uncaught Error: Class 'NM_Inputs_nm_logins' not found in wp-content/plugins/simple-wp-login/classes/inputs/input.number.php:8
- > PHP Fatal error
Uncaught Error: Class 'NM_Inputs_nm_logins' not found in wp-content/plugins/simple-wp-login/classes/inputs/input.file.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: registration, wp-admin, login-screen, login, wp-login
simple-wp-login/index.php 85% from 13 tests
The principal PHP file in "Ready Login Windows" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("simple-wp-login.php" instead of "index.php")
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
No dangerous file extensions were detected5,732 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 1,142 | 729 | 2,966 |
CSS | 18 | 256 | 66 | 2,292 |
JavaScript | 5 | 160 | 163 | 474 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 10.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 105 | |
▷ Static methods | 2 | 1.90% |
▷ Public methods | 86 | 81.90% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 18.10% |
Functions | 2 | |
▷ Named functions | 2 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
37 PNG files occupy 1.35MB with 0.82MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/animated-login.png | 174.07KB | 75.51KB | ▼ 56.62% |
images/logo.png | 1.88KB | 1.02KB | ▼ 45.84% |
js/ui/css/smoothness/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
styles/images/form-bg.png | 2.78KB | 0.10KB | ▼ 96.55% |
images/blurred.png | 109.59KB | 36.98KB | ▼ 66.25% |