LCOV.SH

The best LCOV framework around a BASH project
Requirements
Installation
Download lcov.sh
file into your local machine
curl -sL https://git.io/lcov.sh
Install lcov
package into your system
apt install lcov
Check if it working
bash lcov.sh -v
Usage
Add the following code [[ -z "${LCOV_DEBUG}" ]] || set -x
on top of source file you want in a coverage report, see below example:
#!/usr/bin/env bash || set -x welcome "John"
Now, run from command line the following command:
lcov.sh FILE...
Testing
TL;DR
not now :-)
Short url
curl -i "https://git.io" \ -d "url=https://raw.githubusercontent.com/javanile/lcov.sh/master/lcov.sh" \ -d "code=lcov.sh"
lcov
package
Install Debian/Ubuntu
apt install lcov
Mac OSX
brew install lcov