Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.37MB] [CPU: ▼35.04ms] Passed 4 tests
A check of server-side resources used by Siri WP Security
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.36 ▼0.10 | 19.89 ▼22.01 |
Dashboard /wp-admin | 3.73 ▲0.42 | 21.17 ▼29.73 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 22.02 ▼22.65 |
Add New Post /wp-admin/post-new.php | 3.73 ▼2.16 | 23.29 ▼65.76 |
Media Library /wp-admin/upload.php | 3.73 ▲0.50 | 22.06 ▼15.39 |
Siri WP Security /wp-admin/options-general.php?page=secure_wp | 3.73 | 21.20 |
Custom Login Upgrades /wp-admin/admin.php?page=custom-login-upgrades | 3.73 | 24.21 |
Welcome to Custom Login /wp-admin/index.php?page=custom-login-about | 3.73 | 20.19 |
Server storage [IO: ▲3.63MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 85 new files
Database: no new tables, 8 new options
New WordPress options |
---|
secure_wp |
db_upgraded |
theysaidso_admin_options |
custom_login |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Siri WP Security
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲192 | 14.24 ▼0.11 | 1.71 ▼0.11 | 42.24 ▼1.79 |
Dashboard /wp-admin | 2,345 ▲168 | 6.11 ▲0.51 | 114.50 ▲14.08 | 85.12 ▲41.20 |
Posts /wp-admin/edit.php | 2,291 ▲191 | 3.34 ▲1.34 | 51.09 ▲13.07 | 74.68 ▲36.74 |
Add New Post /wp-admin/post-new.php | 1,704 ▲169 | 22.04 ▼2.93 | 756.00 ▲119.98 | 29.15 ▼31.70 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.18 ▼0.03 | 80.77 ▼18.62 | 83.76 ▲38.44 |
Siri WP Security /wp-admin/options-general.php?page=secure_wp | 5,295 | 5.49 | 204.15 | 159.17 |
Custom Login Upgrades /wp-admin/admin.php?page=custom-login-upgrades | 1,968 | 5.57 | 69.97 | 68.66 |
Welcome to Custom Login /wp-admin/index.php?page=custom-login-about | 1,002 | 2.98 | 37.25 | 65.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/siri-wp-security/custom-login.php+2120
Accessing static property Secure_login::$settings_api as non static
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- secure_wp
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 40 occurences, only the last one shown
- > GET request to /wp-admin/index.php?page=custom-login-about
- > Notice in wp-content/plugins/siri-wp-security/custom-login.php+2599
Accessing static property Secure_login::$settings_api as non static
- 4 occurences, only the last one shown
- > GET request to /wp-admin/index.php?page=custom-login-about
- > Notice in wp-content/plugins/siri-wp-security/custom-login.php+2624
Accessing static property Secure_login::$options_page as non static
- 4 occurences, only the last one shown
- > GET request to /wp-admin/index.php?page=custom-login-about
- > Notice in wp-content/plugins/siri-wp-security/custom-login.php+2624
Undefined property: Secure_login::$options_page
- 10 occurences, only the last one shown
- > GET request to /wp-admin/index.php?page=custom-login-about
- > Notice in wp-content/plugins/siri-wp-security/custom-login.php+2595
Accessing static property Secure_login::$sections as non static
- > GET request to /wp-admin/options-general.php?page=secure_wp
- > Warning in wp-content/plugins/siri-wp-security/lib/class.settings-api.php+581
Illegal string offset 'editor'
- > GET request to /wp-admin/options-general.php?page=secure_wp
- > Warning in wp-content/plugins/siri-wp-security/lib/class.settings-api.php+581
Illegal string offset 'author'
- > GET request to /wp-admin/options-general.php?page=secure_wp
- > Warning in wp-content/plugins/siri-wp-security/lib/class.settings-api.php+581
Illegal string offset 'contributor'
- > GET request to /wp-admin/options-general.php?page=secure_wp
- > Warning in wp-content/plugins/siri-wp-security/lib/class.settings-api.php+581
Illegal string offset 'subscriber'
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/classes/class.settings-api.php+706
Invalid argument supplied for foreach()
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+61
Illegal string offset 'active'
- 25 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+107
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+62
Illegal string offset 'html_background_color'
- 33 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+107
Cannot assign an empty string to a string offset
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+63
Illegal string offset 'html_background_color_checkbox'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+64
Illegal string offset 'html_background_color_opacity'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+65
Illegal string offset 'html_background_url'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+66
Illegal string offset 'html_background_position'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+67
Illegal string offset 'html_background_repeat'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+68
Illegal string offset 'html_background_size'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+70
Illegal string offset 'logo_background_url'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+71
Illegal string offset 'logo_background_position'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+72
Illegal string offset 'logo_background_repeat'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+73
Illegal string offset 'logo_background_size'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+74
Illegal string offset 'login_form_background_color'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+75
Illegal string offset 'login_form_background_color_checkbox'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+76
Illegal string offset 'login_form_background_color_opacity'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+77
Illegal string offset 'login_form_background_url'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+78
Illegal string offset 'login_form_background_position'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+79
Illegal string offset 'login_form_background_repeat'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+80
Illegal string offset 'login_form_background_size'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+81
Illegal string offset 'login_form_border_radius'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+82
Illegal string offset 'login_form_border_size'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+83
Illegal string offset 'login_form_border_color'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+84
Illegal string offset 'login_form_border_color_checkbox'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+85
Illegal string offset 'login_form_border_color_opacity'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+86
Illegal string offset 'login_form_box_shadow'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+87
Illegal string offset 'login_form_box_shadow_color'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+88
Illegal string offset 'login_form_box_shadow_color_checkbox'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+89
Illegal string offset 'login_form_box_shadow_color_opacity'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+90
Illegal string offset 'label_color'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+91
Illegal string offset 'label_color_checkbox'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+92
Illegal string offset 'label_color_opacity'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+93
Illegal string offset 'nav_color'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+94
Illegal string offset 'nav_color_checkbox'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+95
Illegal string offset 'nav_color_opacity'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+96
Illegal string offset 'nav_text_shadow_color'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+97
Illegal string offset 'nav_text_shadow_color_checkbox'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+98
Illegal string offset 'nav_text_shadow_color_opacity'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+99
Illegal string offset 'nav_hover_color'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+100
Illegal string offset 'nav_hover_color_checkbox'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+101
Illegal string offset 'nav_hover_color_opacity'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+102
Illegal string offset 'nav_text_shadow_hover_color'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+103
Illegal string offset 'nav_text_shadow_hover_color_checkbox'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+104
Illegal string offset 'nav_text_shadow_hover_color_opacity'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+105
Illegal string offset 'custom_css'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+106
Illegal string offset 'custom_html'
- > GET request to /wp-admin/admin.php?page=custom-login-upgrades
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/siri-wp-security/functions/upgrades/upgrade-functions.php+107
Illegal string offset 'custom_jquery'
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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/siri-wp-security/custom-login.php:27
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/index.php?page=custom-login-about
- > Network (severe)
wp-content/plugins/siri-wp-security/assets/images/welcome-badge.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Custom login screen.), #2 (Deign your own login form.), #3 (Hide wp-login.php and can provide own path for login.), #4 (Additional setings for hide other of files .), #5 (Change your wordpress theme, style, wp-include, plugin and upload path.), #6 (Change Urls.), #7 (Import and exporting current settings.)
siri-wp-security/custom-login.php 69% from 13 tests
The entry point to "Siri WP Security" version Alpha... is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "Alpha...")
- Description: Please keep the plugin description shorter than 140 characters (currently 435 characters long)
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("siri-wp-security.php" instead of "custom-login.php")
Code Analysis 97% from 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
No dangerous file extensions were detected5,858 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 1,114 | 1,050 | 4,055 |
CSS | 5 | 118 | 124 | 1,426 |
PO File | 1 | 96 | 97 | 238 |
SVG | 1 | 0 | 0 | 73 |
JavaScript | 4 | 18 | 7 | 66 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 147)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 80.71 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 310.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 147.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 158 | |
▷ Static methods | 17 | 10.76% |
▷ Public methods | 158 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 14 | 66.67% |
▷ Class constants | 7 | 33.33% |
▷ Public constants | 7 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
48 PNG files occupy 3.05MB with 1.45MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bg.png | 29.41KB | 13.31KB | ▼ 54.73% |
img/patters/pattern_3.png | 2.34KB | 2.45KB | 0.00% |
img/Siri_Icon2.png | 216.25KB | 17.60KB | ▼ 91.86% |
img/Help-icon1.png | 2.17KB | 1.44KB | ▼ 33.71% |
img/Help-icon----.png | 58.92KB | 25.26KB | ▼ 57.12% |