summaryrefslogtreecommitdiff
path: root/Data/BuiltIn/Libraries/lua-stdlib/.luacov
diff options
context:
space:
mode:
Diffstat (limited to 'Data/BuiltIn/Libraries/lua-stdlib/.luacov')
-rw-r--r--Data/BuiltIn/Libraries/lua-stdlib/.luacov52
1 files changed, 52 insertions, 0 deletions
diff --git a/Data/BuiltIn/Libraries/lua-stdlib/.luacov b/Data/BuiltIn/Libraries/lua-stdlib/.luacov
new file mode 100644
index 0000000..40b9d6a
--- /dev/null
+++ b/Data/BuiltIn/Libraries/lua-stdlib/.luacov
@@ -0,0 +1,52 @@
+return {
+ -- filename to store stats collected
+ ["statsfile"] = "luacov.stats.out",
+
+ -- filename to store report
+ ["reportfile"] = "luacov.report.out",
+
+ -- luacov.stats file updating frequency.
+ -- The lower this value - the more frequenty results will be written out to luacov.stats
+ -- You may want to reduce this value for short lived scripts (to for example 2) to avoid losing coverage data.
+ ["savestepsize"] = 100,
+
+ -- Run reporter on completion? (won't work for ticks)
+ runreport = true,
+
+ -- Delete stats file after reporting?
+ deletestats = false,
+
+ -- Process Lua code loaded from raw strings
+ -- (that is, when the 'source' field in the debug info
+ -- does not start with '@')
+ codefromstrings = false,
+
+ -- Patterns for files to include when reporting
+ -- all will be included if nothing is listed
+ -- (exclude overrules include, do not include
+ -- the .lua extension, path separator is always '/')
+ ["include"] = {
+ "lib/std/_base$",
+ "lib/std/debug$",
+ "lib/std/init$",
+ "lib/std/io$",
+ "lib/std/math$",
+ "lib/std/package$",
+ "lib/std/string$",
+ "lib/std/table$",
+ --"lib/std/version$",
+ },
+
+ -- Patterns for files to exclude when reporting
+ -- all will be included if nothing is listed
+ -- (exclude overrules include, do not include
+ -- the .lua extension, path separator is always '/')
+ ["exclude"] = {
+ "luacov$",
+ "luacov/reporter$",
+ "luacov/defaults$",
+ "luacov/runner$",
+ "luacov/stats$",
+ "luacov/tick$",
+ },
+}