Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate/Intel_x86_NASM.pm
Criterion Covered Total %
branch 30 38 78.9


line true false branch
1300 8 240 if ($self->testKeyword($text, 'registers', 0, undef, 0, '#stay', 'Registers'))
1307 4 236 if ($self->testKeyword($text, 'Data', 0, undef, 0, '#stay', 'Data'))
1314 16 220 if ($self->testKeyword($text, 'instructions', 0, undef, 0, '#stay', 'Instructions'))
1321 8 212 if ($self->testKeyword($text, 'NASM Keywords', 0, undef, 0, '#stay', 'NASM Keywords'))
1328 10 202 if ($self->testDetectChar($text, ';', 0, 0, 0, undef, 0, 'Comment', 'Comment'))
1335 0 202 if ($self->testDetectChar($text, '%', 0, 0, 0, undef, 0, 'Preprocessor', 'Preprocessor'))
1342 4 198 if ($self->testAnyChar($text, q["'], 0, 0, undef, 0, 'String', 'String'))
1349 2 196 if ($self->testRegExpr($text, '^\\s*[A-Za-z0-9_.$]+:', 0, 0, 0, undef, 0, '#stay', 'Label'))
1356 0 196 if ($self->testRegExpr($text, '(cmov|fcmov|j|loop|set)(a|ae|b|be|c|e|g|ge|l|le|na|nae|nb|nbe|nc|ne|ng|nge|nl|nle|no|np|ns|nz|o|p|pe|po|s|z)', 0, 0, 0, undef, 0, '#stay', 'Instructions'))
1363 0 196 if ($self->testRegExpr($text, 'cpu (pentium|ppro|p2|p3|katmai|p4|willamette|prescott|ia64)*', 0, 0, 0, undef, 0, '#stay', 'NASM Keywords'))
1371 2 194 if ($self->testRegExpr($text, '(\\$[0-9]+[a-f0-9]*|[a-f0-9]+h)', 1, 0, 0, undef, 0, '#stay', 'BaseN'))
1379 4 190 if ($self->testRegExpr($text, '([0-7]+(q|o)|[01]+b)', 1, 0, 0, undef, 0, '#stay', 'BaseN'))
1386 0 190 if ($self->testDetectChar($text, '$', 0, 0, 0, undef, 0, '#stay', 'Number'))
1392 0 190 if ($self->testHlCOct($text, 0, undef, 0, '#stay', 'BaseN'))
1398 2 188 if ($self->testHlCHex($text, 0, undef, 0, '#stay', 'BaseN'))
1404 0 188 if ($self->testFloat($text, 0, undef, 0, '#stay', 'Float'))
1410 0 188 if ($self->testInt($text, 0, undef, 0, '#stay', 'Number'))
1416 0 188 if ($self->testHlCChar($text, 0, undef, 0, '#stay', 'Char'))
1433 4 26 if ($self->testAnyChar($text, q["'], 0, 0, undef, 0, '#pop', 'String'))