Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.75ms] Passed 4 tests
An overview of server-side resources used by Donation Platform for WooCommerce: Fundraising & Donation Management
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 44.73 ▲6.83 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.99 ▼2.07 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.98 ▲1.16 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.31 ▼12.90 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 46.36 ▲13.17 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 152 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Donation Platform for WooCommerce: Fundraising & Donation Management
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 14.48 ▲0.29 | 2.54 ▲0.87 | 49.91 ▲10.84 |
Dashboard /wp-admin | 2,210 ▲19 | 5.79 ▲0.90 | 100.55 ▼7.37 | 39.80 ▼0.85 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.02 | 34.21 ▼0.69 | 35.69 ▲1.46 |
Add New Post /wp-admin/post-new.php | 1,537 ▼0 | 21.03 ▲2.81 | 725.55 ▲76.14 | 63.81 ▲4.42 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.15 ▼0.05 | 124.88 ▼19.15 | 57.47 ▲0.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: charity, fundraising, donation, woocommerce donation, recurring donation
wc-donation-platform/wc-donation-platform.php 92% from 13 tests
"Donation Platform for WooCommerce: Fundraising & Donation Management" version 1.3.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("5.8" instead of "4.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected8,990 lines of code in 137 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 122 | 1,321 | 2,632 | 6,918 |
CSS | 4 | 100 | 64 | 1,250 |
JavaScript | 5 | 49 | 44 | 621 |
Markdown | 2 | 42 | 0 | 153 |
JSON | 2 | 0 | 0 | 39 |
SVG | 2 | 0 | 0 | 9 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 26.82 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 134 | |
▷ Static methods | 35 | 26.12% |
▷ Public methods | 114 | 85.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 20 | 14.93% |
Functions | 8 | |
▷ Named functions | 2 | 25.00% |
▷ Anonymous functions | 6 | 75.00% |
Constants | 11 | |
▷ Global constants | 10 | 90.91% |
▷ Class constants | 1 | 9.09% |
▷ Public constants | 1 | 100.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
PNG images were not found in this plugin