Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲5.05MB] [CPU: ▲27.97ms] 75% from 4 tests
This is a short check of server-side resources used by Missing Widgets for Elementor
Please take the time to fix the following items
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.05MB on /wp-admin/admin.php?page=missing-widgets-for-elementor)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.92 ▲5.46 | 71.78 ▲35.86 |
Dashboard /wp-admin | 8.94 ▲5.63 | 72.95 ▲23.63 |
Posts /wp-admin/edit.php | 8.94 ▲5.58 | 82.92 ▲33.63 |
Add New Post /wp-admin/post-new.php | 9.42 ▲3.53 | 119.92 ▲23.01 |
Media Library /wp-admin/upload.php | 8.94 ▲5.71 | 64.73 ▲31.61 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 8.94 | 57.36 |
Missing Widgets for Elementor /wp-admin/admin.php?page=missing-widgets-for-elementor | 8.94 | 65.92 |
Server storage [IO: ▲3.71MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 228 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_active_plugins |
fs_accounts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
fs_debug_mode |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Missing Widgets for Elementor: 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,810 ▲48 | 14.69 ▲0.35 | 1.61 ▼0.04 | 31.24 ▼13.32 |
Dashboard /wp-admin | 2,218 ▲41 | 5.60 ▼0.02 | 91.66 ▼3.97 | 44.54 ▼1.96 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.10 ▲0.14 | 40.70 ▲3.01 | 38.43 ▲3.97 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.01 ▼0.14 | 661.30 ▲9.60 | 52.22 ▼5.60 |
Media Library /wp-admin/upload.php | 1,423 ▲29 | 4.19 ▲0.01 | 99.66 ▼0.24 | 43.00 ▼1.06 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,051 | 1.68 | 26.01 | 24.52 |
Missing Widgets for Elementor /wp-admin/admin.php?page=missing-widgets-for-elementor | 976 | 1.65 | 27.36 | 59.64 |
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
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/missing-widgets-for-elementor/assets/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 9 options
- fs_active_plugins
- fs_debug_mode
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- fs_accounts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\Kits\\Documents\\Tabs\\Tab_Base' not found in wp-content/plugins/missing-widgets-for-elementor/includes/extras/class-themestyleextrabutton.php:12
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\Kits\\Documents\\Tabs\\Tab_Base' not found in wp-content/plugins/missing-widgets-for-elementor/includes/extras/class-themeextrasettings.php:8
- > PHP Fatal error
Trait 'MissingWidgets\\Singleton' not found in wp-content/plugins/missing-widgets-for-elementor/includes/class-core.php on line 14
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 16 tag instead of maximum 10
missing-widgets-for-elementor/missing-widgets-for-elementor.php 92% from 13 tests
The primary PHP file in "Missing Widgets for Elementor" version 1.4.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin41,854 lines of code in 171 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 144 | 8,913 | 18,491 | 40,395 |
PO File | 2 | 495 | 1,052 | 1,138 |
JavaScript | 5 | 34 | 59 | 198 |
XML | 2 | 13 | 15 | 63 |
CSS | 15 | 3 | 2 | 39 |
JSON | 2 | 0 | 0 | 11 |
SVG | 1 | 0 | 0 | 10 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 65.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 70 | |
▷ Abstract classes | 2 | 2.86% |
▷ Concrete classes | 68 | 97.14% |
▷ Final classes | 0 | 0.00% |
Methods | 1,465 | |
▷ Static methods | 234 | 15.97% |
▷ Public methods | 1,031 | 70.38% |
▷ Protected methods | 44 | 3.00% |
▷ Private methods | 390 | 26.62% |
Functions | 104 | |
▷ Named functions | 101 | 97.12% |
▷ Anonymous functions | 3 | 2.88% |
Constants | 154 | |
▷ Global constants | 101 | 65.58% |
▷ Class constants | 53 | 34.42% |
▷ Public constants | 53 | 100.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
4 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/freemius/assets/img/missingwidgets.png | 18.82KB | 7.50KB | ▼ 60.16% |
assets/freemius/assets/img/missing-widgets-for-elementor.png | 18.82KB | 7.50KB | ▼ 60.16% |
assets/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |