Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▲3.15ms] Passed 4 tests
An overview of server-side resources used by WXY Advanced Multitheme
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.90 ▼5.33 |
Dashboard /wp-admin | 3.32 ▲0.02 | 52.42 ▲12.90 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.29 ▲0.19 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 97.39 ▲15.27 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.97 ▲4.85 |
WXY Advanced Multitheme /wp-admin/options-general.php?page=wxy_advanced_multitheme_options_page | 3.28 | 36.68 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please fix the following
- Illegal file modification detected: 1 file (3.58KB) outside of "wp-content/plugins/wxy-advanced-multitheme/" and "wp-content/uploads/"
- (new file) wp-content/mu-plugins/wxy_advanced_multitheme_filter_plugins.php
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
wxy_advanced_multitheme_blacklist |
db_upgraded |
widget_recent-comments |
wxy_advanced_multitheme_options |
Browser metrics Passed 4 tests
Checking browser requirements for WXY Advanced Multitheme
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲78 | 13.26 ▼1.03 | 4.19 ▲2.31 | 44.57 ▲2.04 |
Dashboard /wp-admin | 2,212 ▲24 | 5.84 ▼0.06 | 118.19 ▼2.24 | 42.98 ▲2.51 |
Posts /wp-admin/edit.php | 2,098 ▲6 | 2.02 ▲0.05 | 39.61 ▲0.41 | 31.33 ▼4.64 |
Add New Post /wp-admin/post-new.php | 6,520 ▲4,992 | 20.02 ▼3.31 | 961.41 ▲281.07 | 55.93 ▼1.75 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.17 ▼0.08 | 104.27 ▼15.78 | 44.28 ▼5.79 |
WXY Advanced Multitheme /wp-admin/options-general.php?page=wxy_advanced_multitheme_options_page | 975 | 2.09 | 28.46 | 47.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/wxy-advanced-multitheme/wxy-tools-advanced-multitheme.php+218
chmod(): No such file or directory
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- wxy_advanced_multitheme_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- wxy_advanced_multitheme_blacklist
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_page_by_path() in wp-content/plugins/wxy-advanced-multitheme/mu-plugins/wxy_advanced_multitheme_filter_plugins.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wxy-advanced-multitheme/extras/wxy-tools-advanced-multitheme-options.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wxy-advanced-multitheme ===
) - Screenshots: These screenshots have no corresponding images in /assets: #1 (WXY Advanced Multitheme Posts Menu), #2 (WXY Advanced Multitheme Pages Menu), #3 (WXY Advanced Multitheme Plugin Blacklist), #4 (WXY Advanced Multitheme Search Page Alternate Theme Option)
- Donate link: Invalid URI found ("/wp-admin/options-general.php?page=wxy_advanced_multitheme_options_page")
wxy-advanced-multitheme/wxy-tools-advanced-multitheme.php 92% from 13 tests
"WXY Advanced Multitheme" version 0.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wxy-advanced-multitheme.php" instead of "wxy-tools-advanced-multitheme.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin791 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 286 | 263 | 613 |
JavaScript | 1 | 70 | 95 | 175 |
CSS | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 20 | |
▷ Named functions | 19 | 95.00% |
▷ Anonymous functions | 1 | 5.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin