Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼4.33ms] Passed 4 tests
An overview of server-side resources used by VPN leaks test
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 43.47 ▲3.07 |
Dashboard /wp-admin | 3.45 ▲0.15 | 47.47 ▼0.91 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 45.94 ▼9.65 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 92.39 ▼6.32 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.20 ▼0.42 |
VPN leaks test /wp-admin/options-general.php?page=vltp-admin-page | 3.37 | 36.85 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 212 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_vltp |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for VPN leaks test
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.20 ▼1.03 | 1.82 ▲0.09 | 45.46 ▼2.41 |
Dashboard /wp-admin | 2,213 ▲22 | 5.91 ▲0.09 | 102.54 ▼8.18 | 41.13 ▼11.97 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.05 | 33.44 ▼3.34 | 34.76 ▼0.77 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.12 ▼0.05 | 588.51 ▼82.31 | 48.77 ▼10.91 |
Media Library /wp-admin/upload.php | 1,383 ▼5 | 4.22 ▼0.00 | 102.93 ▲6.38 | 43.72 ▼2.26 |
VPN leaks test /wp-admin/options-general.php?page=vltp-admin-page | 1,066 | 3.18 | 37.84 | 24.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/vpn-leaks-test/vltp-init-admin.php
- > /wp-content/plugins/vpn-leaks-test/vltp-init.php
- > /wp-content/plugins/vpn-leaks-test/vpn-leaks-test.php
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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: security, admin
vpn-leaks-test/vpn-leaks-test.php 92% from 13 tests
The entry point to "VPN leaks test" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 149 characters long)
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
There were no executable files found in this plugin1,032 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 204 | 187 | 650 |
JavaScript | 2 | 104 | 24 | 283 |
CSS | 2 | 21 | 0 | 99 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
196 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
include/flags/tl.png | 0.29KB | 0.33KB | 0.00% |
include/flags/mw.png | 0.25KB | 0.26KB | 0.00% |
include/flags/vn.png | 0.26KB | 0.27KB | 0.00% |
include/flags/kn.png | 0.37KB | 0.37KB | 0.00% |
include/flags/bt.png | 0.67KB | 0.80KB | 0.00% |