90% aspiesoft-church-sermon-video-list

Code Review | Church Sermon Video List

WordPress plugin Church Sermon Video List scored90%from 54 tests.

About plugin

  • Plugin page: aspiesoft-church-...
  • Plugin version: 1.4.2
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-6.0.2
  • WordPress version: 6.3.1
  • First release: Oct 13, 2020
  • Latest release: Oct 15, 2022
  • Number of updates: 14
  • Update frequency: every 52.4 days
  • Top authors: aspiesoft (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /675 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼7.08ms] Passed 4 tests

This is a short check of server-side resources used by Church Sermon Video List
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0436.98 ▼5.50
Dashboard /wp-admin3.32 ▲0.0246.48 ▼5.44
Posts /wp-admin/edit.php3.38 ▲0.0247.91 ▲1.90
Add New Post /wp-admin/post-new.php5.90 ▲0.0284.70 ▼19.26
Media Library /wp-admin/upload.php3.25 ▲0.0236.19 ▲3.48

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Church Sermon Video List
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5813.15 ▼1.241.62 ▼0.4938.44 ▼15.23
Dashboard /wp-admin2,224 ▲395.88 ▲0.02110.05 ▼4.2577.59 ▲30.99
Posts /wp-admin/edit.php2,110 ▲242.02 ▲0.0336.61 ▲0.9734.12 ▲0.25
Add New Post /wp-admin/post-new.php1,681 ▲14622.84 ▼0.19688.79 ▲22.4354.88 ▲2.89
Media Library /wp-admin/upload.php1,406 ▲244.12 ▼0.0995.51 ▼4.0863.01 ▲19.87

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded

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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 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
7 plugin tags: facebook, sermon, search, youtube, video...

aspiesoft-church-sermon-video-list/aspiesoft-church-sermon-video-list.php Passed 13 tests

The entry point to "Church Sermon Video List" version 1.4.2 is a PHP file that has certain tags in its header comment area
70 characters long description:
An easy way for a church to list there sermon videos on their website.

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 plugin903 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP49640468
JavaScript15430318
CSS1141117

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity21.50
▷ Minimum class complexity3.00
▷ Maximum class complexity40.00
Average method complexity4.15
▷ Minimum method complexity1.00
▷ Maximum method complexity38.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods13
▷ Static methods00.00%
▷ Public methods13100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/settings-icon.png1.59KB1.44KB▼ 9.35%