89% wp-church-center-tithe-ly-online-giving

Code Review | WP Church Center: Tithe.ly Online Giving

WordPress plugin WP Church Center: Tithe.ly Online Giving scored 89% from 54 tests.

About plugin

  • Plugin page: wp-church-center-...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-4.9
  • WordPress version: 6.3.1
  • First release: Nov 17, 2017
  • Latest release: Nov 17, 2017
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: wpchurchteam (100%)

Code review

54 tests

User reviews

1 review

Install metrics

80+ active / 1,449 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼6.46ms] Passed 4 tests

A check of server-side resources used by WP Church Center: Tithe.ly Online Giving
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0434.32 ▼13.03
Dashboard /wp-admin3.33 ▲0.0343.90 ▼8.85
Posts /wp-admin/edit.php3.38 ▲0.0353.55 ▲6.28
Add New Post /wp-admin/post-new.php5.91 ▲0.0384.17 ▼4.36
Media Library /wp-admin/upload.php3.25 ▲0.0334.75 ▲0.40

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for WP Church Center: Tithe.ly Online Giving
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.34 ▼1.031.57 ▼0.2439.14 ▼4.74
Dashboard /wp-admin2,206 ▲185.90 ▲1.03112.29 ▼2.6442.20 ▼9.36
Posts /wp-admin/edit.php2,092 ▲32.01 ▼0.0139.39 ▲0.2936.36 ▼0.61
Add New Post /wp-admin/post-new.php1,519 ▼2323.24 ▲5.02655.47 ▲38.1652.12 ▼12.41
Media Library /wp-admin/upload.php1,382 ▼34.16 ▼0.0598.95 ▼2.1142.12 ▼2.85

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
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded

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)
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
No tags were found

wp-church-center-tithe-ly-online-giving/wpcc-tithely.php 85% from 13 tests

Analyzing the main PHP file in "WP Church Center: Tithe.ly Online Giving" version 1.0.0
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-church-center-tithe-ly-online-giving.php" instead of "wpcc-tithely.php")
  • Text Domain: The text domain name should consist of only dashes and lowercase characters

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
Everything looks great! No dangerous files found in this plugin141 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP12524139
Markdown1102

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were 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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin