Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.49MB] [CPU: ▼294.47ms] Passed 4 tests
Server-side resources used by vBSSO-lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.33 ▲0.50 | 41.12 ▲5.51 |
Dashboard /wp-admin | 3.55 ▲0.49 | 51.44 ▲4.74 |
Posts /wp-admin/edit.php | 3.60 ▲0.49 | 51.65 ▲3.25 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.48 | 93.07 ▼1,180.97 |
Media Library /wp-admin/upload.php | 3.49 ▲0.48 | 34.75 ▼4.88 |
vBSSO /wp-admin/options-general.php?page=vbsso_options | 3.40 | 32.54 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 95 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_vbsso_login_form |
Browser metrics Passed 4 tests
Checking browser requirements for vBSSO-lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,796 ▲214 | 16.56 ▲0.92 | 10.87 ▲1.82 | 48.10 ▼1.36 |
Dashboard /wp-admin | 2,941 ▲91 | 5.93 ▲0.06 | 133.24 ▼1.39 | 108.90 ▲8.84 |
Posts /wp-admin/edit.php | 2,719 ▲13 | 2.69 ▲0.00 | 65.54 ▼2.43 | 94.18 ▼0.08 |
Add New Post /wp-admin/post-new.php | 1,861 ▲210 | 19.17 ▲0.73 | 380.38 ▲24.56 | 105.62 ▼3.18 |
Media Library /wp-admin/upload.php | 1,788 ▲16 | 5.02 ▼0.05 | 144.98 ▼10.03 | 112.43 ▼3.77 |
vBSSO /wp-admin/options-general.php?page=vbsso_options | 1,098 | 2.22 | 57.05 | 38.66 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 1 option in the database
- widget_vbsso_login_form
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
- 17× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Foolz\\Package\\Loader' not found in wp-content/plugins/vbsso-lite/vendor/com.extremeidea.vbsso/foolz-plugin-fork/src/Loader.php:12
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/vbsso-lite/vendor/com.extremeidea.vbsso/foolz-plugin-fork/tests/classes/PluginTest.php:6
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/vbsso-lite/vendor/com.extremeidea.vbsso/foolz-plugin-fork/tests/classes/EventTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/vbsso-lite/vendor/com.extremeidea.vbsso/foolz-plugin-fork/tests/classes/ResultTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/vbsso-lite/vendor/com.extremeidea.vbsso/foolz-package-fork/tests/classes/LoaderTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'Foolz\\Package\\AssetManager' not found in wp-content/plugins/vbsso-lite/vendor/com.extremeidea.vbsso/foolz-plugin-fork/src/AssetManager.php:5
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/vbsso-lite/vendor/com.extremeidea.vbsso/foolz-plugin-fork/tests/classes/LoaderTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/vbsso-lite/vendor/com.extremeidea.vbsso/foolz-plugin-fork/tests/classes/VoidTest.php:3
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/vbsso-lite/vendor/com.extremeidea.vbsso/foolz-plugin-fork/tests/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/vbsso-lite/vendor/com.extremeidea.vbsso/foolz-plugin-fork/tests/bootstrap.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Foolz\\Plugin\\Event' not found in wp-content/plugins/vbsso-lite/vendor/com.extremeidea.vbsso/foolz-plugin-fork/tests/mock/foolz/fake/bootstrap.php:3
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: login, registration, single sign-on, user management, bridge...
vbsso-lite/vbsso.php 92% from 13 tests
The entry point to "vBSSO-lite" version 1.4.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("vbsso-lite.php" instead of "vbsso.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected4,348 lines of code in 78 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 47 | 789 | 1,456 | 3,128 |
Markdown | 5 | 316 | 0 | 474 |
PO File | 3 | 142 | 149 | 384 |
JSON | 18 | 6 | 0 | 288 |
CSS | 2 | 7 | 15 | 44 |
XML | 2 | 2 | 0 | 16 |
JavaScript | 1 | 1 | 0 | 14 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 180 | |
▷ Static methods | 22 | 12.22% |
▷ Public methods | 172 | 95.56% |
▷ Protected methods | 3 | 1.67% |
▷ Private methods | 5 | 2.78% |
Functions | 102 | |
▷ Named functions | 81 | 79.41% |
▷ Anonymous functions | 21 | 20.59% |
Constants | 201 | |
▷ Global constants | 201 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/arrow_down.png | 0.16KB | 0.16KB | 0.00% |
assets/images/arrow_up.png | 0.14KB | 0.16KB | 0.00% |