* bug#57377: [PATCH] api-coverage.texi: fix example, remove mentions of unimplemented features
@ 2022-08-24 9:09 Antoine Kalmbach
2022-10-01 13:57 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Antoine Kalmbach @ 2022-08-24 9:09 UTC (permalink / raw)
To: 57377
* doc/ref/api-coverage.texi (Code Coverage): #:modules is not
supported... never seems to have been supported?
(example): close port, not file.
---
doc/ref/api-coverage.texi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/ref/api-coverage.texi b/doc/ref/api-coverage.texi
index 5081d343b..61ac4abf1 100644
--- a/doc/ref/api-coverage.texi
+++ b/doc/ref/api-coverage.texi
@@ -25,12 +25,12 @@ Return @code{#t} if @var{obj} is a @dfn{coverage data} object as returned by
@code{with-code-coverage}.
@end deffn
-@deffn {Scheme Procedure} coverage-data->lcov data port #:key modules
+@deffn {Scheme Procedure} coverage-data->lcov data port
Traverse code coverage information @var{data}, as obtained with
@code{with-code-coverage}, and write coverage information to port in the
@code{.info} format used by @url{http://ltp.sourceforge.net/coverage/lcov.php,
-LCOV}. The report will include all of @var{modules} (or, by default, all the
-currently loaded modules) even if their code was not executed.
+LCOV}. The report will include all the modules loaded at the time
+coverage data was gathered, even if their code was not executed.
The generated data can be fed to LCOV's @command{genhtml} command to produce an
HTML report, which aids coverage data visualization.
@@ -49,7 +49,7 @@ Here's an example use:
(lambda (data result)
(let ((port (open-output-file "lcov.info")))
(coverage-data->lcov data port)
- (close file))))
+ (close port))))
@end example
In addition, the module provides low-level procedures that would make it
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-01 13:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-24 9:09 bug#57377: [PATCH] api-coverage.texi: fix example, remove mentions of unimplemented features Antoine Kalmbach
2022-10-01 13:57 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).