94% sermon-podcast-for-church-theme-content

Code Review | Sermon Podcast for Church Theme Content

WordPress plugin Sermon Podcast for Church Theme Content scored 94% from 54 tests.

About plugin

  • Plugin page: sermon-podcast-fo...
  • Plugin version: 1.0.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.6.2
  • WordPress version: 5.8.1
  • First release: Nov 25, 2016
  • Latest release: Nov 25, 2016
  • Number of updates: 14
  • Update frequency: N/A
  • Top authors: roblaughter (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 1,214 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼140.04ms] Passed 4 tests

This is a short check of server-side resources used by Sermon Podcast for Church Theme Content
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.83 ▲0.1238.21 ▲15.73
Dashboard /wp-admin3.06 ▲0.0047.32 ▼3.64
Posts /wp-admin/edit.php3.11 ▼0.0143.55 ▼11.20
Add New Post /wp-admin/post-new.php5.42 ▼0.0298.33 ▼548.50
Media Library /wp-admin/upload.php3.00 ▲0.0039.52 ▲3.20
Podcast Settings /wp-admin/options-general.php?page=churchly-podcast2.7423.60

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Sermon Podcast for Church Theme Content
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲5615.83 ▲0.2612.83 ▲0.9654.60 ▲3.95
Dashboard /wp-admin2,969 ▲385.92 ▼0.13161.74 ▲7.31117.53 ▲3.36
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0169.66 ▼4.2291.22 ▼6.96
Add New Post /wp-admin/post-new.php1,683 ▲6818.67 ▼2.44397.68 ▲97.37122.26 ▲2.12
Media Library /wp-admin/upload.php1,807 ▼05.03 ▲0.02179.48 ▼0.26126.80 ▲5.32
Podcast Settings /wp-admin/options-general.php?page=churchly-podcast280.900.0613.98

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
The SRP test was a success

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
    • > GET request to /wp-admin/options-general.php?page=churchly-podcast
    • > Network (severe)
    wp-admin/options-general.php?page=churchly-podcast - Failed to load resource: the server responded with a status of 403 (Forbidden)

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: sermons, church theme content, podcast

sermon-podcast-for-church-theme-content/sermon-podcast-for-church-theme-content.php Passed 13 tests

The main PHP file in "Sermon Podcast for Church Theme Content" ver. 1.0.6 adds more information about the plugin and also serves as the entry point for this plugin
56 characters long description:
Adds iTunes ready sermon podcast to Church Theme Content

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin322 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP59645322

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.32
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%
Functions16
▷ Named functions16100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
2 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/screenshot-1.png35.81KB15.36KB▼ 57.10%
assets/screenshot-2.png89.53KB34.80KB▼ 61.13%