Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼10.25ms] Passed 4 tests
An overview of server-side resources used by WHMCS Multi-Site Provisioning
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.35 ▼11.67 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.14 ▼4.38 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.83 ▼7.28 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 82.07 ▼17.67 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.12 ▼3.50 |
Remote Provisioning /wp-admin/options-general.php?page=cc-rp-cp | 3.21 | 31.68 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WHMCS Multi-Site Provisioning
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.21 ▼0.16 | 2.44 ▲0.70 | 39.28 ▼8.40 |
Dashboard /wp-admin | 2,199 ▲22 | 5.59 ▼0.10 | 93.93 ▼4.03 | 41.56 ▲1.29 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▼0.03 | 39.04 ▼1.83 | 35.35 ▲0.59 |
Add New Post /wp-admin/post-new.php | 1,531 ▼0 | 23.31 ▲0.10 | 615.74 ▼47.76 | 44.86 ▼4.39 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.24 ▲0.03 | 101.41 ▲3.34 | 44.31 ▲0.09 |
Remote Provisioning /wp-admin/options-general.php?page=cc-rp-cp | 814 | 2.17 | 23.99 | 31.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=cc-rp-cp
- > Notice in wp-content/plugins/remote-provisioning/rp.php+288
Undefined index: action
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cc-rp-cp
- > Notice in wp-content/plugins/remote-provisioning/rp.php+321
Trying to access array offset on value of type null
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/remote-provisioning/rp.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Requires at least: The plugin version is formatted incorrectly
remote-provisioning/rp.php 92% from 13 tests
Analyzing the main PHP file in "WHMCS Multi-Site Provisioning" version 1.7.0
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("remote-provisioning.php" instead of "rp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected257 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 51 | 29 | 257 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
logo.png | 15.68KB | 5.12KB | ▼ 67.33% |