Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/cyber-fundraiser-lite/includes/shortcodes/class.facebook.feeds.shortcode.php+6
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.95MB] [CPU: ▼47.27ms] Passed 4 tests
Server-side resources used by Cyber Fundraiser Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 6.52 ▼34.22 |
Dashboard /wp-admin | 2.05 ▼1.25 | 9.60 ▼36.75 |
Posts /wp-admin/edit.php | 2.05 ▼1.30 | 9.26 ▼36.93 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.83 | 7.34 ▼81.18 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.99 ▼29.44 |
Donations /wp-admin/admin.php?page=donations | 2.05 | 6.88 |
Settings /wp-admin/admin.php?page=cyber-fundraiser-settings | 2.05 | 9.54 |
Projects /wp-admin/edit.php?post_type=projects | 2.05 | 7.23 |
Getting Started /wp-admin/admin.php?page=cyber-fundraising-welcome | 2.05 | 8.12 |
Server storage [IO: ▲4.73MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 796 new files
Database: 4 new tables, 9 new options
New tables |
---|
wp_cyber_donations |
wp_cyber_statistics_visitors |
wp_cyber_guest_donations |
wp_cyber_statistics_visits |
New WordPress options |
---|
theysaidso_admin_options |
widget_cyber-facebookfeeds-widget |
widget_recent-posts |
widget_cyber_donation_widget |
can_compress_scripts |
widget_theysaidso_widget |
widget_cyber-twitterfeeds-widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Cyber Fundraiser Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,964 ▲229 | 14.13 ▼0.26 | 9.33 ▲7.49 | 36.94 ▼11.30 |
Dashboard /wp-admin | 2,287 ▲99 | 5.17 ▼0.67 | 106.39 ▼9.86 | 37.06 ▼3.55 |
Posts /wp-admin/edit.php | 2,175 ▲86 | 2.36 ▲0.35 | 37.77 ▼3.54 | 29.20 ▼7.99 |
Add New Post /wp-admin/post-new.php | 1,742 ▲222 | 20.72 ▼2.51 | 676.59 ▼3.22 | 61.29 ▼0.35 |
Media Library /wp-admin/upload.php | 1,472 ▲84 | 4.45 ▲0.14 | 108.17 ▲2.10 | 42.87 ▼6.15 |
Donations /wp-admin/admin.php?page=donations | 1,531 | 3.75 | 66.12 | 71.05 |
Settings /wp-admin/admin.php?page=cyber-fundraiser-settings | 1,545 | 3.70 | 57.55 | 38.07 |
Projects /wp-admin/edit.php?post_type=projects | 1,136 | 2.28 | 36.66 | 24.68 |
Getting Started /wp-admin/admin.php?page=cyber-fundraising-welcome | 1,070 | 3.40 | 48.75 | 27.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/cyber-fundraiser-lite/includes/shortcodes/class.facebook.feeds.shortcode.php+6
Trying to access array offset on value of type bool
- The uninstall procedure failed, leaving 4 tables in the database
- wp_cyber_donations
- wp_cyber_guest_donations
- wp_cyber_statistics_visitors
- wp_cyber_statistics_visits
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- widget_cyber_donation_widget
- can_compress_scripts
- widget_cyber-twitterfeeds-widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_cyber-facebookfeeds-widget
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 72 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cyber-fundraising-welcome
- > Notice in wp-content/plugins/cyber-fundraiser-lite/includes/shortcodes/class.facebook.feeds.shortcode.php+8
Trying to access array offset on value of type bool
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cyber-fundraiser-settings
- > Notice in wp-content/plugins/cyber-fundraiser-lite/includes/admin/class.admin.menus.php+403
Undefined index: tab
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=donations
- > Notice in wp-content/plugins/cyber-fundraiser-lite/includes/admin/views/cyber_fundraiser_dontions_view.php+55
Undefined index: statuss
- > GET request to /wp-admin/admin.php?page=donations
- > Notice in wp-content/plugins/cyber-fundraiser-lite/includes/admin/views/cyber_fundraiser_dontions_view.php+76
Undefined index: search_value
- 54 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cyber-fundraiser-settings
- > Notice in wp-content/plugins/cyber-fundraiser-lite/includes/admin/views/cyber_fundraiser_general_settings_tab.php+186
Trying to access array offset on value of type null
- > GET request to /wp-admin/edit.php?post_type=projects
- > Notice in wp-content/plugins/cyber-fundraiser-lite/includes/admin/class.admin.menus.php+100
Trying to get property 'post_type' of non-object
SRP 0% 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
The following issues need your attention
- 103× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/sample/payments/UpdatePayment.php
- > /wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/sample/notifications/DeleteAllWebhooks.php
- > /wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/sample/payouts/CancelPayoutItem.php
- > /wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/sample/vault/UpdateCreditCard.php
- > /wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/sample/invoice/CreateInvoice.php
- > /wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/sample/invoice-templates/DeleteInvoiceTemplate.php
- > /wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/sample/notifications/GetWebhook.php
- > /wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/sample/payments/CreateFuturePayment.php
- > /wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/sample/payments/GetPayment.php
- > /wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/sample/invoice/RemindInvoice.php
- 4095× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
sizeof(): Parameter must be an array or an object that implements Countable in wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line 179
- > PHP Warning
sizeof(): Parameter must be an array or an object that implements Countable in wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line 179
- > PHP Warning
sizeof(): Parameter must be an array or an object that implements Countable in wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line 179
- > PHP Warning
sizeof(): Parameter must be an array or an object that implements Countable in wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line 179
- > PHP Warning
sizeof(): Parameter must be an array or an object that implements Countable in wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line 179
- > PHP Warning
sizeof(): Parameter must be an array or an object that implements Countable in wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line 179
- > PHP Warning
sizeof(): Parameter must be an array or an object that implements Countable in wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line 179
- > PHP Warning
sizeof(): Parameter must be an array or an object that implements Countable in wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line 179
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/tests/PayPal/Test/Api/ShippingAddressTest.php:12
- > PHP Warning
sizeof(): Parameter must be an array or an object that implements Countable in wp-content/plugins/cyber-fundraiser-lite/includes/libraries/PayPal-Rest_api/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line 179
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cyber-fundraising-welcome
- > Network (severe)
wp-admin/admin-ajax.php?ver=6.3.1 - Failed to load resource: the server responded with a status of 400 (Bad Request)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cyber-fundraising-welcome
- > Javascript (severe) in unknown
/wp-content/plugins/cyber-fundraiser-lite/assets/js/frontend/bootstrap.min.js?ver=1.0.0 5:215 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cyber-fundraising-welcome
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,thickbox,underscore,shortcode,media-upload,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).tooltip is not a function" "TypeError: $(...).tooltip is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/cyber-fundraiser-lite/assets/js/admin.js?ver=6.3.1:150:31)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,thickbox,underscore,shortcode,media-upload,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,thickbox,underscore,shortcode,media-upload,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cyber-fundraising-welcome
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,thickbox,underscore,shortcode,media-upload,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: $(...).tooltip is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
cyber-fundraiser-lite/cyber-fundraiser-lite.php 92% from 13 tests
Analyzing the main PHP file in "Cyber Fundraiser Lite" version 0.1.0
Please make the necessary changes and fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
These items require your attention
- Do not include executable or dangerous files in your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/cyber-fundraiser-lite/includes/admin/api/fb_ca_chain_bundle.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 531 | 8,554 | 23,512 | 34,465 |
JSON | 63 | 23 | 0 | 4,957 |
JavaScript | 9 | 743 | 180 | 4,186 |
HTML | 96 | 269 | 15 | 3,103 |
CSS | 12 | 277 | 150 | 2,007 |
Markdown | 6 | 100 | 0 | 366 |
SVG | 1 | 0 | 0 | 288 |
XML | 2 | 8 | 0 | 64 |
Ruby | 2 | 15 | 8 | 53 |
YAML | 2 | 1 | 2 | 35 |
INI | 2 | 18 | 65 | 31 |
Bourne Shell | 1 | 11 | 20 | 17 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 3.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 1.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 26 | |
Interfaces | 5 | |
Traits | 2 | |
Classes | 382 | |
▷ Abstract classes | 7 | 1.83% |
▷ Concrete classes | 375 | 98.17% |
▷ Final classes | 0 | 0.00% |
Methods | 3,227 | |
▷ Static methods | 352 | 10.91% |
▷ Public methods | 3,098 | 96.00% |
▷ Protected methods | 104 | 3.22% |
▷ Private methods | 25 | 0.77% |
Functions | 55 | |
▷ Named functions | 52 | 94.55% |
▷ Anonymous functions | 3 | 5.45% |
Constants | 43 | |
▷ Global constants | 17 | 39.53% |
▷ Class constants | 26 | 60.47% |
▷ Public constants | 26 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
20 PNG files occupy 0.46MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/Button_12-128.png | 2.18KB | 1.98KB | ▼ 9.36% |
assets/images/charts/1.png | 11.13KB | 5.16KB | ▼ 53.64% |
assets/images/thumbs-down-xxl.png | 4.38KB | 2.73KB | ▼ 37.63% |
assets/images/thumbs-down-icon-grey.png | 5.34KB | 2.48KB | ▼ 53.52% |
assets/images/cyber_fundraiser_icon.png | 17.68KB | 0.76KB | ▼ 95.68% |