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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.59 | 38.26 ▼4.08 |
Dashboard /wp-admin | 3.89 ▲0.59 | 59.01 ▲13.06 |
Posts /wp-admin/edit.php | 3.93 ▲0.57 | 59.05 ▲10.36 |
Add New Post /wp-admin/post-new.php | 6.43 ▲0.55 | 93.62 ▲0.25 |
Media Library /wp-admin/upload.php | 3.75 ▲0.52 | 44.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,045 ▲283 | 15.84 ▲1.49 | 49.83 ▲48.11 | 41.09 ▼3.21 |
Dashboard /wp-admin | 2,234 ▲63 | 5.03 ▼0.50 | 96.93 ▲7.61 | 41.84 ▲3.20 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.46 ▲0.47 | 40.53 ▼1.71 | 37.35 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 23.51 ▲0.16 | 690.37 ▲67.20 | 36.92 ▼19.46 |
Media Library /wp-admin/upload.php | 1,440 ▲46 | 4.53 ▲0.31 | 90.75 ▼6.75 | 43.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
- > PHP Fatal error
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 386 | 226 | 12,141 |
JavaScript | 21 | 2,023 | 1,035 | 8,104 |
PHP | 44 | 1,102 | 775 | 6,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 code | 0.31 |
Average class complexity | 7.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 3 | 5.66% |
▷ Public methods | 48 | 90.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 9.43% |
Functions | 75 | |
▷ Named functions | 72 | 96.00% |
▷ Anonymous functions | 3 | 4.00% |
Constants | 11 | |
▷ Global constants | 9 | 81.82% |
▷ Class constants | 2 | 18.18% |
▷ Public constants | 2 | 100.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/captcha/src/captchaImages/08.png | 1.38KB | 1.28KB | ▼ 7.01% |
public/css/images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
public/css/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
public/captcha/src/captchaImages/09.png | 1.48KB | 1.35KB | ▼ 8.76% |
public/captcha/src/captchaImages/02.png | 0.96KB | 0.83KB | ▼ 13.16% |