Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.84ms] Passed 4 tests
This is a short check of server-side resources used by Multidomain support for Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.58 ▼8.48 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.45 ▲1.47 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 41.56 ▼1.43 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 80.55 ▼9.97 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.75 ▲0.54 |
Multidomain Support /wp-admin/admin.php?page=multidomain-support-for-elementor-settings | 3.32 | 31.98 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Multidomain support for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.35 ▼0.00 | 1.79 ▼0.02 | 44.75 ▲0.87 |
Dashboard /wp-admin | 2,205 ▲28 | 5.52 ▼0.16 | 96.13 ▲8.60 | 43.47 ▲3.60 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.00 ▼0.04 | 33.33 ▼6.90 | 35.19 ▲0.95 |
Add New Post /wp-admin/post-new.php | 1,544 ▲17 | 23.11 ▲0.11 | 662.64 ▼23.38 | 52.57 ▼21.35 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.25 ▲0.07 | 95.41 ▼8.53 | 41.71 ▼5.22 |
Multidomain Support /wp-admin/admin.php?page=multidomain-support-for-elementor-settings | 1,054 | 2.01 | 23.79 | 34.51 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/multidomain-support-for-elementor/public/partials/public--display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Multidomain_Support_For_Elementor_Admin' not found in wp-content/plugins/multidomain-support-for-elementor/admin/partials/admin--display.php:15
- > 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 97% from 29 tests
readme.txt 94% 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
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== multidomain-support-for-elementor ===
)
multidomain-support-for-elementor/multidomain-support-for-elementor.php Passed 13 tests
"Multidomain support for Elementor" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected832 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 216 | 619 | 558 |
Sass | 4 | 47 | 3 | 172 |
JavaScript | 4 | 21 | 55 | 101 |
CSS | 2 | 1 | 2 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 5.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 1.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 39 | |
▷ Static methods | 2 | 5.13% |
▷ Public methods | 30 | 76.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 23.08% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 compressed PNG files occupy 0.07MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/imgs/github-octcat.png | 3.56KB | 3.47KB | ▼ 2.47% |
admin/imgs/opensource.png | 1.37KB | 1.30KB | ▼ 4.79% |
admin/imgs/banner--global-lang.png | 19.95KB | 19.17KB | ▼ 3.93% |
admin/imgs/gplv3.png | 2.93KB | 2.88KB | ▼ 1.70% |
admin/imgs/buymeacoffee.png | 5.13KB | 5.02KB | ▼ 2.23% |