Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼1.21MB] [CPU: ▼39.72ms] Passed 4 tests
A check of server-side resources used by Very Simple Password for Wordpress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.71 | 20.93 ▼14.63 |
Dashboard /wp-admin | 2.81 ▼0.53 | 19.83 ▼36.89 |
Posts /wp-admin/edit.php | 2.81 ▼0.54 | 18.58 ▼32.65 |
Add New Post /wp-admin/post-new.php | 2.81 ▼3.07 | 18.96 ▼72.68 |
Media Library /wp-admin/upload.php | 2.81 ▼0.41 | 18.78 ▼16.67 |
Very Simple Password for Wordpress /wp-admin/options-general.php?page=very_simple_password_for_wordpress | 2.81 | 17.86 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: 1 new table, 22 new options
New tables |
---|
wp_vspfw |
New WordPress options |
---|
vspfw_logo_url |
vspfw_website_domain |
vspfw_brute_force_protection_interval |
VSPFW_db_version |
vspfw_brute_force_protection_tries |
theysaidso_admin_options |
vspfw_default_logo_changed_once |
vspfw_brute_force_protection_message |
vspfw_background_image |
vspfw_default_background_changed_once |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Very Simple Password for Wordpress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲176 | 15.07 ▲0.65 | 1.79 ▼0.19 | 42.52 ▲0.97 |
Dashboard /wp-admin | 2,353 ▲165 | 6.44 ▲1.53 | 127.08 ▲25.42 | 36.95 ▼4.09 |
Posts /wp-admin/edit.php | 2,259 ▲170 | 3.33 ▲1.28 | 49.05 ▲13.35 | 32.64 ▼1.11 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 23.10 ▲5.01 | 638.54 ▲16.76 | 35.49 ▼19.08 |
Media Library /wp-admin/upload.php | 1,401 ▲19 | 4.11 ▼0.16 | 80.98 ▼15.36 | 40.18 ▼5.62 |
Very Simple Password for Wordpress /wp-admin/options-general.php?page=very_simple_password_for_wordpress | 1,353 | 3.05 | 40.02 | 65.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/very-simple-password/very-simple-password-for-wordpress.php+462
Undefined index: vspfw_user_entered_password_wpnonce
- The uninstall procedure failed, leaving 1 table in the database
- wp_vspfw
- This plugin does not fully uninstall, leaving 22 options in the database
- vspfw_brute_force_protection_interval
- vspfw_background_image
- vspfw_default_background_changed_once
- can_compress_scripts
- widget_recent-posts
- vspfw_show_contact_info
- vspfw_days
- VSPFW_db_version
- vspfw_submit
- vspfw_brute_force_protection_message
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=very_simple_password_for_wordpress
- > Notice in wp-content/plugins/very-simple-password/very-simple-password-for-wordpress.php+462
Undefined index: vspfw_user_entered_password_wpnonce
SRP 0% 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 take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/very-simple-password/very-simple-password-for-wordpress.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/very-simple-password/VSPFW_view.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== very-simple-password ===
)
very-simple-password/very-simple-password-for-wordpress.php 92% from 13 tests
"Very Simple Password for Wordpress" version 1.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("very-simple-password.php" instead of "very-simple-password-for-wordpress.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin570 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 67 | 69 | 570 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 19 | |
▷ Named functions | 19 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/lock.png | 14.95KB | 5.28KB | ▼ 64.68% |