Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/wpmu-user-own-site/wp-auto-mu.php+28
Methods with the same name as their class will not be constructors in a future version of PHP; MyGeweb_WPMU has a deprecated constructor
Server metrics [RAM: ▼1.88MB] [CPU: ▼51.04ms] Passed 4 tests
Analyzing server-side resources used by WPMU User own site
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.11 ▼1.35 | 4.30 ▼36.05 |
Dashboard /wp-admin | 2.13 ▼1.18 | 6.61 ▼42.33 |
Posts /wp-admin/edit.php | 2.13 ▼1.23 | 6.32 ▼38.64 |
Add New Post /wp-admin/post-new.php | 2.13 ▼3.76 | 5.73 ▼87.13 |
Media Library /wp-admin/upload.php | 2.13 ▼1.10 | 5.96 ▼27.29 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
WPMU User own site: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.32 ▼0.98 | 1.77 ▼0.09 | 37.85 ▼2.19 |
Dashboard /wp-admin | 2,206 ▲15 | 5.83 ▲0.99 | 92.98 ▼23.42 | 40.22 ▼4.94 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.03 | 39.15 ▲5.17 | 33.77 ▲0.28 |
Add New Post /wp-admin/post-new.php | 1,520 ▼8 | 20.74 ▲2.30 | 660.27 ▲56.28 | 49.94 ▼1.42 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.26 ▼0.02 | 100.10 ▲3.30 | 44.06 ▲1.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/wpmu-user-own-site/wp-auto-mu.php+28
Methods with the same name as their class will not be constructors in a future version of PHP; MyGeweb_WPMU has a deprecated constructor
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/wpmu-user-own-site/wp-auto-mu.php:210
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/wpmu-user-own-site/geweb-mu/register.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Use Recaptcha to save your site from spam sites.), #2 (Example of frontend view.)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wpmu-user-own-site ===
)
wpmu-user-own-site/wp-auto-mu.php 92% from 13 tests
"WPMU User own site" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("wpmu-user-own-site.php" instead of "wp-auto-mu.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
Success! There were no dangerous files found in this plugin226 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 36 | 25 | 226 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin