Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/wp-church-donation/wp-church-donation.php+19
Only variables should be passed by reference
Server metrics [RAM: ▼1.92MB] [CPU: ▼57.84ms] Passed 4 tests
This is a short check of server-side resources used by WP Church Donation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 5.74 ▼37.10 |
Dashboard /wp-admin | 2.10 ▼1.25 | 6.55 ▼57.83 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 8.61 ▼35.96 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 5.44 ▼100.46 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 5.38 ▼34.34 |
Content /wp-admin/admin.php?page=wp_church_donation_options | 2.10 | 6.04 |
Church Donation /wp-admin/admin.php?page=wp_church_donation | 2.10 | 7.52 |
Auth.Net Settings /wp-admin/admin.php?page=wp_church_donation_settings_authorize | 2.10 | 5.11 |
Server storage [IO: ▲0.14MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_church_donation_content |
wp_church_donation |
wp_church_donation_settings |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
church_donation_db_version |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Church Donation
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲146 | 13.54 ▼0.84 | 7.91 ▲5.60 | 44.89 ▲1.10 |
Dashboard /wp-admin | 2,234 ▲54 | 5.66 ▲0.06 | 86.15 ▼22.87 | 37.70 ▼8.20 |
Posts /wp-admin/edit.php | 2,142 ▲39 | 2.25 ▲0.19 | 39.28 ▼0.88 | 35.04 ▼1.94 |
Add New Post /wp-admin/post-new.php | 1,556 ▲23 | 23.62 ▲0.42 | 714.89 ▲40.93 | 50.60 ▼13.29 |
Media Library /wp-admin/upload.php | 1,439 ▲45 | 4.29 ▲0.08 | 98.15 ▼3.90 | 45.44 ▲1.87 |
Content /wp-admin/admin.php?page=wp_church_donation_options | 935 | 1.81 | 27.25 | 33.45 |
Church Donation /wp-admin/admin.php?page=wp_church_donation | 829 | 1.86 | 25.41 | 26.67 |
Auth.Net Settings /wp-admin/admin.php?page=wp_church_donation_settings_authorize | 873 | 1.86 | 28.25 | 28.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wp-church-donation/wp-church-donation.php+19
Only variables should be passed by reference
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_church_donation_content
- wp_church_donation
- wp_church_donation_settings
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- church_donation_db_version
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_church_donation_settings_authorize
- > Notice in wp-content/plugins/wp-church-donation/wp-church-donation.php+19
Only variables should be passed by reference
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_church_donation_settings_authorize
- > Deprecated in wp-content/plugins/wp-church-donation/includes/church-donation-functions.php+218
Array and string offset access syntax with curly braces is deprecated
SRP 50% from 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
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-church-donation/wp-church-donation.php
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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please a description for screenshot #7 in wp-church-donation/assets to your readme.txt
- Tags: Please delete some tags, you are using 21 tag instead of maximum 10
wp-church-donation/wp-church-donation.php 92% from 13 tests
The primary PHP file in "WP Church Donation" version 1.6 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 184 characters long)
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
Good job! No executable or dangerous file extensions detected2,667 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 164 | 127 | 1,514 |
JavaScript | 2 | 153 | 129 | 1,076 |
CSS | 2 | 6 | 6 | 77 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin