Benchmarks
Plugin footprint 22% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/give/includes/admin/upgrades/upgrade-functions.php+3560
unlink(wp-content/uploads/give-payments.csv): No such file or directory
Server metrics [RAM: ▲2.92MB] [CPU: ▲29.39ms] Passed 4 tests
This is a short check of server-side resources used by GiveWP - Donation Plugin and Fundraising Platform
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.96 ▲2.49 | 58.76 ▲15.82 |
Dashboard /wp-admin | 6.40 ▲3.06 | 130.35 ▲65.42 |
Posts /wp-admin/edit.php | 6.42 ▲3.06 | 76.64 ▲29.97 |
Add New Post /wp-admin/post-new.php | 9.40 ▲3.51 | 120.89 ▲31.47 |
Media Library /wp-admin/upload.php | 6.27 ▲3.05 | 76.02 ▲40.31 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 6.38 | 74.93 |
Add-ons /wp-admin/edit.php?post_type=give_forms&page=give-add-ons | 6.36 | 126.00 |
/wp-admin/admin.php?page=give-form-preview | 6.38 | 155.31 |
Tools /wp-admin/edit.php?post_type=give_forms&page=give-tools | 6.79 | 89.09 |
Donations /wp-admin/edit.php?post_type=give_forms&page=give-payment-history | 6.36 | 71.28 |
Add Form /wp-admin/post-new.php?post_type=give_forms | 6.70 | 112.57 |
Reports /wp-admin/edit.php?post_type=give_forms&page=give-reports | 6.35 | 68.37 |
/wp-admin/admin.php?page=give-onboarding-wizard | 6.47 | 75.04 |
All Forms /wp-admin/edit.php?post_type=give_forms&page=give-forms | 8.19 | 86.75 |
Donors /wp-admin/edit.php?post_type=give_forms&page=give-donors | 6.35 | 67.58 |
Server storage [IO: ▲63.03MB] [DB: ▲0.06MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please fix the following
- Total filesystem usage must be limited to 25MB (currently using 63.03MB)
Filesystem: 3,908 new files
Database: 17 new tables, 11 new options
New tables |
---|
wp_actionscheduler_claims |
wp_give_donormeta |
wp_give_revenue |
wp_give_sequential_ordering |
wp_give_log |
wp_give_migrations |
wp_give_subscriptionmeta |
wp_give_donors |
wp_actionscheduler_groups |
wp_actionscheduler_logs |
... |
New WordPress options |
---|
widget_recent-comments |
action_scheduler_hybrid_store_demarkation |
db_upgraded |
widget_give_forms_widget |
widget_theysaidso_widget |
give_onboarding |
theysaidso_admin_options |
schema-ActionScheduler_LoggerSchema |
can_compress_scripts |
schema-ActionScheduler_StoreSchema |
... |
Browser metrics Passed 4 tests
A check of browser resources used by GiveWP - Donation Plugin and Fundraising Platform
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,451 ▲704 | 21.33 ▲6.98 | 44.34 ▲42.67 | 19.08 ▼24.28 |
Dashboard /wp-admin | 2,726 ▲545 | 10.71 ▲5.00 | 276.05 ▲162.50 | 74.94 ▲32.97 |
Posts /wp-admin/edit.php | 2,199 ▲96 | 2.20 ▲0.25 | 45.68 ▲10.42 | 37.38 ▲1.45 |
Add New Post /wp-admin/post-new.php | 1,827 ▲290 | 27.32 ▲4.15 | 721.78 ▲71.25 | 40.94 ▼13.03 |
Media Library /wp-admin/upload.php | 1,492 ▲89 | 4.23 ▲0.01 | 105.14 ▲7.09 | 43.77 ▲1.20 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,337 | 2.03 | 33.48 | 31.95 |
Add-ons /wp-admin/edit.php?post_type=give_forms&page=give-add-ons | 1,814 | 5.99 | 120.69 | 86.70 |
/wp-admin/admin.php?page=give-form-preview | 174 | 2.37 | 30.11 | 12.27 |
Tools /wp-admin/edit.php?post_type=give_forms&page=give-tools | 1,667 | 4.25 | 67.79 | 34.20 |
Donations /wp-admin/edit.php?post_type=give_forms&page=give-payment-history | 1,805 | 7.14 | 188.03 | 70.66 |
Add Form /wp-admin/post-new.php?post_type=give_forms | 9,240 | 21.28 | 564.85 | 91.46 |
Reports /wp-admin/edit.php?post_type=give_forms&page=give-reports | 1,714 | 8.70 | 349.76 | 150.79 |
/wp-admin/admin.php?page=give-onboarding-wizard | 1,702 | 2.75 | 58.34 | 22.01 |
All Forms /wp-admin/edit.php?post_type=give_forms&page=give-forms | 1,677 | 7.87 | 202.50 | 51.65 |
Donors /wp-admin/edit.php?post_type=give_forms&page=give-donors | 1,595 | 7.82 | 186.96 | 49.18 |
Uninstaller [IO: ▲63.02MB] [DB: ▲0.06MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attentionZombie tables were found after uninstall: 17 tables Zombie WordPress options were found after uninstall: 12 options
- Uninstaller has failed for this plugin, leaving 3,908 files (63.02MB) in the plugin directory
- (new file) LICENSE
- (new file) assets/dist/css/admin-paypal-commerce.css
- (new file) assets/dist/css/admin-block-editor.css
- (new file) assets/dist/css/admin-global.css
- (new file) assets/dist/css/admin-setup.rtl.css
- (new file) assets/dist/css/admin-block-editor.rtl.css
- (new file) assets/dist/css/admin-setup.css
- (new file) assets/dist/css/admin-global.rtl.css
- (new file) assets/dist/css/admin-paypal-commerce.rtl.css
- (new file) assets/dist/css/admin-shortcode-button.css
- ...
- wp_give_subscriptions
- wp_give_formmeta
- wp_actionscheduler_actions
- wp_give_subscriptionmeta
- wp_give_comments
- wp_actionscheduler_groups
- wp_give_log
- wp_give_donors
- wp_give_revenue
- wp_give_sequential_ordering
- ...
- give_onboarding
- widget_recent-posts
- theysaidso_admin_options
- schema-ActionScheduler_LoggerSchema
- db_upgraded
- action_scheduler_hybrid_store_demarkation
- widget_give_forms_widget
- widget_recent-comments
- widget_theysaidso_widget
- action_scheduler_migration_status
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/edit.php?post_type=give_forms&page=give-payment-history
- > Notice in wp-content/plugins/give/src/Framework/QueryBuilder/Concerns/Aggregate.php+30
Trying to get property 'count' of non-object
SRP 0% 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
- 109× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/give/vendor/tecnickcom/tcpdf/examples/example_062.php
- > /wp-content/plugins/give/vendor/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_png.php
- > /wp-content/plugins/give/vendor/tecnickcom/tcpdf/examples/barcodes/example_1d_png.php
- > /wp-content/plugins/give/vendor/tecnickcom/tcpdf/examples/barcodes/example_1d_html.php
- > /wp-content/plugins/give/vendor/tecnickcom/tcpdf/examples/barcodes/example_2d_qrcode_html.php
- > /wp-content/plugins/give/src/Views/Form/defaultLoadingView.php
- > /wp-content/plugins/give/vendor/tecnickcom/tcpdf/examples/example_005.php
- > /wp-content/plugins/give/vendor/tecnickcom/tcpdf/examples/example_023.php
- > /wp-content/plugins/give/vendor/tecnickcom/tcpdf/examples/example_046.php
- > /wp-content/plugins/give/vendor/tecnickcom/tcpdf/examples/example_053.php
- 1555× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Give\\Tracking\\Contracts\\TrackEvent' not found in wp-content/plugins/give/src/Tracking/Events/DonationMetricsTracking.php:16
- > PHP Fatal error
Uncaught Error: Class 'Give\\Framework\\Exceptions\\Primitives\\Exception' not found in wp-content/plugins/give/src/Framework/Blocks/Exceptions/ReferenceBlockNotFoundException.php:11
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/give/vendor/stripe/stripe-php/lib/SubscriptionSchedule.php:34
- > PHP Fatal error
Uncaught Error: Class 'Give\\TestData\\Framework\\Provider\\RandomProvider' not found in wp-content/plugins/give/src/TestData/Framework/Provider/RandomGoal.php:5
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/give/vendor/vendor-prefixed/symfony/http-foundation/Tests/ServerBagTest.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Money\\MoneyFormatter' not found in wp-content/plugins/give/vendor/moneyphp/money/src/Formatter/IntlLocalizedDecimalFormatter.php:14
- > PHP Fatal error
Uncaught Error: Class 'Give\\Vendors\\Faker\\Provider\\Address' not found in wp-content/plugins/give/vendor/vendor-prefixed/fakerphp/faker/src/Faker/Provider/id_ID/Address.php:11
- > PHP Fatal error
Uncaught Error: Class 'Give\\Vendors\\Faker\\Provider\\Payment' not found in wp-content/plugins/give/vendor/vendor-prefixed/fakerphp/faker/src/Faker/Provider/en_GB/Payment.php:11
- > PHP Notice
Undefined variable: statsProgressBarColor in wp-content/plugins/give/src/Views/Form/Templates/Classic/resources/css/variables.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'Give\\Vendors\\Faker\\Provider\\Person' not found in wp-content/plugins/give/vendor/vendor-prefixed/fakerphp/faker/src/Faker/Provider/sr_RS/Person.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=give-form-preview
- > Network (severe)
give/donation-form?giveDonationFormInIframe=1&page=give-form-preview - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=give_forms&page=give-tools
- > Network (severe)
wp-content/plugins/give/assets/dist/css/chosen-sprite.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: fundraising, recurring donations, crowdfunding, donate, donation
give/give.php Passed 13 tests
"GiveWP - Donation Plugin and Fundraising Platform" version 3.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
78 characters long description:
The most robust, flexible, and intuitive way to accept donations on WordPress.
Code Analysis 0% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Please fix the following items
- For security reasons, never distribute binary or executable files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/give/vendor/stripe/stripe-php/data/ca-certificates.crt
- ☣ wp-content/plugins/give/vendor/tecnickcom/tcpdf/examples/data/cert/tcpdf.crt
- .xlsm - Excel Macro-Enabled Workbook in Microsoft Excel
- ☣ wp-content/plugins/give/vendor/vendor-prefixed/symfony/http-foundation/Tests/File/Fixtures/case-sensitive-mime-type.xlsm
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2,689 | 62,978 | 127,798 | 317,050 |
Sass | 211 | 2,672 | 203 | 20,669 |
TypeScript | 399 | 2,086 | 1,418 | 16,980 |
SVG | 67 | 3 | 13 | 11,665 |
JavaScript | 250 | 1,374 | 1,061 | 10,097 |
CSS | 56 | 2,702 | 167 | 9,691 |
JSON | 6 | 0 | 0 | 2,164 |
XML | 5 | 18 | 0 | 300 |
Pascal | 2 | 41 | 74 | 79 |
JSX | 4 | 2 | 0 | 45 |
HTML | 6 | 0 | 0 | 38 |
make | 1 | 10 | 0 | 29 |
YAML | 2 | 0 | 0 | 9 |
Markdown | 1 | 5 | 0 | 6 |
Ruby | 1 | 0 | 0 | 2 |
PHP code 0% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 4,415)
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 500)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 8.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4,415.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 500.00 |
Code structure | ||
---|---|---|
Namespaces | 515 | |
Interfaces | 93 | |
Traits | 80 | |
Classes | 2,116 | |
▷ Abstract classes | 79 | 3.73% |
▷ Concrete classes | 2,037 | 96.27% |
▷ Final classes | 80 | 3.93% |
Methods | 10,956 | |
▷ Static methods | 1,990 | 18.16% |
▷ Public methods | 9,206 | 84.03% |
▷ Protected methods | 977 | 8.92% |
▷ Private methods | 773 | 7.06% |
Functions | 1,601 | |
▷ Named functions | 1,142 | 71.33% |
▷ Anonymous functions | 459 | 28.67% |
Constants | 1,463 | |
▷ Global constants | 154 | 10.53% |
▷ Class constants | 1,309 | 89.47% |
▷ Public constants | 1,308 | 99.92% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
63 PNG files occupy 3.39MB with 1.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/dist/images/setup-page/givewp101@2x.min.png | 2.06KB | 2.14KB | 0.00% |
assets/dist/images/admin/template-preview-legacy.png | 40.01KB | 16.13KB | ▼ 59.69% |
assets/dist/images/admin/template-preview-classic.png | 79.85KB | 34.02KB | ▼ 57.39% |
assets/dist/images/give-logo-small.png | 4.67KB | 3.02KB | ▼ 35.43% |
assets/dist/images/give-logo-large.png | 40.80KB | 24.55KB | ▼ 39.83% |