Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼7.67ms] Passed 4 tests
Analyzing server-side resources used by SCIM User Sync/Provisioning
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 40.65 ▲0.17 |
Dashboard /wp-admin | 3.46 ▲0.12 | 51.20 ▼13.77 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 54.00 ▲2.80 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 82.70 ▼18.92 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 41.73 ▲1.83 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SCIM User Sync/Provisioning
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 14.24 ▼0.11 | 1.98 ▲0.02 | 44.35 ▲1.04 |
Dashboard /wp-admin | 2,195 ▲15 | 5.56 ▼0.10 | 91.59 ▲3.08 | 88.19 ▲45.00 |
Posts /wp-admin/edit.php | 2,121 ▲18 | 2.00 ▼0.02 | 37.53 ▼2.08 | 35.18 ▼0.49 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 22.99 ▼0.07 | 709.33 ▲78.57 | 57.64 ▼6.05 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.21 ▲0.03 | 96.81 ▼9.01 | 68.47 ▲23.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function update_site_option() in wp-content/plugins/scim-user-provisioning/mo-scim-user-provisioner.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
scim-user-provisioning/mo-scim-user-provisioner.php 92% from 13 tests
"SCIM User Sync/Provisioning" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("scim-user-provisioning.php" instead of "mo-scim-user-provisioner.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,523 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 177 | 41 | 1,191 |
CSS | 3 | 42 | 3 | 331 |
JavaScript | 2 | 1 | 3 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
21 compressed PNG files occupy 0.58MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/copy-icon.png | 0.19KB | 0.19KB | 0.00% |
images/idp-guides-logos/azure-ad.png | 19.42KB | 23.22KB | 0.00% |
images/idp-guides-logos/jumpCloud.png | 90.64KB | 89.92KB | ▼ 0.80% |
images/idp-guides-logos/pingone.png | 1.63KB | 1.63KB | 0.00% |
images/smile.png | 17.89KB | 8.79KB | ▼ 50.86% |