Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.76ms] Passed 4 tests
Server-side resources used by Multisite User Role Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 36.72 ▼0.83 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.60 ▼4.53 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.53 ▲3.92 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.89 ▼23.21 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.01 ▲1.54 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Multisite User Role Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲68 | 13.32 ▼1.05 | 1.73 ▼0.17 | 40.43 ▼2.45 |
Dashboard /wp-admin | 2,209 ▲21 | 5.88 ▲1.01 | 133.71 ▲28.24 | 57.79 ▲15.81 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.16 ▲0.10 | 44.72 ▲3.89 | 39.72 ▲6.39 |
Add New Post /wp-admin/post-new.php | 1,542 ▲21 | 18.27 ▼5.15 | 631.88 ▲38.63 | 52.00 ▼0.35 |
Media Library /wp-admin/upload.php | 1,379 ▼3 | 4.15 ▼0.03 | 97.54 ▼2.03 | 43.96 ▼0.26 |
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
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: wpmu, management, users, roles, multisite
multisite-user-role-manager/multisite-user-role-manager.php Passed 13 tests
"Multisite User Role Manager" version 1.0.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
67 characters long description:
Manage user roles for each blog from a single screen on WPMU setups
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin3,419 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 805 | 1,917 | 2,754 |
PHP | 7 | 181 | 542 | 485 |
CSS | 2 | 40 | 26 | 180 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 16.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 11.11% |
Functions | 1 | |
▷ Named functions | 1 | 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
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 |
assets/jqueryui-editable/img/clear.png | 0.50KB | 0.38KB | ▼ 22.59% |