Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼0.10ms] Passed 4 tests
An overview of server-side resources used by Crowdfundly
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 43.11 ▲1.89 |
Dashboard /wp-admin | 3.52 ▲0.22 | 54.43 ▲2.81 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 52.25 ▲2.55 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 89.87 ▼7.66 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 38.94 ▲4.88 |
Crowdfundly /wp-admin/admin.php?page=crowdfundly-admin | 3.45 | 36.53 |
App Key Login /wp-admin/admin.php?page=crowdfundly-appkey-login | 3.44 | 36.78 |
Sign Up /wp-admin/admin.php?page=crowdfundly-signup | 3.46 | 36.37 |
Email Login /wp-admin/admin.php?page=crowdfundly-email-login | 3.45 | 34.39 |
Server storage [IO: ▲5.92MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 205 new files
Database: no new tables, 10 new options
New WordPress options |
---|
crowdfundly_organization_page_id |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
crowdfundly_url_update |
crowdfundly_single_campaign_page_id |
crowdfundly_all_campaigns_page_id |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Crowdfundly
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,066 ▲305 | 23.44 ▲8.75 | 584.27 ▲582.41 | 46.94 ▲1.56 |
Dashboard /wp-admin | 2,246 ▲66 | 5.60 ▼0.09 | 83.19 ▼6.14 | 75.78 ▲32.02 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 1.99 ▼0.02 | 35.18 ▼2.33 | 36.34 ▼0.36 |
Add New Post /wp-admin/post-new.php | 1,581 ▲48 | 23.08 ▼0.03 | 754.40 ▲61.90 | 54.62 ▲2.71 |
Media Library /wp-admin/upload.php | 1,457 ▲60 | 4.23 ▲0.09 | 97.35 ▼21.72 | 80.34 ▲33.70 |
Crowdfundly /wp-admin/admin.php?page=crowdfundly-admin | 1,951 | 8.01 | 322.38 | 90.98 |
App Key Login /wp-admin/admin.php?page=crowdfundly-appkey-login | 1,954 | 8.01 | 322.83 | 51.47 |
Sign Up /wp-admin/admin.php?page=crowdfundly-signup | 2,039 | 8.12 | 139.59 | 41.11 |
Email Login /wp-admin/admin.php?page=crowdfundly-email-login | 1,997 | 8.01 | 135.45 | 41.16 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 10 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- crowdfundly_organization_page_id
- widget_theysaidso_widget
- crowdfundly_url_update
- crowdfundly_single_campaign_page_id
- crowdfundly_all_campaigns_page_id
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 27× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/crowdfundly/src/resources/views/admin/dashboard/payouts/methods.php
- > /wp-content/plugins/crowdfundly/src/resources/views/admin/campaign/manage/report.php
- > /wp-content/plugins/crowdfundly/src/resources/views/admin/dashboard/campaigns/reports.php
- > /wp-content/plugins/crowdfundly/src/resources/views/admin/campaign/manage/statistics.php
- > /wp-content/plugins/crowdfundly/src/resources/views/admin/dashboard/settings/fundraiser.php
- > /wp-content/plugins/crowdfundly/src/resources/views/admin/dashboard/roles/index.php
- > /wp-content/plugins/crowdfundly/src/resources/views/admin/campaign/manage/updates.php
- > /wp-content/plugins/crowdfundly/src/resources/views/admin/dashboard/settings/media.php
- > /wp-content/plugins/crowdfundly/src/resources/views/admin/campaign/manage/presets.php
- > /wp-content/plugins/crowdfundly/src/resources/views/admin/campaign/manage/endorsements.php
- 201× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: data in wp-content/plugins/crowdfundly/src/resources/views/public/single-campaign/campaign-detail.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/crowdfundly/src/resources/views/public/single-campaign/modal/campaign-reward-modal.php:16
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/crowdfundly/src/Helpers/Elementor/SingleCampaignWidget.php:20
- > PHP Notice
Undefined variable: data in wp-content/plugins/crowdfundly/src/resources/views/public/single-campaign/campaign-activites-tab.php on line 12
- > PHP Notice
Undefined variable: data in wp-content/plugins/crowdfundly/src/resources/views/public/organization/template-one.php on line 9
- > PHP Notice
Undefined variable: data in wp-content/plugins/crowdfundly/src/resources/views/public/single-campaign/campaign-top-contributers.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function cf_asset() in wp-content/plugins/crowdfundly/src/resources/views/admin/dashboard/settings/theme.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/crowdfundly/src/resources/views/public/single-campaign/campaign-similar-camp.php:4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/crowdfundly/src/resources/views/public/single-campaign/modal/campaign-package-modal.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Crowdfundly\\App\\Controllers\\BaseController' not found in wp-content/plugins/crowdfundly/src/Controllers/OrganizationController.php:17
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7, #8, #9 in crowdfundly/assets to your readme.txt
crowdfundly/crowdfundly.php Passed 13 tests
The main PHP file in "Crowdfundly" ver. 2.2.2 adds more information about the plugin and also serves as the entry point for this plugin
110 characters long description:
All-in-one digital crowdfunding solution. Build your own crowdfunding platform to raise money for any purpose.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected67,863 lines of code in 177 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 12 | 3,997 | 112 | 25,095 |
PHP | 125 | 2,241 | 1,364 | 24,643 |
JavaScript | 19 | 4,514 | 1,283 | 16,764 |
SVG | 18 | 3 | 3 | 765 |
Markdown | 2 | 125 | 0 | 570 |
JSON | 1 | 0 | 0 | 26 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 11.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 137.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 40 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 40 | 100.00% |
▷ Final classes | 1 | 2.50% |
Methods | 278 | |
▷ Static methods | 75 | 26.98% |
▷ Public methods | 243 | 87.41% |
▷ Protected methods | 13 | 4.68% |
▷ Private methods | 22 | 7.91% |
Functions | 30 | |
▷ Named functions | 20 | 66.67% |
▷ Anonymous functions | 10 | 33.33% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.42MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/admin/logo/crowdfundly.png | 19.40KB | 10.16KB | ▼ 47.62% |
assets/images/icons/crowdfundly_grey_icon.png | 10.96KB | 7.21KB | ▼ 34.19% |
assets/images/admin/theme-template/2.png | 139.35KB | 139.55KB | 0.00% |
assets/images/admin/icons/payment/svg/stripe_bg.png | 33.80KB | 11.67KB | ▼ 65.49% |
assets/images/public/avatar.png | 5.31KB | 2.22KB | ▼ 58.26% |