Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.94MB] [CPU: ▼35.89ms] Passed 4 tests
An overview of server-side resources used by Loginplus
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.14 ▼5.50 |
Dashboard /wp-admin | 3.00 ▼0.30 | 21.32 ▼31.65 |
Posts /wp-admin/edit.php | 3.01 ▼0.35 | 23.99 ▼23.44 |
Add New Post /wp-admin/post-new.php | 3.01 ▼2.88 | 23.21 ▼73.43 |
Media Library /wp-admin/upload.php | 3.01 ▼0.22 | 20.19 ▼15.04 |
Hacking Attempts /wp-admin/admin.php?page=login_plus_sphacking | 3.01 | 23.85 |
Settings /wp-admin/admin.php?page=login_plus_spsettings | 3.01 | 24.37 |
Change Logo /wp-admin/admin.php?page=login_plus_splogo | 3.01 | 20.45 |
Login Plus /wp-admin/admin.php?page=login_plus_sphome | 3.01 | 24.61 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_sp_login_details |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
login_plus_sp |
Browser metrics Passed 4 tests
Loginplus: 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,974 ▲239 | 14.84 ▲0.28 | 1.52 ▼0.27 | 40.91 ▼3.20 |
Dashboard /wp-admin | 2,383 ▲195 | 6.48 ▲0.60 | 135.62 ▲31.73 | 40.26 ▼0.80 |
Posts /wp-admin/edit.php | 2,283 ▲194 | 3.58 ▲1.58 | 55.01 ▲13.63 | 35.16 ▼1.79 |
Add New Post /wp-admin/post-new.php | 1,549 ▲35 | 23.18 ▲5.52 | 642.39 ▲36.58 | 35.97 ▼13.33 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.17 ▼0.08 | 78.39 ▼33.77 | 44.89 ▼0.33 |
Hacking Attempts /wp-admin/admin.php?page=login_plus_sphacking | 1,027 | 3.18 | 36.78 | 27.66 |
Settings /wp-admin/admin.php?page=login_plus_spsettings | 1,105 | 3.09 | 37.67 | 28.65 |
Change Logo /wp-admin/admin.php?page=login_plus_splogo | 1,104 | 3.20 | 37.08 | 25.55 |
Login Plus /wp-admin/admin.php?page=login_plus_sphome | 1,137 | 3.18 | 40.32 | 46.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie tables detected upon uninstall: 1 table
- wp_sp_login_details
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- login_plus_sp
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
- 44 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=login_plus_sphome
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/admin.php?page=login_plus_spsettings
- > Notice in wp-content/plugins/loginplus/apps/settings.php+7
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=login_plus_splogo
- > Notice in wp-content/plugins/loginplus/apps/logo.php+56
Undefined index: imageUrl
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/loginplus/loginplus.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=login_plus_sphome
- > Network (severe)
wp-content/plugins/loginplus/media-lib-uploader.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Screen shot 1), #2 (Screen shot 2), #3 (Screen shot 3), #4 (Screen shot 4)
loginplus/loginplus.php 85% from 13 tests
The entry point to "Loginplus" version 1.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 160 characters long)
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin875 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 88 | 39 | 649 |
CSS | 1 | 17 | 0 | 141 |
JavaScript | 1 | 10 | 10 | 85 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 5.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 0.61MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 29.06KB | 12.11KB | ▼ 58.34% |
assets/screenshot-1.png | 66.06KB | 30.27KB | ▼ 54.18% |
banner-772x250.png | 130.03KB | 32.36KB | ▼ 75.11% |
assets/screenshot-3.png | 21.56KB | 8.43KB | ▼ 60.91% |
icon-128x128.png | 4.34KB | 2.32KB | ▼ 46.55% |