Lines Matching refs:report
130 report = '+' << '-' * 78 << "+\n"
131 report << '| ' << "ANTLR Rule Profile".center( 76 ) << " |\n"
132 report << '+' << '-' * 78 << "+\n"
133 report << "| Generated at #{ Time.now }".ljust( 78 ) << " |\n"
134 report << "| Profiled #{ parser_class.name }##{ top_rule }".ljust( 78 ) << " |\n"
135 report << "| Rule source generated from grammar file #{ grammar_file }".ljust( 78 ) << " |\n"
136 report << '+' << '-' * 78 << "+\n"
138 report << '| ' << "Rule Invocations".center( 76 ) << " |\n"
139 report << '+' << '-' * 68 << '+' << '-' * 9 << "+\n"
140 report << "| %-66s | %7i |\n" % [ "Total Invocations", rule_invocations ]
141 report << "| %-66s | %7i |\n" % [ "``Guessing'' Invocations", guessing_rule_invocations ]
142 report << "| %-66s | %7i |\n" % [ "Deepest Level of Invocation", rule_invocation_depth ]
143 report << '+' << '-' * 68 << '+' << '-' * 9 << "+\n"
145 report << '| ' << "Execution Events".center( 76 ) << " |\n"
146 report << '+' << '-' * 68 << '+' << '-' * 9 << "+\n"
147 report << "| %-66s | %7i |\n" % [ "Semantic Predicates Evaluated", semantic_predicates ]
148 report << "| %-66s | %7i |\n" % [ "Syntactic Predicates Evaluated", syntactic_predicates ]
149 report << "| %-66s | %7i |\n" % [ "Errors Reported", reported_errors ]
150 report << '+' << '-' * 68 << '+' << '-' * 9 << "+\n"
152 report << '| ' << "Token and Character Data".center( 76 ) << " |\n"
153 report << '+' << '-' * 68 << '+' << '-' * 9 << "+\n"
154 report << "| %-66s | %7i |\n" % [ "Tokens Consumed", tokens ]
155 report << "| %-66s | %7i |\n" % [ "Hidden Tokens Consumed", hidden_tokens ]
156 report << "| %-66s | %7i |\n" % [ "Characters Matched", characters_matched ]
157 report << "| %-66s | %7i |\n" % [ "Hidden Characters Matched", hidden_characters_matched ]
158 report << '+' << '-' * 68 << '+' << '-' * 9 << "+\n"
160 report << '| ' << "Memoization".center( 76 ) << " |\n"
161 report << '+' << '-' * 68 << '+' << '-' * 9 << "+\n"
162 report << "| %-66s | %7i |\n" % [ "Cache Entries", memoization_cache_entries ]
163 report << "| %-66s | %7i |\n" % [ "Cache Hits", memoization_cache_hits ]
164 report << "| %-66s | %7i |\n" % [ "Cache Misses", memoization_cache_misses ]
165 report << '+' << '-' * 68 << '+' << '-' * 9 << "+\n"
173 report << '| ' << "#{ name } Decisions".center( 76 ) << " |\n"
174 report << '+' << '-' * 68 << '+' << '-' * 9 << "+\n"
175 report << "| %-66s | %7i |\n" % [ "Count", set.length ]
176 report << "| %-66s | %7i |\n" % [ "Minimum k", set.min ]
177 report << "| %-66s | %7i |\n" % [ "Maximum k", set.max ]
178 report << "| %-66s | %7s |\n" % [ "Average k", mean ]
179 report << "| %-66s | %7s |\n" % [ "Standard Deviation of k", stdev ]
180 report << '+' << '-' * 68 << '+' << '-' * 9 << "+\n"
182 return( report )
353 def report method in ANTLR3.Profile.Profiler
357 alias to_s report