90% wpcc-pco-giving

Code Review | WP Church Center: Planning Center Online Giving

WordPress plugin WP Church Center: Planning Center Online Giving scored90%from 54 tests.

About plugin

  • Plugin page: wpcc-pco-giving
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.4
  • WordPress version: 6.3.1
  • First release: Nov 11, 2017
  • Latest release: Mar 17, 2020
  • Number of updates: 5
  • Update frequency: every 171.6 days
  • Top authors: wpchurchteam (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /1,352 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▼0.24MB] [CPU: ▼18.55ms] Passed 4 tests

An overview of server-side resources used by WP Church Center: Planning Center Online Giving
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.40 ▼0.0724.45 ▼14.00
Dashboard /wp-admin3.10 ▼0.2131.31 ▼17.83
Posts /wp-admin/edit.php3.23 ▼0.1231.72 ▼14.98
Add New Post /wp-admin/post-new.php5.31 ▼0.5766.68 ▼27.40
Media Library /wp-admin/upload.php3.16 ▼0.0627.94 ▼3.81

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by WP Church Center: Planning Center Online Giving
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.22 ▼0.161.58 ▲0.0240.33 ▲2.27
Dashboard /wp-admin2,198 ▲175.64 ▼0.0781.48 ▼22.1836.70 ▼11.39
Posts /wp-admin/edit.php2,103 ▲31.98 ▲0.0235.05 ▼1.5433.97 ▼2.34
Add New Post /wp-admin/post-new.php1,534 ▲618.20 ▼4.79632.82 ▲6.4288.08 ▲35.88
Media Library /wp-admin/upload.php1,403 ▲64.14 ▲0.00100.53 ▼3.3542.75 ▼0.22

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
No tags were found

wpcc-pco-giving/wpcc-pco-giving.php 92% from 13 tests

The main PHP script in "WP Church Center: Planning Center Online Giving" version 1.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Text Domain: Please use dashes and lowercase characters for text domains

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected58 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1212256
Markdown1102

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.45
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected