comb.h
Go to the documentation of this file.00001 #ifndef __COMB_H__
00002 #define __COMB_H__
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00026 #include <stdio.h>
00027
00028 #include "defines.h"
00029
00030
00032 void combination_reset_counted_expr_tree( expression* exp );
00033
00035 void combination_get_tree_stats(
00036 expression* exp,
00037 int* ulid,
00038 unsigned int curr_depth,
00039 bool excluded,
00040 unsigned int* hit,
00041 unsigned int* excludes,
00042 unsigned int* total );
00043
00045 void combination_get_stats(
00046 func_unit* funit,
00047 unsigned int* hit,
00048 unsigned int* excluded,
00049 unsigned int* total
00050 );
00051
00053 void combination_collect(
00054 func_unit* funit,
00055 int cov,
00056 expression*** exprs,
00057 unsigned int* exp_cnt,
00058 int** excludes
00059 );
00060
00062 void combination_get_funit_summary(
00063 func_unit* funit,
00064 unsigned int* hit,
00065 unsigned int* excluded,
00066 unsigned int* total
00067 );
00068
00070 void combination_get_inst_summary(
00071 funit_inst* inst,
00072 unsigned int* hit,
00073 unsigned int* excluded,
00074 unsigned int* total
00075 );
00076
00078 void combination_get_expression(
00079 int expr_id,
00080 char*** code,
00081 int** uline_groups,
00082 unsigned int* code_size,
00083 char*** ulines,
00084 unsigned int* uline_size,
00085 int** excludes,
00086 char*** reasons,
00087 unsigned int* exclude_size
00088 );
00089
00091 void combination_get_coverage(
00092 int exp_id,
00093 int uline_id,
00094 char*** info,
00095 int* info_size
00096 );
00097
00099 void combination_report(
00100 FILE* ofile,
00101 bool verbose
00102 );
00103
00104 #endif
00105