Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.47MB] [CPU: ▼8.62ms] Passed 4 tests
Server-side resources used by WP Crowdfunding
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.33 ▲0.86 | 46.00 ▲4.65 |
Dashboard /wp-admin | 4.11 ▲0.76 | 55.82 ▼10.25 |
Posts /wp-admin/edit.php | 4.16 ▲0.80 | 52.28 ▲2.92 |
Add New Post /wp-admin/post-new.php | 5.41 ▼0.48 | 54.49 ▼31.78 |
Media Library /wp-admin/upload.php | 4.03 ▲0.80 | 52.64 ▲15.52 |
Settings /wp-admin/admin.php?page=wpcf-settings | 4.07 | 42.42 |
Add-ons /wp-admin/admin.php?page=wpcf-crowdfunding | 3.97 | 32.58 |
Server storage [IO: ▲1.39MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 150 new files
Database: no new tables, 56 new options
New WordPress options |
---|
wpneo_listing_page_id |
wpcf_show_short_description |
widget_recent-comments |
wpneo_enable_recaptcha_campaign_submit_page |
wpneo_cf_selected_theme |
widget_recent-posts |
wpneo_default_campaign_status |
wpcf_show_category |
wpneo_show_target_goal_and_date |
wpneo_crowdfunding_dashboard_page_id |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WP Crowdfunding
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲114 | 14.28 ▼0.49 | 1.76 ▲0.10 | 43.95 ▲0.14 |
Dashboard /wp-admin | 2,252 ▲72 | 5.59 ▼0.01 | 98.24 ▲10.15 | 80.61 ▲37.52 |
Posts /wp-admin/edit.php | 2,170 ▲70 | 2.13 ▲0.14 | 35.76 ▲1.28 | 31.07 ▼8.07 |
Add New Post /wp-admin/post-new.php | 53 ▼1,475 | 0.42 ▼22.66 | 0.06 ▼713.42 | 14.50 ▼48.71 |
Media Library /wp-admin/upload.php | 1,472 ▲75 | 4.17 ▼0.05 | 107.84 ▲11.41 | 85.04 ▲43.02 |
Settings /wp-admin/admin.php?page=wpcf-settings | 1,071 | 1.66 | 27.31 | 31.60 |
Add-ons /wp-admin/admin.php?page=wpcf-crowdfunding | 1,127 | 1.81 | 28.00 | 29.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 56 options
- widget_theysaidso_widget
- wpcf_show_category
- wpneo_crowdfunding_dashboard_page_id
- wpneo_listing_page_id
- wpcf_show_reward
- wpcf_show_contributor_anonymity
- wpneo_campaign_edit_status
- vendor_type
- wpcf_show_end_method
- wpneo_crowdfunding_is_used
- ...
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-crowdfunding/addons/social-share/classes/Init.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/wp-crowdfunding/settings/view/Reward_Meta.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-crowdfunding/settings/view/Addons.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-crowdfunding/wpcftemplate/woocommerce/basic/page-fullwidth.php:2
- > PHP Fatal error
Uncaught Error: Class 'WC_Product' not found in wp-content/plugins/wp-crowdfunding/wpcftemplate/woocommerce/basic/include/loop/rating_html.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/wp-crowdfunding/includes/woocommerce/dashboard/wpcrowd-reports-chart.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-crowdfunding/wpcftemplate/woocommerce/basic/author-campaigns.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Too many tags (28 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-crowdfunding/wp-crowdfunding.php Passed 13 tests
"WP Crowdfunding" version 2.1.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
57 characters long description:
The Ultimate Fundraising and Backer Plugin for WordPress.
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 plugin18,119 lines of code in 136 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 116 | 1,782 | 1,384 | 11,827 |
CSS | 6 | 188 | 122 | 5,111 |
JavaScript | 14 | 98 | 97 | 1,181 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 25.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 106.00 |
Average method complexity | 3.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 37 | 100.00% |
▷ Final classes | 1 | 2.70% |
Methods | 314 | |
▷ Static methods | 11 | 3.50% |
▷ Public methods | 314 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/woocommerce-icon.png | 7.05KB | 3.41KB | ▼ 51.68% |
addons/social-share/assets/images/thumbnail.png | 2.60KB | 1.33KB | ▼ 48.66% |
assets/images/wpcf-plugin.png | 4.25KB | 2.51KB | ▼ 41.02% |
assets/addons/2checkout/thumbnail.png | 2.67KB | 1.42KB | ▼ 46.70% |
assets/addons/reports/thumbnail.png | 2.75KB | 1.63KB | ▼ 40.75% |