Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼139.41ms] Passed 4 tests
A check of server-side resources used by Login Tweaks by Next Page
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 35.24 ▲13.49 |
Dashboard /wp-admin | 3.08 ▲0.02 | 39.08 ▼8.08 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 45.44 ▼4.60 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 123.76 ▼545.03 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 35.32 ▲0.08 |
Login Tweaks /wp-admin/options-general.php?page=NP_login | 2.99 | 25.53 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Login Tweaks by Next Page
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,710 ▲114 | 15.82 ▲0.21 | 8.18 ▼4.33 | 52.17 ▲0.21 |
Dashboard /wp-admin | 2,978 ▲44 | 6.09 ▲0.18 | 145.12 ▼0.71 | 116.80 ▼6.94 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.82 ▲0.14 | 82.09 ▲7.49 | 135.60 ▲39.96 |
Add New Post /wp-admin/post-new.php | 1,602 ▼81 | 18.84 ▼0.00 | 427.53 ▲42.38 | 118.06 ▲6.29 |
Media Library /wp-admin/upload.php | 1,815 ▼7 | 5.02 ▲0.03 | 161.19 ▼3.10 | 129.42 ▲2.15 |
Login Tweaks /wp-admin/options-general.php?page=NP_login | 1,209 | 2.10 | 67.10 | 85.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/login-tweaks/instructions.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/login-tweaks/np_registeration.php:95
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/login-tweaks/login-tweaks.php:87
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (The new log-in screen.) image missing
login-tweaks/login-tweaks.php Passed 13 tests
The primary PHP file in "Login Tweaks by Next Page" version 1.0 is used by WordPress to initiate all plugin functionality
136 characters long description:
This plugin will allow you to login into admin using username/email. You can use both username and email to login to worpdress dashboard
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin163 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 71 | 15 | 163 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 32.46KB | 8.96KB | ▼ 72.41% |