Benchmarks
Plugin footprint 40% 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
- The plugin cannot be installed
- > Notice in wp-content/plugins/infunding/infunding.php+33
Trying to access array offset on value of type null
Server metrics [RAM: ▼1.91MB] [CPU: ▼51.83ms] Passed 4 tests
Server-side resources used by InFunding - Plugin for Charity & Crowdfunding Website
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.38 | 4.05 ▼36.49 |
Dashboard /wp-admin | 2.09 ▼1.21 | 6.30 ▼46.11 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 6.08 ▼41.76 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 6.09 ▼82.97 |
Media Library /wp-admin/upload.php | 2.09 ▼1.13 | 5.59 ▼29.28 |
Donates /wp-admin/edit.php?post_type=infunding&page=payment | 2.10 | 6.48 |
Settings /wp-admin/edit.php?post_type=infunding&page=settings | 2.10 | 6.58 |
/wp-admin/admin.php?page=volunteer/edit | 2.10 | 6.43 |
Categories /wp-admin/edit-tags.php?taxonomy=infunding_category&post_type=infunding | 2.10 | 6.45 |
/wp-admin/admin.php?page=volunteer/addnew | 2.10 | 5.40 |
Tags /wp-admin/edit-tags.php?taxonomy=infunding_tag&post_type=infunding | 2.10 | 6.46 |
Add New /wp-admin/post-new.php?post_type=infunding | 2.10 | 5.57 |
/wp-admin/admin.php?page=donor/addnew | 2.10 | 13.65 |
Members /wp-admin/edit.php?post_type=infunding&page=donor | 2.10 | 6.47 |
/wp-admin/admin.php?page=payment/edit | 2.10 | 6.19 |
Server storage [IO: ▲1.60MB] [DB: ▲0.01MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Please fix the following
- You have illegally modified 2 files (1.76KB) outside of "wp-content/plugins/infunding/" and "wp-content/uploads/"
- (new file) wp-content/themes/twentytwentyone/single-infunding.php
- (new file) wp-content/themes/twentytwentyone/taxonomy-infunding_category.php
Filesystem: 83 new files
Database: 4 new tables, 9 new options
New tables |
---|
wp_inf_donors |
wp_inf_logs |
wp_inf_orders |
wp_inf_volunteer |
New WordPress options |
---|
can_compress_scripts |
inFundingVersion |
widget_recent-comments |
recovery_mode_email_last_sent |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
inf_settings |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by InFunding - Plugin for Charity & Crowdfunding Website
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,063 ▲306 | 15.14 ▲0.76 | 3.65 ▲1.46 | 37.10 ▼10.60 |
Dashboard /wp-admin | 2,423 ▲235 | 6.75 ▲0.85 | 142.48 ▲29.46 | 41.91 ▼0.39 |
Posts /wp-admin/edit.php | 2,323 ▲237 | 3.65 ▲1.51 | 51.54 ▲14.91 | 31.59 ▼2.29 |
Add New Post /wp-admin/post-new.php | 1,587 ▲54 | 23.44 ▲0.66 | 641.20 ▼18.78 | 37.11 ▼14.09 |
Media Library /wp-admin/upload.php | 1,468 ▲86 | 4.51 ▲0.34 | 96.11 ▼3.98 | 47.98 ▲5.27 |
Donates /wp-admin/edit.php?post_type=infunding&page=payment | 1,259 | 3.74 | 49.53 | 26.29 |
Settings /wp-admin/edit.php?post_type=infunding&page=settings | 3,419 | 3.73 | 63.33 | 40.18 |
/wp-admin/admin.php?page=volunteer/edit | 1,010 | 3.39 | 39.92 | 19.72 |
Categories /wp-admin/edit-tags.php?taxonomy=infunding_category&post_type=infunding | 1,496 | 3.45 | 45.19 | 28.45 |
/wp-admin/admin.php?page=volunteer/addnew | 1,013 | 3.28 | 42.05 | 20.58 |
Tags /wp-admin/edit-tags.php?taxonomy=infunding_tag&post_type=infunding | 1,477 | 3.48 | 44.38 | 28.95 |
Add New /wp-admin/post-new.php?post_type=infunding | 3,677 | 8.23 | 177.90 | 73.59 |
/wp-admin/admin.php?page=donor/addnew | 1,013 | 3.29 | 42.97 | 20.25 |
Members /wp-admin/edit.php?post_type=infunding&page=donor | 745 | 1.70 | 9.52 | 21.25 |
/wp-admin/admin.php?page=payment/edit | 1,013 | 3.28 | 41.10 | 19.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/infunding/infunding.php+33
Trying to access array offset on value of type null
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- widget_recent-comments
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 20 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=payment/edit
- > Notice in wp-content/plugins/infunding/infunding.php+33
Trying to access array offset on value of type null
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=payment/edit
- > Notice in wp-content/plugins/infunding/includes/function.admin.php+770
Undefined index: id
- > GET request to /wp-admin/edit.php?post_type=infunding&page=donor
- > Notice in wp-content/plugins/infunding/includes/views/member.list.php+21
Undefined variable: utility
- > GET request to /wp-admin/edit.php?post_type=infunding&page=donor
- > Error in wp-content/plugins/infunding/includes/views/member.list.php+21
Uncaught Error: Call to a member function getNoticeMessage() on null in wp-content/plugins/infunding/includes/views/member.list.php:21
Stack trace:
#0 wp-content/plugins/infunding/includes/function.admin.php(504): include_once()
#1 wp-includes/class-wp-hook.php(310): inFundingDonorRenderPage()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 wp-admin/edit.php(10): require_once('/var/www/wordpr...')
#6 {main}
thrown
SRP 50% 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
- 33× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Inwave_Session' not found in wp-content/plugins/infunding/includes/themes/single-infunding.php:22
- > PHP Notice
Undefined variable: utility in wp-content/plugins/infunding/includes/views/logs.list.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/infunding/includes/views/logs.view.php:24
- > PHP Notice
Undefined variable: utility in wp-content/plugins/infunding/includes/views/volunteer.list.php on line 20
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/infunding/themes/list_campaigns-style1.php:24
- > PHP Fatal error
Uncaught Error: Class 'inFundingUtility' not found in wp-content/plugins/infunding/themes/list_campaigns.php:19
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/infunding/themes/list_campaigns-style2.php:19
- > PHP Fatal error
Uncaught Error: Call to a member function getNoticeMessage() on null in wp-content/plugins/infunding/includes/views/member.edit.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/infunding/themes/volunteer_register.php:10
- > PHP Fatal error
Uncaught Error: Call to a member function getNoticeMessage() on null in wp-content/plugins/infunding/includes/views/volunteer.list.php:20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=payment/edit
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/infunding/assets/js/infunding_admin.js?ver=1.0.0:48:56)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,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,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=payment/edit
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: fundraising, donate, volunteer, campaign, crowdfunding...
infunding/infunding.php Passed 13 tests
The primary PHP file in "InFunding - Plugin for Charity & Crowdfunding Website" version 1.0 is used by WordPress to initiate all plugin functionality
130 characters long description:
InFunding is an advanced WordPress plugin to create and manage charity campaigns, and appeal donation via Paypal or bank transfer.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected13,712 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 452 | 869 | 6,521 |
CSS | 11 | 222 | 134 | 3,452 |
JavaScript | 13 | 561 | 632 | 3,154 |
SVG | 1 | 0 | 0 | 565 |
XML | 1 | 0 | 0 | 20 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 29.22 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 137 | |
▷ Static methods | 7 | 5.11% |
▷ Public methods | 137 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 60 | |
▷ Named functions | 60 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
13 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/owl-prev-v2.png | 1.09KB | 0.84KB | ▼ 23.21% |
assets/images/notice.png | 1.16KB | 1.21KB | 0.00% |
assets/images/event_chedule_bg.png | 4.01KB | 1.83KB | ▼ 54.44% |
assets/images/error.png | 1.07KB | 1.16KB | 0.00% |
assets/css/grabbing.png | 0.11KB | 0.14KB | 0.00% |