Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.15MB] [CPU: ▼13.82ms] Passed 4 tests
A check of server-side resources used by Multisite Multidomain Single Sign On
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 37.59 ▼5.92 |
Dashboard /wp-admin | 3.23 ▼0.08 | 34.49 ▼17.15 |
Posts /wp-admin/edit.php | 3.29 ▼0.07 | 38.93 ▼11.09 |
Add New Post /wp-admin/post-new.php | 5.47 ▼0.42 | 76.14 ▼21.13 |
Media Library /wp-admin/upload.php | 3.23 ▼0.00 | 32.56 ▼4.94 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
It is recommended to fix the following issues
- There were 1 file (4.00KB) illegally modified outside of "wp-content/plugins/multisite-multidomain-single-sign-on/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
recovery_mode_email_last_sent |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Multisite Multidomain Single Sign On
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 811 ▼1,950 | 12.76 ▼1.55 | 0.73 ▼1.08 | 14.30 ▼24.07 |
Dashboard /wp-admin | 504 ▼1,696 | 1.38 ▼4.42 | 14.12 ▼83.70 | 15.11 ▼23.22 |
Posts /wp-admin/edit.php | 502 ▼1,598 | 1.53 ▼0.49 | 6.50 ▼29.40 | 17.77 ▼19.85 |
Add New Post /wp-admin/post-new.php | 453 ▼1,092 | 1.73 ▼19.28 | 20.84 ▼686.60 | 6.82 ▼54.22 |
Media Library /wp-admin/upload.php | 512 ▼891 | 1.73 ▼2.51 | 20.37 ▼85.34 | 18.18 ▼25.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- recovery_mode_email_last_sent
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multisite-multidomain-single-sign-on/multisite-multidomain-single-sign-on.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: domain, single sign on, multisite
multisite-multidomain-single-sign-on/multisite-multidomain-single-sign-on.php 92% from 13 tests
"Multisite Multidomain Single Sign On" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 402 characters long)
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
No dangerous file extensions were detected130 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 40 | 130 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 71.43% |
▷ Protected methods | 2 | 28.57% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
4 PNG files occupy 0.15MB with 0.09MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner-772x250.png | 33.50KB | 11.47KB | ▼ 65.75% |
icon-256x256.png | 23.61KB | 8.34KB | ▼ 64.69% |
banner-1544x500.png | 79.79KB | 30.26KB | ▼ 62.07% |
icon-128x128.png | 14.01KB | 5.88KB | ▼ 58.03% |