Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.81ms] Passed 4 tests
An overview of server-side resources used by Multisite Blog Alias
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.15 ▼8.07 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.32 ▼8.68 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.55 ▼3.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.80 ▼11.26 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.83 ▼0.27 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Multisite Blog Alias: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲71 | 13.16 ▲0.02 | 1.92 ▼3.10 | 41.86 ▲4.74 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼1.00 | 115.37 ▲8.34 | 37.40 ▼7.85 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▲0.03 | 33.93 ▼7.71 | 36.16 ▼1.64 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.39 ▲0.30 | 686.06 ▲3.36 | 61.77 ▲6.04 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.23 ▲0.04 | 96.84 ▼6.46 | 42.24 ▲0.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- 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)
The smoke test was a success, however most plugin functionality was not tested
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 fix the following
- 18× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/multisite-blog-alias/include/BlogAlias/Admin/NetworkAdmin.php
- > /wp-content/plugins/multisite-blog-alias/include/BlogAlias/Model/Model.php
- > /wp-content/plugins/multisite-blog-alias/include/BlogAlias/WPCLI/Commands/AliasDomain.php
- > /wp-content/plugins/multisite-blog-alias/include/BlogAlias/Ajax/AjaxHandler.php
- > /wp-content/plugins/multisite-blog-alias/include/BlogAlias/WPCLI/WPCLIAliasDomain.php
- > /wp-content/plugins/multisite-blog-alias/include/BlogAlias/Core/Core.php
- > /wp-content/plugins/multisite-blog-alias/include/BlogAlias/Core/Sunrise.php
- > /wp-content/plugins/multisite-blog-alias/include/BlogAlias/Asset/Asset.php
- > /wp-content/plugins/multisite-blog-alias/include/BlogAlias/Core/PluginComponent.php
- > /wp-content/plugins/multisite-blog-alias/include/BlogAlias/Core/Plugin.php
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: redirect, domain, multisite, network
multisite-blog-alias/index.php 85% from 13 tests
The main file in "Multisite Blog Alias" v. 1.1.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Requires PHP: The required version number must match the one declared in readme.txt ("5.6" instead of "5.5")
- Main file name: The principal plugin file should be the same as the plugin slug ("multisite-blog-alias.php" instead of "index.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
No dangerous file extensions were detected2,153 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 622 | 1,146 | 1,857 |
PO File | 2 | 122 | 172 | 294 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 16.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 3 | 23.08% |
▷ Concrete classes | 10 | 76.92% |
▷ Final classes | 0 | 0.00% |
Methods | 121 | |
▷ Static methods | 10 | 8.26% |
▷ Public methods | 89 | 73.55% |
▷ Protected methods | 11 | 9.09% |
▷ Private methods | 21 | 17.36% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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