Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/siris-login-widget/index.php+15
Methods with the same name as their class will not be constructors in a future version of PHP; SirisLoginWidget has a deprecated constructor
Server metrics [RAM: ▼1.72MB] [CPU: ▼48.24ms] Passed 4 tests
Server-side resources used by Siris Login Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.28 ▼1.18 | 9.28 ▼28.90 |
Dashboard /wp-admin | 2.29 ▼1.05 | 11.66 ▼42.03 |
Posts /wp-admin/edit.php | 2.30 ▼1.06 | 10.98 ▼35.34 |
Add New Post /wp-admin/post-new.php | 2.29 ▼3.59 | 10.64 ▼86.69 |
Media Library /wp-admin/upload.php | 2.29 ▼0.93 | 8.42 ▼26.18 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_sirisloginwidget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Siris Login Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.11 ▼1.19 | 4.84 ▲3.07 | 44.73 ▲2.99 |
Dashboard /wp-admin | 2,208 ▲19 | 4.81 ▼0.16 | 102.93 ▼14.51 | 38.47 ▼6.58 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.05 ▲0.06 | 41.37 ▲2.34 | 35.34 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,530 ▼12 | 23.15 ▲5.02 | 590.20 ▼10.83 | 48.37 ▼4.98 |
Media Library /wp-admin/upload.php | 1,390 ▼1 | 4.25 ▲0.06 | 96.16 ▼0.88 | 41.69 ▼0.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/siris-login-widget/index.php+124
Undefined variable: plugin_tag
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_sirisloginwidget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/siris-login-widget/index.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: custom menu, login, widget, sidebar login, custom login...
siris-login-widget/index.php 92% from 13 tests
Analyzing the main PHP file in "Siris Login Widget" version 1.2
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("siris-login-widget.php" instead of "index.php")
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
Success! There were no dangerous files found in this plugin126 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 24 | 108 |
CSS | 1 | 1 | 2 | 18 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin