1. Dana Cicortas
  2. fennec-taskswitcher-extension

Source

fennec-taskswitcher-extension / getCoverage.sh

#!/bin/bash
echo "-----------Cleaning the old data's --------------"
if [ -f fennec-taskswitcher.lcov ]
then
echo "fennec-taskswitcher.lcov file exist"
rm fennec-taskswitcher.lcov
fi
rm -fr coverage
cd src/
echo "----- Gathering coverage data -----"
lcov -d . -c -b . -o ../fennec-taskswitcher.lcov
lcov -l ../fennec-taskswitcher.lcov | grep -v "`cd .. &&pwd`" | cut -d: -f1 | xargs lcov -r ../fennec-taskswitcher.lcov '*/moc*' '*/usr*' '*/qt*'> ../coverage_fennec-taskswitcher.info
echo "----- Generating HTML File -----"
genhtml --output-directory=../coverage ../coverage_fennec-taskswitcher.info