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: ▼8.48ms] Passed 4 tests
A check of server-side resources used by Multiple Themes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.73 ▼3.40 |
Dashboard /wp-admin | 3.32 ▼0.03 | 49.93 ▼15.92 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 53.73 ▼0.18 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.59 ▼14.41 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 43.15 ▲7.20 |
Multiple Themes plugin /wp-admin/options-general.php?page=jr_mt_settings | 3.19 | 32.75 |
Multiple Themes plugin /wp-admin/themes.php?page=jr_mt_settings | 3.19 | 31.23 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
jr_mt_internal_settings |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
jr_mt_settings |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Multiple Themes
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 13.68 ▼0.72 | 1.74 ▼0.09 | 40.92 ▼3.79 |
Dashboard /wp-admin | 2,228 ▲25 | 4.86 ▼0.04 | 109.04 ▼0.84 | 37.90 ▼4.17 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.00 ▼0.05 | 35.37 ▼6.62 | 31.97 ▼3.64 |
Add New Post /wp-admin/post-new.php | 1,534 ▼6 | 17.73 ▼0.45 | 673.29 ▲33.56 | 70.27 ▲21.09 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.23 ▲0.03 | 111.39 ▲9.23 | 45.67 ▼0.18 |
Multiple Themes plugin /wp-admin/options-general.php?page=jr_mt_settings | 2,361 | 2.10 | 28.57 | 47.32 |
Multiple Themes plugin /wp-admin/themes.php?page=jr_mt_settings | 2,348 | 2.10 | 26.14 | 39.22 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=jr_mt_settings
- > User deprecated in wp-includes/functions.php+5737
Function unregister_setting was called with an argument that is deprecated since version 4.7.0! $sanitize_callback is deprecated. The callback from register_setting() is used instead.
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: stylesheet, style, sections, theme, themes...
jonradio-multiple-themes/jonradio-multiple-themes.php Passed 13 tests
The entry point to "Multiple Themes" version 7.1.1 is a PHP file that has certain tags in its header comment area
103 characters long description:
Select different Themes for one or more WordPress Pages, Posts or other non-Admin pages. Or Site Home.
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
Everything looks great! No dangerous files found in this plugin3,528 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 228 | 883 | 3,449 |
JavaScript | 2 | 6 | 73 | 79 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
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 | 91 | |
▷ Named functions | 91 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected