Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.38MB] [CPU: ▼12.41ms] Passed 4 tests
A check of server-side resources used by WP Multi Network
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.94 ▲5.30 |
Dashboard /wp-admin | 3.32 ▲0.02 | 54.00 ▲4.07 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.09 ▲0.67 |
Add New Post /wp-admin/post-new.php | 4.30 ▼1.59 | 38.00 ▼56.34 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.89 ▲1.98 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
recovery_mode_email_last_sent |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Multi Network
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.28 ▼0.27 | 1.70 ▼0.18 | 43.77 ▲2.83 |
Dashboard /wp-admin | 2,195 ▲21 | 5.58 ▲0.00 | 94.69 ▲8.46 | 41.60 ▼1.04 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▼0.02 | 34.31 ▼5.50 | 31.49 ▲1.45 |
Add New Post /wp-admin/post-new.php | 45 ▼1,483 | 0.42 ▼22.65 | 0.07 ▼646.81 | 9.05 ▼50.30 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.20 ▲0.09 | 105.10 ▼12.23 | 69.27 ▲21.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- recovery_mode_email_last_sent
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/wp-multi-network/wp-multi-network/includes/classes/class-wp-ms-network-command.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/wp-multi-network/wp-multi-network/includes/classes/class-wp-ms-rest-networks-controller.php:17
- > 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 uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in wp-multi-network/assets to your readme.txt
wp-multi-network/wpmn-loader.php 92% from 13 tests
The primary PHP file in "WP Multi Network" version 2.5.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-multi-network.php" instead of "wpmn-loader.php")
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
Everything looks great! No dangerous files found in this plugin3,004 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 759 | 1,712 | 2,833 |
CSS | 1 | 25 | 0 | 131 |
JavaScript | 1 | 6 | 2 | 40 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 32.57 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 55 | 61.80% |
▷ Protected methods | 11 | 12.36% |
▷ Private methods | 23 | 25.84% |
Functions | 36 | |
▷ Named functions | 35 | 97.22% |
▷ Anonymous functions | 1 | 2.78% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG files were detected