Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.07ms] Passed 4 tests
This is a short check of server-side resources used by GiveWP Donation Widgets for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 39.39 ▲0.07 |
Dashboard /wp-admin | 3.35 ▲0.01 | 50.68 ▼16.53 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.99 ▼6.74 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 89.67 ▼9.09 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.14 ▲2.33 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
dw4elementor_activation_date |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GiveWP Donation Widgets for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲31 | 13.35 ▼0.65 | 1.71 ▼0.43 | 44.19 ▲0.37 |
Dashboard /wp-admin | 2,205 ▲17 | 4.87 ▼0.00 | 109.30 ▼9.26 | 41.40 ▼1.90 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 2.06 ▲0.03 | 40.81 ▲4.51 | 35.76 ▲0.84 |
Add New Post /wp-admin/post-new.php | 1,530 ▲2 | 23.20 ▼0.00 | 648.60 ▼27.27 | 52.71 ▲2.01 |
Media Library /wp-admin/upload.php | 1,387 ▼1 | 4.24 ▲0.17 | 99.89 ▼10.47 | 44.29 ▼5.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- dw4elementor_activation_date
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
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
Even though no errors were found, 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
- 14× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/givewp-donation-widgets-for-elementor/widgets/give_register.php:10
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/givewp-donation-widgets-for-elementor/widgets/give_multi_form_goal_block.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_site_url() in wp-content/plugins/givewp-donation-widgets-for-elementor/includes/admin/subscribe.php:40
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/givewp-donation-widgets-for-elementor/widgets/give_donor_wall.php:10
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/givewp-donation-widgets-for-elementor/widgets/donation_history.php:11
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/givewp-donation-widgets-for-elementor/widgets/give_form_grid.php:10
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/givewp-donation-widgets-for-elementor/widgets/give_totals.php:10
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/givewp-donation-widgets-for-elementor/widgets/give_profile_editor.php:11
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/givewp-donation-widgets-for-elementor/widgets/give_goal.php:11
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/givewp-donation-widgets-for-elementor/widgets/give_receipt.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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 your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #4 (The GiveWP Donor Wall Widget), #5 (The GiveWP Totals Widget)
givewp-donation-widgets-for-elementor/givewp-elementor-widgets.php 85% from 13 tests
The principal PHP file in "GiveWP Donation Widgets for Elementor" v. 1.2.0 is loaded by WordPress automatically on each request
Please take the time to 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
- Main file name: It is recommended to name the main PHP file as the plugin slug ("givewp-donation-widgets-for-elementor.php" instead of "givewp-elementor-widgets.php")
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
Success! There were no dangerous files found in this plugin2,917 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 464 | 1,010 | 2,811 |
CSS | 2 | 17 | 6 | 106 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 10.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 1 | 7.69% |
Methods | 100 | |
▷ Static methods | 1 | 1.00% |
▷ Public methods | 71 | 71.00% |
▷ Protected methods | 24 | 24.00% |
▷ Private methods | 5 | 5.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin