Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.03ms] Passed 4 tests
A check of server-side resources used by WebshopLogin Single Sign On
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 36.53 ▼6.87 |
Dashboard /wp-admin | 3.38 ▲0.07 | 50.08 ▼2.26 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 53.17 ▲2.92 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.43 ▼13.33 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.10 ▼1.66 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WebshopLogin Single Sign On
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲47 | 14.39 ▲0.04 | 1.82 ▲0.13 | 46.37 ▲8.42 |
Dashboard /wp-admin | 2,214 ▲37 | 5.64 ▲0.03 | 92.27 ▲4.98 | 44.71 ▼1.18 |
Posts /wp-admin/edit.php | 2,123 ▲20 | 1.99 ▼0.02 | 41.11 ▲6.73 | 37.33 ▲0.11 |
Add New Post /wp-admin/post-new.php | 1,540 ▲5 | 23.22 ▲5.14 | 683.44 ▲44.20 | 57.14 ▼6.39 |
Media Library /wp-admin/upload.php | 1,419 ▲25 | 4.17 ▲0.01 | 96.77 ▼7.78 | 48.57 ▲1.85 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
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
The smoke test was a success, however most plugin functionality was not tested
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: Call to undefined function add_action() in wp-content/plugins/webshoplogin-single-sign-on/wsl-installation.php:4
- > 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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: login, simple login, one account, 1 account, single sign-on
webshoplogin-single-sign-on/wsl-plugin.php 85% from 13 tests
Analyzing the main PHP file in "WebshopLogin Single Sign On" version 1.0.5
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("webshoplogin-single-sign-on.php" instead of "wsl-plugin.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 177 characters long)
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 detected2,598 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 8 | 350 | 388 | 1,411 |
PHP | 6 | 186 | 52 | 956 |
JavaScript | 2 | 42 | 2 | 152 |
CSS | 1 | 16 | 0 | 79 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 68 | |
▷ Named functions | 68 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wsl-logo.png | 1.36KB | 0.84KB | ▼ 38.30% |