| 1 |
--- Global configuration file. Copy, customize and store in your |
| 2 |
-- project folder as '.luacov' for project specific configuration. |
| 3 |
-- If some options are missing, their default values from this file |
| 4 |
-- will be used. |
| 5 |
-- @class module |
| 6 |
-- @name luacov.defaults |
| 7 |
return { |
| 8 |
|
| 9 |
-- default filename to load for config options if not provided |
| 10 |
-- only has effect in 'luacov.defaults.lua' |
| 11 |
["configfile"] = ".luacov", |
| 12 |
|
| 13 |
-- filename to store stats collected |
| 14 |
["statsfile"] = "luacov.stats.out", |
| 15 |
|
| 16 |
-- filename to store report |
| 17 |
["reportfile"] = "luacov.report.out", |
| 18 |
|
| 19 |
-- luacov.stats file updating frequency. |
| 20 |
-- The lower this value - the more frequenty results will be written out to luacov.stats |
| 21 |
-- You may want to reduce this value for short lived scripts (to for example 2) to avoid losing coverage data. |
| 22 |
["savestepsize"] = 100, |
| 23 |
|
| 24 |
-- Run reporter on completion? (won't work for ticks) |
| 25 |
runreport = false, |
| 26 |
|
| 27 |
-- Delete stats file after reporting? |
| 28 |
deletestats = false, |
| 29 |
|
| 30 |
-- Process Lua code loaded from raw strings |
| 31 |
-- (that is, when the 'source' field in the debug info |
| 32 |
-- does not start with '@') |
| 33 |
codefromstrings = false, |
| 34 |
|
| 35 |
-- Patterns for files to include when reporting |
| 36 |
-- all will be included if nothing is listed |
| 37 |
-- (exclude overrules include, do not include |
| 38 |
-- the .lua extension, path separator is always '/') |
| 39 |
["include"] = { 'src/tapered' }, |
| 40 |
|
| 41 |
-- Patterns for files to exclude when reporting |
| 42 |
-- all will be included if nothing is listed |
| 43 |
-- (exclude overrules include, do not include |
| 44 |
-- the .lua extension, path separator is always '/') |
| 45 |
["exclude"] = { |
| 46 |
"luacov$", |
| 47 |
"luacov/reporter$", |
| 48 |
"luacov/defaults$", |
| 49 |
"luacov/runner$", |
| 50 |
"luacov/stats$", |
| 51 |
"luacov/tick$", |
| 52 |
}, |
| 53 |
|
| 54 |
|
| 55 |
} |