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.16MB] [CPU: ▼2.62ms] Passed 4 tests
Server-side resources used by SSO for Azure AD
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 39.36 ▼4.19 |
Dashboard /wp-admin | 3.48 ▲0.18 | 48.84 ▼3.47 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 49.85 ▲5.62 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 84.80 ▼8.45 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 40.15 ▲8.39 |
SSO for Azure AD /wp-admin/options-general.php?page=sso_for_azure_ad_options | 3.43 | 37.75 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for SSO for Azure AD
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.54 ▲0.19 | 1.57 ▼0.09 | 36.71 ▼7.45 |
Dashboard /wp-admin | 2,199 ▲19 | 5.61 ▼0.06 | 91.73 ▼3.91 | 40.82 ▼2.23 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.94 ▼0.07 | 38.66 ▼1.33 | 34.52 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.08 ▼0.44 | 676.84 ▲18.14 | 61.64 ▲13.11 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.24 ▲0.04 | 95.75 ▼1.99 | 42.71 ▼0.21 |
SSO for Azure AD /wp-admin/options-general.php?page=sso_for_azure_ad_options | 1,020 | 2.00 | 23.69 | 33.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
3 plugin tags: sso, azure-ad, oauth
sso-for-azure-ad/sso-for-azure-ad.php Passed 13 tests
Analyzing the main PHP file in "SSO for Azure AD" version 2.5.0
49 characters long description:
Enable Single Sign On with Azure AD on your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected959 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 168 | 135 | 959 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 45 | |
▷ Named functions | 45 | 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
There are no PNG files in this plugin