Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼143.26ms] Passed 4 tests
Analyzing server-side resources used by Sidebar Login
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.98 ▲0.26 | 42.84 ▲17.58 |
Dashboard /wp-admin | 3.20 ▲0.14 | 47.97 ▲4.06 |
Posts /wp-admin/edit.php | 3.31 ▲0.20 | 45.66 ▲5.56 |
Add New Post /wp-admin/post-new.php | 5.55 ▲0.12 | 88.17 ▼582.99 |
Media Library /wp-admin/upload.php | 3.14 ▲0.13 | 33.37 ▲0.35 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 120 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_wp_sidebarlogin |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sidebar Login
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,705 ▲109 | 15.85 ▲0.10 | 10.34 ▼0.71 | 52.92 ▲1.18 |
Dashboard /wp-admin | 2,973 ▲39 | 5.94 ▲0.01 | 136.68 ▼12.38 | 108.78 ▼12.67 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.72 ▲0.02 | 66.68 ▼2.19 | 93.84 ▲2.17 |
Add New Post /wp-admin/post-new.php | 1,678 ▲6 | 18.87 ▼0.08 | 357.28 ▼8.04 | 117.38 ▲6.37 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.02 ▼0.00 | 142.43 ▼4.99 | 111.05 ▼8.14 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_wp_sidebarlogin
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 93× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/sidebar-login/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php:8
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/sidebar-login/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/sidebar-login/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/sidebar-login/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/sidebar-login/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/sidebar-login/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/sidebar-login/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/sidebar-login/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/sidebar-login/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/sidebar-login/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: login widget, widget, login, sidebar login, login form...
sidebar-login/sidebar-login.php 92% from 13 tests
Analyzing the main PHP file in "Sidebar Login" version 3.0.1
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin2,924 lines of code in 117 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 111 | 500 | 876 | 2,606 |
JavaScript | 3 | 18 | 0 | 140 |
JSON | 1 | 0 | 0 | 126 |
Sass | 1 | 0 | 0 | 51 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 2.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 104 | |
▷ Abstract classes | 1 | 0.96% |
▷ Concrete classes | 103 | 99.04% |
▷ Final classes | 0 | 0.00% |
Methods | 128 | |
▷ Static methods | 3 | 2.34% |
▷ Public methods | 86 | 67.19% |
▷ Protected methods | 36 | 28.12% |
▷ Private methods | 6 | 4.69% |
Functions | 10 | |
▷ Named functions | 3 | 30.00% |
▷ Anonymous functions | 7 | 70.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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
PNG images were not found in this plugin