Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲4.95MB] [CPU: ▲18.80ms] Passed 4 tests
A check of server-side resources used by Wadi Addons for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.76 ▲5.30 | 82.92 ▲25.47 |
Dashboard /wp-admin | 8.78 ▲5.43 | 74.22 ▲4.92 |
Posts /wp-admin/edit.php | 8.78 ▲5.42 | 82.75 ▲29.11 |
Add New Post /wp-admin/post-new.php | 9.55 ▲3.66 | 116.85 ▲15.88 |
Media Library /wp-admin/upload.php | 8.78 ▲5.55 | 66.24 ▲28.94 |
Freemius Debug [v.2.4.5] /wp-admin/admin.php?page=freemius | 8.78 | 58.27 |
Server storage [IO: ▲16.76MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 635 new files
Database: no new tables, 10 new options
New WordPress options |
---|
can_compress_scripts |
fs_debug_mode |
fs_gdpr |
fs_active_plugins |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
fs_accounts |
Browser metrics Passed 4 tests
Checking browser requirements for Wadi Addons for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲74 | 14.22 ▼0.33 | 2.43 ▼0.48 | 33.43 ▼23.72 |
Dashboard /wp-admin | 2,241 ▲63 | 5.57 ▼0.09 | 99.22 ▼5.00 | 45.23 ▲1.41 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 2.12 ▲0.15 | 40.40 ▲4.20 | 39.60 ▲5.29 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.36 ▼0.15 | 687.61 ▼26.66 | 64.48 ▲9.33 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.23 ▲0.04 | 101.00 ▼1.70 | 48.30 ▲3.14 |
Freemius Debug [v.2.4.5] /wp-admin/admin.php?page=freemius | 1,073 | 1.67 | 25.90 | 28.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wadi-addons-for-elementor/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 10 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- fs_accounts
- fs_active_plugins
- fs_gdpr
- db_upgraded
- fs_debug_mode
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WadiAddons\\Includes\\WadiHelpers' not found in wp-content/plugins/wadi-addons-for-elementor/admin/templates/settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wadi-addons-for-elementor/admin/templates/integrations.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: elementor addons, elementor widgets, elementor elements, elementor, elementor templates
wadi-addons-for-elementor/wadi-addons.php 77% from 13 tests
"Wadi Addons for Elementor" version 1.0.10's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires PHP: Required version must match the one declared in readme.txt ("7.0" instead of "7.2")
- Main file name: The principal plugin file should be the same as the plugin slug ("wadi-addons-for-elementor.php" instead of "wadi-addons.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected156,115 lines of code in 458 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 123 | 17,496 | 8,530 | 92,215 |
PHP | 150 | 10,347 | 18,283 | 51,261 |
Sass | 36 | 1,238 | 641 | 7,101 |
PO File | 3 | 2,280 | 3,804 | 4,791 |
SVG | 4 | 0 | 3 | 406 |
CSS | 140 | 40 | 157 | 331 |
Markdown | 1 | 0 | 0 | 9 |
JSON | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 2,911)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 59.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,911.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 82 | |
▷ Abstract classes | 2 | 2.44% |
▷ Concrete classes | 80 | 97.56% |
▷ Final classes | 1 | 1.25% |
Methods | 1,592 | |
▷ Static methods | 215 | 13.51% |
▷ Public methods | 1,129 | 70.92% |
▷ Protected methods | 122 | 7.66% |
▷ Private methods | 341 | 21.42% |
Functions | 97 | |
▷ Named functions | 95 | 97.94% |
▷ Anonymous functions | 2 | 2.06% |
Constants | 143 | |
▷ Global constants | 109 | 76.22% |
▷ Class constants | 34 | 23.78% |
▷ Public constants | 34 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |