Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/miniorange-saml-cloud/Response.php+111
Cannot use "parent" when current class scope has no parent
Server metrics [RAM: ▼1.30MB] [CPU: ▼47.43ms] Passed 4 tests
Analyzing server-side resources used by Customer Identity (CIAM) - miniOrange
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.69 ▼0.78 | 8.83 ▼31.63 |
Dashboard /wp-admin | 2.71 ▼0.60 | 9.73 ▼39.22 |
Posts /wp-admin/edit.php | 2.71 ▼0.65 | 10.37 ▼41.71 |
Add New Post /wp-admin/post-new.php | 2.71 ▼3.18 | 10.27 ▼77.15 |
Media Library /wp-admin/upload.php | 2.71 ▼0.52 | 12.92 ▼24.25 |
Server storage [IO: ▲0.59MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 34 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
mo_saml_enable_cloud_broker |
widget_saml_login_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Customer Identity (CIAM) - miniOrange
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲136 | 13.47 ▼0.92 | 9.94 ▲8.12 | 44.09 ▲0.01 |
Dashboard /wp-admin | 2,215 ▲35 | 5.77 ▲0.09 | 94.48 ▲0.87 | 92.53 ▲51.41 |
Posts /wp-admin/edit.php | 2,123 ▲20 | 2.21 ▲0.22 | 34.57 ▼8.24 | 33.20 ▼5.05 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 22.94 ▼0.18 | 755.03 ▲133.87 | 54.25 ▲10.60 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.31 ▲0.04 | 104.84 ▲2.54 | 67.96 ▲25.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/miniorange-saml-cloud/Response.php+111
Cannot use "parent" when current class scope has no parent
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_saml_login_widget
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/miniorange-saml-cloud/mo_login_saml_sso_widget.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/miniorange-saml-cloud/mo_login_saml_sso_widget.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: mfa, iam, ciam, user authentication
miniorange-saml-cloud/login.php 92% from 13 tests
The main PHP script in "Customer Identity (CIAM) - miniOrange" version 5.0.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("miniorange-saml-cloud.php" instead of "login.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
No dangerous file extensions were detected6,531 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 759 | 1,376 | 5,305 |
CSS | 4 | 43 | 41 | 1,137 |
JavaScript | 2 | 24 | 51 | 89 |
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.33 |
Average class complexity | 54.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 154.00 |
Average method complexity | 3.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 206 | |
▷ Static methods | 36 | 17.48% |
▷ Public methods | 176 | 85.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 30 | 14.56% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 36 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 36 | 100.00% |
▷ Public constants | 36 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
13 PNG files occupy 0.24MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/green_check.png | 43.25KB | 16.06KB | ▼ 62.87% |
images/miniorange.png | 0.44KB | 0.35KB | ▼ 18.61% |
includes/css/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
images/saml_working_womo.png | 5.55KB | 2.45KB | ▼ 55.88% |
images/flags16.png | 61.80KB | 19.90KB | ▼ 67.79% |