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: ▼1.24MB] [CPU: ▼41.20ms] Passed 4 tests
An overview of server-side resources used by Orenda Elementor Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.74 ▼0.73 | 13.55 ▼25.04 |
Dashboard /wp-admin | 2.77 ▼0.53 | 16.51 ▼40.89 |
Posts /wp-admin/edit.php | 2.78 ▼0.58 | 19.81 ▼30.06 |
Add New Post /wp-admin/post-new.php | 2.77 ▼3.11 | 29.79 ▼68.82 |
Media Library /wp-admin/upload.php | 2.77 ▼0.45 | 16.29 ▼21.25 |
OrendaWidgets /wp-admin/admin.php?page=orenda-admin | 2.78 | 22.64 |
PWA Settings /wp-admin/admin.php?page=orenda_widget_options | 2.78 | 19.03 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 121 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
active_widgets |
widget_recent-posts |
widgets_hash |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Orenda Elementor Plugin: 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,993 ▲247 | 24.42 ▲10.04 | 58.11 ▲56.32 | 41.16 ▼2.62 |
Dashboard /wp-admin | 2,285 ▲103 | 12.85 ▲6.96 | 302.65 ▲187.09 | 41.70 ▼4.91 |
Posts /wp-admin/edit.php | 2,171 ▲85 | 9.23 ▲7.22 | 231.87 ▲196.63 | 36.27 ▲4.25 |
Add New Post /wp-admin/post-new.php | 1,396 ▼137 | 19.05 ▼3.90 | 667.82 ▼7.16 | 28.27 ▼25.70 |
Media Library /wp-admin/upload.php | 1,089 ▼299 | 9.26 ▲5.06 | 305.90 ▲197.89 | 47.57 ▼0.29 |
OrendaWidgets /wp-admin/admin.php?page=orenda-admin | 958 | 12.79 | 297.73 | 32.87 |
PWA Settings /wp-admin/admin.php?page=orenda_widget_options | 916 | 12.77 | 289.78 | 29.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/orenda-widgets-for-elementor/orenda-init.php+224
Trying to access array offset on value of type bool
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-comments
- active_widgets
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widgets_hash
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 33 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=orenda_widget_options
- > Notice in wp-content/plugins/orenda-widgets-for-elementor/admin/pwa_settings.php+105
Trying to access array offset on value of type bool
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=orenda_widget_options
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
10 plugin tags: visual editor, payment, payee, elementor, statement...
orenda-widgets-for-elementor/orenda-init.php 77% from 13 tests
The primary PHP file in "Orenda Elementor Plugin" version 1.2.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 487 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("orenda-widgets-for-elementor.php" instead of "orenda-init.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 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
Success! There were no dangerous files found in this plugin1,948 lines of code in 115 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 508 | 64 | 1,752 |
JavaScript | 7 | 1 | 3 | 84 |
SVG | 78 | 0 | 0 | 78 |
CSS | 2 | 1 | 8 | 32 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.52 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 174 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 147 | 84.48% |
▷ Protected methods | 27 | 15.52% |
▷ Private methods | 0 | 0.00% |
Functions | 48 | |
▷ Named functions | 48 | 100.00% |
▷ Anonymous functions | 0 | 0.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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 18.93KB | 8.38KB | ▼ 55.72% |