WordPress plugin Obituary Assistant scored78%from 54 tests.

About plugin

  • Plugin page: obituary-assistan...
  • Plugin version: 6.13.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-6.2.2
  • WordPress version: 6.3.1
  • First release: Feb 2, 2017
  • Latest release: Nov 21, 2023
  • Number of updates: 292
  • Update frequency: every 8.5 days
  • Top authors: fhwsolutions (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

200+ active /21,685 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.56MB] [CPU: ▲4.75ms] Passed 4 tests

A check of server-side resources used by Obituary Assistant
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /4.05 ▲0.5938.26 ▼4.08
Dashboard /wp-admin3.89 ▲0.5959.01 ▲13.06
Posts /wp-admin/edit.php3.93 ▲0.5759.05 ▲10.36
Add New Post /wp-admin/post-new.php6.43 ▲0.5593.62 ▲0.25
Media Library /wp-admin/upload.php3.75 ▲0.5244.63 ▲12.45

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 106 new files
Database: no new tables, 10 new options
New WordPress options
widget_wpb_widget
fhw-solutions-obituaries_1
db_upgraded
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
oa-version
fhw-solutions-obituaries_3
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Obituary Assistant
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,045 ▲28315.84 ▲1.4949.83 ▲48.1141.09 ▼3.21
Dashboard /wp-admin2,234 ▲635.03 ▼0.5096.93 ▲7.6141.84 ▲3.20
Posts /wp-admin/edit.php2,123 ▲232.46 ▲0.4740.53 ▼1.7137.35 ▼1.38
Add New Post /wp-admin/post-new.php1,564 ▲3823.51 ▲0.16690.37 ▲67.2036.92 ▼19.46
Media Library /wp-admin/upload.php1,440 ▲464.53 ▲0.3190.75 ▼6.7543.52 ▲3.05

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • This plugin does not fully uninstall, leaving 10 options in the database
    • fhw-solutions-obituaries_1
    • can_compress_scripts
    • theysaidso_admin_options
    • oa-version
    • widget_recent-posts
    • widget_recent-comments
    • fhw-solutions-obituaries_3
    • db_upgraded
    • widget_theysaidso_widget
    • widget_wpb_widget

Smoke tests 50% from 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)
Everything seems fine, however this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 18× PHP files output text when accessed directly (only 10 are shown):
    • > /wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/fhw-solutions-obituaries-public-display-recent-obituaries.php
    • > /wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/florist-one-flower-delivery-customer-service.php
    • > /wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/recipient-state-list.php
    • > /wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/fhw-solutions-obituaries-dialog-box-2.php
    • > /wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/captcha/src/simpleCaptcha.php
    • > /wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/fhw-solutions-obituaries-obituary-submission.php
    • > /wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/florist-one-flower-delivery-cart-body.php
    • > /wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/florist-one-flower-delivery-single-product.php
    • > /wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/customer-state-list.php
    • > /wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/florist-one-flower-delivery-checkout-credit-card-section.php
  • 561× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/obituaries-subscription-widget.php:7
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/florist-one-flower-delivery-cart-body-price.php on line 25
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/fhw-solutions-obituaries-public-display-events.php on line 137
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/fhw-solutions-obituaries-public-display-condolences.php on line 20
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/fhw-solutions-obituaries-public-display.php on line 98
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/florist-one-flower-delivery-single-product.php on line 33
    • > PHP Notice
      Undefined variable: api_response_body in wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/florist-one-flower-delivery-plant-a-tree.php on line 18
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/fhw-solutions-obituaries-public-display-events.php on line 112
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/fhw-solutions-obituaries-public-display.php on line 295
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/obituary-assistant-by-funeral-home-website-solutions/public/partials/fhw-solutions-obituaries-public-display.php on line 295

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 96% 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
9 plugin tags: obituaries, flowers, online memorial, obituary manager, obituary editor...

obituary-assistant-by-funeral-home-website-solutions/fhw-solutions-obituaries.php 92% from 13 tests

The main PHP file in "Obituary Assistant" ver. 6.13.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("obituary-assistant-by-funeral-home-website-solutions.php" instead of "fhw-solutions-obituaries.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
Good job! No executable or dangerous file extensions detected26,586 lines of code in 75 files:
LanguageFilesBlank linesComment linesLines of code
CSS1038622612,141
JavaScript212,0231,0358,104
PHP441,1027756,341

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.31
Average class complexity7.70
▷ Minimum class complexity1.00
▷ Maximum class complexity26.00
Average method complexity2.26
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes10
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes00.00%
Methods53
▷ Static methods35.66%
▷ Public methods4890.57%
▷ Protected methods00.00%
▷ Private methods59.43%
Functions75
▷ Named functions7296.00%
▷ Anonymous functions34.00%
Constants11
▷ Global constants981.82%
▷ Class constants218.18%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
23 compressed PNG files occupy 0.09MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
public/captcha/src/captchaImages/08.png1.38KB1.28KB▼ 7.01%
public/css/images/ui-icons_cc0000_256x240.png4.44KB4.17KB▼ 6.02%
public/css/images/ui-icons_444444_256x240.png6.83KB4.17KB▼ 38.86%
public/captcha/src/captchaImages/09.png1.48KB1.35KB▼ 8.76%
public/captcha/src/captchaImages/02.png0.96KB0.83KB▼ 13.16%