Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure had errors
- > Compile error in wp-content/plugins/baw-more-secure-login/bawmsl.php+331
'continue' not in the 'loop' or 'switch' context
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.90ms] Passed 4 tests
This is a short check of server-side resources used by More Secure Login
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 44.46 ▼0.12 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.68 ▼8.89 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.29 ▲1.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.46 ▼8.15 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.93 ▲2.73 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
More Secure Login: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.42 ▼0.19 | 1.73 ▼0.19 | 44.26 ▼1.60 |
Dashboard /wp-admin | 2,195 ▲21 | 5.51 ▼0.08 | 98.12 ▼8.35 | 40.28 ▼4.72 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▲0.01 | 36.83 ▼0.78 | 36.27 ▼1.98 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.16 ▼0.07 | 673.63 ▲24.02 | 69.75 ▼0.06 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.19 ▼0.01 | 98.04 ▼2.46 | 44.48 ▲0.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
'continue' not in the 'loop' or 'switch' context in wp-content/plugins/baw-more-secure-login/bawmsl.php on line 331
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #2, #3, #4, #5 in baw-more-secure-login/assets to your readme.txt
baw-more-secure-login/bawmsl.php 92% from 13 tests
The primary PHP file in "More Secure Login" version 1.0.4 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("baw-more-secure-login.php" instead of "bawmsl.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected422 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 152 | 325 |
PO File | 1 | 34 | 50 | 97 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 15 | |
▷ Named functions | 15 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/help.png | 0.79KB | 0.79KB | 0.00% |