2 # Crocodile config file for Chrome Frame.
4 # http://src.chromium.org/viewvc/chrome/trunk/src/tools/code_coverage/croc.py?view=markup
7 # List of root directories, applied in order
9 # Sub-paths we specifically care about and want to call out
12 'altname' : 'CHROMIUM',
16 # List of rules, applied in order
17 # Note that any 'include':0 rules here will be overridden by the 'include':1
18 # rules in the platform-specific configs.
20 # Don't scan for executable lines in uninstrumented C++ header files
22 'regexp' : '.*\\.(h|hpp)$',
32 'regexp' : '.*_(test|unittest)\\.',
38 'regexp' : '.*\\.(c|h)$',
42 'regexp' : '.*\\.(cc|cpp|hpp)$',
46 # Files/paths to include. Specify these before the excludes, since rules
49 'regexp' : '^CHROMIUM/chrome_frame/',
52 # Don't include subversion or mercurial SCM dirs
54 'regexp' : '.*/(\\.svn|\\.hg)/',
57 # Don't include output dirs
59 'regexp' : '.*/(Debug|Release|debug|release|out|xcodebuild)/',
62 # Don't include third-party source
64 'regexp' : '.*/third_party/.*',
69 # Paths to add source from
77 'stat' : 'files_executable',
78 'format' : '*RESULT FilesKnown: files_executable= %d files',
81 'stat' : 'files_instrumented',
82 'format' : '*RESULT FilesInstrumented: files_instrumented= %d files',
85 'stat' : '100.0 * files_instrumented / files_executable',
86 'format' : '*RESULT FilesInstrumentedPercent: '
87 'files_instrumented_percent= %g',
90 'stat' : 'lines_executable',
91 'format' : '*RESULT LinesKnown: lines_known= %d lines',
94 'stat' : 'lines_instrumented',
95 'format' : '*RESULT LinesInstrumented: lines_instrumented= %d lines',
98 'stat' : 'lines_covered',
99 'format' : '*RESULT LinesCoveredSource: lines_covered_source= %d lines',
103 'stat' : 'lines_covered',
104 'format' : '*RESULT LinesCoveredTest: lines_covered_test= %d lines',
108 'stat' : '100.0 * lines_covered / lines_executable',
109 'format' : '*RESULT PercentCovered: percent_covered= %g',
112 'stat' : '100.0 * lines_covered / lines_executable',
113 'format' : '*RESULT PercentCoveredSource: percent_covered_source= %g',
117 'stat' : '100.0 * lines_covered / lines_executable',
118 'format' : '*RESULT PercentCoveredTest: percent_covered_test= %g',