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.06MB] [CPU: ▼7.39ms] Passed 4 tests
An overview of server-side resources used by Give - Divi Donation Modules
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.24 ▲4.94 |
Dashboard /wp-admin | 3.38 ▲0.03 | 50.22 ▼10.42 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.01 ▼4.41 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 85.60 ▼12.79 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.96 ▼1.93 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 84 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Give - Divi Donation Modules
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.28 ▼0.07 | 1.76 ▼0.01 | 42.94 ▲2.59 |
Dashboard /wp-admin | 2,210 ▲33 | 5.63 ▲0.06 | 92.64 ▲5.81 | 43.68 ▲2.28 |
Posts /wp-admin/edit.php | 2,110 ▲7 | 2.14 ▲0.15 | 32.64 ▼8.14 | 33.45 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.60 ▲0.57 | 667.14 ▼100.95 | 53.54 ▼4.26 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.16 ▼0.07 | 93.76 ▼8.42 | 42.50 ▼7.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 26× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'GiveDivi\\Divi\\Routes\\Endpoint' not found in wp-content/plugins/give-donation-modules-for-divi/src/Divi/Routes/RenderRegistrationForm.php:13
- > PHP Fatal error
Uncaught Error: Class 'GiveDivi\\Divi\\Routes\\Endpoint' not found in wp-content/plugins/give-donation-modules-for-divi/src/Divi/Routes/RenderSubscriptionTable.php:13
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/give-donation-modules-for-divi/src/Divi/Modules/Totals/Module.php:8
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/give-donation-modules-for-divi/src/Divi/Modules/SubscriptionsTable/Module.php:8
- > PHP Fatal error
Uncaught Error: Class 'GiveDivi\\Divi\\Routes\\Endpoint' not found in wp-content/plugins/give-donation-modules-for-divi/src/Divi/Routes/RenderLoginForm.php:12
- > PHP Fatal error
Uncaught Error: Class 'GiveDivi\\Divi\\Routes\\Endpoint' not found in wp-content/plugins/give-donation-modules-for-divi/src/Divi/Routes/RenderDonationForm.php:12
- > PHP Fatal error
Uncaught Error: Class 'GiveDivi\\Divi\\Routes\\Endpoint' not found in wp-content/plugins/give-donation-modules-for-divi/src/Divi/Routes/RenderFormGrid.php:12
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/give-donation-modules-for-divi/src/Divi/Modules/RegistrationForm/Module.php:8
- > PHP Fatal error
Uncaught Error: Class 'GiveDivi\\Divi\\Routes\\Endpoint' not found in wp-content/plugins/give-donation-modules-for-divi/src/Divi/Routes/RenderProfileEditor.php:11
- > PHP Fatal error
Uncaught Error: Class 'GiveDivi\\Divi\\Routes\\Endpoint' not found in wp-content/plugins/give-donation-modules-for-divi/src/Divi/Routes/RenderMultiFormGoal.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: divi, givewp, donation, divi modules, fundraising
give-donation-modules-for-divi/give-divi.php 85% from 13 tests
"Give - Divi Donation Modules" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("give-donation-modules-for-divi.php" instead of "give-divi.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin4,825 lines of code in 74 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 49 | 485 | 1,166 | 3,815 |
JavaScript | 19 | 142 | 12 | 961 |
CSS | 1 | 2 | 0 | 24 |
JSON | 3 | 0 | 0 | 22 |
Sass | 2 | 0 | 1 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 6.03 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 20 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 40 | |
▷ Abstract classes | 1 | 2.50% |
▷ Concrete classes | 39 | 97.50% |
▷ Final classes | 0 | 0.00% |
Methods | 148 | |
▷ Static methods | 32 | 21.62% |
▷ Public methods | 145 | 97.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.03% |
Functions | 7 | |
▷ Named functions | 1 | 14.29% |
▷ Anonymous functions | 6 | 85.71% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin