Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▲0.04ms] Passed 4 tests
A check of server-side resources used by MS Custom Login
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 41.91 ▲0.40 |
Dashboard /wp-admin | 3.55 ▲0.24 | 47.35 ▼5.68 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 47.32 ▲1.03 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 93.75 ▲4.41 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 39.72 ▲7.28 |
MS Custom Login /wp-admin/options-general.php?page=ms-custom-login | 3.47 | 37.21 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for MS Custom Login
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.76 ▲0.18 | 1.83 ▼0.15 | 43.92 ▼4.52 |
Dashboard /wp-admin | 2,207 ▲19 | 5.83 ▲0.96 | 94.91 ▼21.56 | 39.95 ▼5.17 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.02 ▲0.01 | 33.35 ▼9.60 | 35.75 ▲0.15 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 18.11 ▼4.96 | 595.48 ▼45.42 | 63.42 ▲6.56 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.24 ▲0.08 | 97.17 ▼6.66 | 42.80 ▼2.36 |
MS Custom Login /wp-admin/options-general.php?page=ms-custom-login | 3,671 | 5.28 | 139.43 | 57.28 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=ms-custom-login
- > User deprecated in wp-includes/functions.php+5828
Hook login_headertitle is deprecated since version 5.2.0! Use login_headertext instead. Usage of the title attribute on the login logo is not recommended for accessibility reasons. Use the link text instead.
SRP 50% 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 fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/ms-custom-login/ms-custom-login.php:36
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- 20 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ms-custom-login
- > Security (severe) in unknown
/wp-login.php - Blocked script execution in '/wp-login.php' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Very easy and simple UI.), #2 (You can have this much of customization. Create one and only login page.), #3 (This plugin includes a special edition for users of WordPress Theme "Chocolat".)
ms-custom-login/ms-custom-login.php Passed 13 tests
"MS Custom Login" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
68 characters long description:
Customize login page of your WordPress with images, colors and more.
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 detected9,344 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 827 | 1,002 | 7,090 |
PHP | 2 | 223 | 249 | 1,388 |
CSS | 3 | 129 | 78 | 586 |
PO File | 1 | 116 | 127 | 280 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 34 | |
▷ Named functions | 34 | 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
8 compressed PNG files occupy 0.40MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 10.76KB | 11.14KB | 0.00% |
inc/mcl-chocolat/img/bg-footer.png | 0.78KB | 0.79KB | 0.00% |
screenshot-2.png | 289.13KB | 318.31KB | 0.00% |
screenshot-1.png | 94.93KB | 97.12KB | 0.00% |
inc/mcl-chocolat/img/bg_body.png | 0.12KB | 0.12KB | 0.00% |