10% church-theme-content-integration

Code Review | Church Theme Content Integration

WordPress plugin Church Theme Content Integration scored10%from 54 tests.

About plugin

  • Plugin page: church-theme-cont...
  • Plugin version: 0.4.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-3.9.1
  • WordPress version: 6.3.1
  • First release: Jul 26, 2014
  • Latest release: Jul 29, 2014
  • Number of updates: 4
  • Update frequency: every 1.3 days
  • Top authors: chrisburgess7 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,316 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
  • The plugin did not install without errors
    • > Notice in wp-content/plugins/church-theme-content-integration/church-theme-content-integration.php+220
    Trying to access array offset on value of type null

Server metrics [RAM: ▲0.88MB] [CPU: ▲5.60ms] Passed 4 tests

An overview of server-side resources used by Church Theme Content Integration
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1342.27 ▲0.69
Dashboard /wp-admin4.43 ▲1.1357.80 ▲6.96
Posts /wp-admin/edit.php4.55 ▲1.1961.24 ▲4.75
Add New Post /wp-admin/post-new.php7.03 ▲1.15109.98 ▲13.76
Media Library /wp-admin/upload.php4.36 ▲1.1346.30 ▲9.99
Fellowship One /wp-admin/admin.php?page=ctci-f1-options4.3240.25
CTC Integration /wp-admin/admin.php?page=ctci-main-options4.3239.96
Configuration /wp-admin/admin.php?page=ctci-configuration4.3234.91

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 45 new files
Database: 2 new tables, 9 new options
New tables
wp_ctci_ctcgroup_connect
wp_ctci_syncstatus
New WordPress options
ctci_f1_options
ctci_config_options
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
ctci_db_version
widget_recent-comments
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Church Theme Content Integration
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,874 ▲10313.29 ▼1.361.74 ▼0.6644.50 ▲0.28
Dashboard /wp-admin2,258 ▲704.88 ▼0.93105.00 ▼12.1640.64 ▼4.91
Posts /wp-admin/edit.php2,137 ▲482.04 ▲0.0140.86 ▲2.5137.48 ▲3.06
Add New Post /wp-admin/post-new.php1,557 ▲2423.28 ▲0.29662.85 ▼41.3560.55 ▲5.68
Media Library /wp-admin/upload.php1,437 ▲464.23 ▲0.0696.16 ▼11.7744.46 ▼2.18
Fellowship One /wp-admin/admin.php?page=ctci-f1-options1,1081.7125.1729.00
CTC Integration /wp-admin/admin.php?page=ctci-main-options8201.7125.3929.39
Configuration /wp-admin/admin.php?page=ctci-configuration9342.0824.9130.04

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

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 just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === church-theme-content-integration === )
You can take inspiration from this readme.txt

church-theme-content-integration/church-theme-content-integration.php Passed 13 tests

Analyzing the main PHP file in "Church Theme Content Integration" version 0.4.2
118 characters long description:
Provides integration functionality between the Church Theme Content plugin and other church-related service providers.

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
No dangerous file extensions were detected5,204 lines of code in 41 files:
LanguageFilesBlank linesComment linesLines of code
PHP379671,2284,784
JavaScript33536368
CSS112152

PHP code Passed 2 tests

Analyzing 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 code0.24
Average class complexity9.80
▷ Minimum class complexity1.00
▷ Maximum class complexity112.00
Average method complexity2.25
▷ Minimum method complexity1.00
▷ Maximum method complexity45.00
Code structure
Namespaces0
Interfaces17
Traits0
Classes38
▷ Abstract classes12.63%
▷ Concrete classes3797.37%
▷ Final classes00.00%
Methods626
▷ Static methods142.24%
▷ Public methods57992.49%
▷ Protected methods355.59%
▷ Private methods121.92%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants00.00%
▷ Class constants7100.00%
▷ Public constants7100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin