Benchmarks
Plugin footprint Passed 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.00MB] [CPU: ▼296.37ms] 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.54 ▲0.03 | 69.93 ▲11.11 |
Dashboard /wp-admin | 3.43 ▲0.02 | 37.00 ▼3.00 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 47.44 ▲1.28 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 100.29 ▼1,188.38 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 28.36 ▲4.62 |
Server storage [IO: ▲0.44MB] [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: 140 new files
Database: no new tables, no new 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 / | 3,769 ▲15 | 15.59 ▼0.44 | 6.17 ▼0.28 | 2.26 ▼0.85 |
Dashboard /wp-admin | 2,894 ▲40 | 6.13 ▼0.07 | 116.90 ▼20.57 | 158.02 ▼9.32 |
Posts /wp-admin/edit.php | 2,695 ▲10 | 3.36 ▲0.01 | 63.76 ▼2.34 | 144.39 ▼0.94 |
Add New Post /wp-admin/post-new.php | 1,665 ▼26 | 16.41 ▼3.41 | 428.80 ▼29.58 | 153.30 ▲2.90 |
Media Library /wp-admin/upload.php | 1,704 ▲6 | 5.54 ▲0.08 | 165.58 ▲19.07 | 190.79 ▲3.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
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: fundraising, donation, woocommerce donation, recurring donation, charity
wc-donation-platform/wc-donation-platform.php 92% from 13 tests
"Donation Platform for WooCommerce: Fundraising & Donation Management" version 1.2.1'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.7" 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 detected6,405 lines of code in 126 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 117 | 1,096 | 2,160 | 5,251 |
CSS | 3 | 74 | 38 | 759 |
JavaScript | 4 | 28 | 26 | 354 |
JSON | 2 | 0 | 0 | 41 |
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.40 |
Average class complexity | 24.46 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 26 | 31.71% |
▷ Public methods | 77 | 93.90% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 6.10% |
Functions | 6 | |
▷ Named functions | 2 | 33.33% |
▷ Anonymous functions | 4 | 66.67% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ 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