CBMC
count_eloc.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Count effective lines of code
4 
5 Author: Michael Tautschnig
6 
7 Date: December 2012
8 
9 \*******************************************************************/
10 
13 
14 #ifndef CPROVER_GOTO_INSTRUMENT_COUNT_ELOC_H
15 #define CPROVER_GOTO_INSTRUMENT_COUNT_ELOC_H
16 
17 class goto_modelt;
18 
19 void count_eloc(const goto_modelt &);
20 void list_eloc(const goto_modelt &);
21 void print_path_lengths(const goto_modelt &);
23 
24 #define OPT_GOTO_PROGRAM_STATS \
25  "(count-eloc)" \
26  "(list-eloc)" \
27  "(print-global-state-size)" \
28  "(print-path-lengths)"
29 
30 #define HELP_GOTO_PROGRAM_STATS \
31  " {y--count-eloc} \t count effective lines of code\n" \
32  " {y--list-eloc} \t list full path names of lines containing code\n" \
33  " {y--print-global-state-size} \t " \
34  "count the total number of bits of global objects\n" \
35  " {y--print-path-lengths} \t " \
36  "print statistics about control-flow graph paths\n"
37 
38 #endif // CPROVER_GOTO_INSTRUMENT_COUNT_ELOC_H
void print_path_lengths(const goto_modelt &)
Definition: count_eloc.cpp:86
void count_eloc(const goto_modelt &)
Definition: count_eloc.cpp:54
void print_global_state_size(const goto_modelt &)
Definition: count_eloc.cpp:159
void list_eloc(const goto_modelt &)
Definition: count_eloc.cpp:68