www.openlinksw.com
docs.openlinksw.com

Book Home

Contents
Preface

Virtuoso Functions Guide

Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
cov_load
cov_report
cov_store
dbg_obj_print
dbg_printf
explain
pldbg_stats
pldbg_stats_load
trace_off
trace_on
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Phrases
RDF data
Remote SQL Data Source
Replication
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web & Internet
XML
XPATH & XQUERY

Functions Index

pldbg_stats

Makes an array of line/count information based on current coverage.
any pldbg_stats ([in name varchar], [in add_line_info integer]);
Description

This function is used to make an array of line/count information based on the current coverage statistics. If the procedure name is given (first param), then the result will contain only coverage statistic for that procedure. if the procedure name is not supplied or supplied as NULL then the result will contain coverage data for all procedures having statistic. The add_line_info flag is used to add code excerpt on line info.

Parameters
name – Optional name of procedure for producing selective information.
outdir – Optional flag to control output existence. If this flag is set to 1 then code excerpts will be contained in the output.
Return Types

An array (or vector) is returned containing the line/count information of the selected coverage data. The format is as follows:

(
  ("PRODECURE_NAME" "file_name" <times executed> <total lines> ) -- procedure info
  ((<line no> <no executed> "<line excerpt>" ) .... )            -- line statistics
  (("CALLER PROCEDURE" <counts> ) .... ) 			 -- caller statistics
  ...
)
See Also

cov_load()

cov_store()

cov_report()

pldbg_stats_load()