94% church-dictionary

Code Review | Church Dictionar

WordPress plugin Church Dictionar scored 94% from 54 tests.

About plugin

  • Plugin page: church-dictionary
  • Plugin version: 1.10.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.7.2
  • WordPress version: 5.8.1
  • First release: May 26, 2021
  • Latest release: Jun 2, 2021
  • Number of updates: 123
  • Update frequency: every 0.1 days
  • Top authors: siamajor (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 127 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.05MB] [CPU: ▼142.62ms] Passed 4 tests

An overview of server-side resources used by Church Dictionar
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.89 ▲0.1738.34 ▲17.10
Dashboard /wp-admin3.11 ▲0.0650.61 ▼1.38
Posts /wp-admin/edit.php3.16 ▲0.0650.21 ▲3.18
Add New Post /wp-admin/post-new.php5.47 ▲0.0493.51 ▼572.44
Media Library /wp-admin/upload.php3.05 ▲0.0534.61 ▲0.17
Church Dictionary /wp-admin/options-general.php?page=chdc_option3.0232.33

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Church Dictionar
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,687 ▲9115.77 ▲0.149.31 ▼0.7750.19 ▼5.84
Dashboard /wp-admin2,976 ▲425.88 ▼0.08140.59 ▼20.98121.53 ▲6.67
Posts /wp-admin/edit.php2,748 ▲92.69 ▲0.0068.31 ▼1.4094.91 ▲3.20
Add New Post /wp-admin/post-new.php1,690 ▲718.59 ▼0.13391.93 ▼5.69119.90 ▲6.46
Media Library /wp-admin/upload.php1,816 ▲95.05 ▲0.04160.08 ▲5.02122.86 ▼2.06
Church Dictionary /wp-admin/options-general.php?page=chdc_option1,1842.3059.46100.21

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully

Smoke tests 75% from 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 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 take a closer look at the following
  • 2× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/church-dictionary/admin/sia_chdc_admin.php
    • > /wp-content/plugins/church-dictionary/arr.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found


Plugin configuration 93% from 29 tests

readme.txt 94% 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: The official readme.txt is a good inspiration

church-dictionary/sia-chdc.php 92% from 13 tests

"Church Dictionar" version 1.10.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("church-dictionary.php" instead of "sia-chdc.php")

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
There were no executable files found in this plugin3,313 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PO File1202082

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 code0.17
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions16100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
1 PNG file occupies 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
admin/435.png47.04KB19.53KB▼ 58.47%