Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
7 / 7
CRAP
100.00% covered (success)
100.00%
57 / 57
InsertionMode
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
7 / 7
21
100.00% covered (success)
100.00%
56 / 56
 __construct
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
3 / 3
 doctype
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
 comment
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
 error
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
 splitInitialMatch
100.00% covered (success)
100.00%
1 / 1
4
100.00% covered (success)
100.00%
14 / 14
 handleFramesetWhitespace
100.00% covered (success)
100.00%
1 / 1
5
100.00% covered (success)
100.00%
20 / 20
 stripNulls
100.00% covered (success)
100.00%
1 / 1
4
100.00% covered (success)
100.00%
13 / 13
 characters
n/a
0 / 0
1
n/a
0 / 0
 startTag
n/a
0 / 0
1
n/a
0 / 0
 endTag
n/a
0 / 0
1
n/a
0 / 0
 endDocument
n/a
0 / 0
1
n/a
0 / 0
<?php
namespace Wikimedia\RemexHtml\TreeBuilder;
use Wikimedia\RemexHtml\PropGuard;
use Wikimedia\RemexHtml\Tokenizer\Attributes;
abstract class InsertionMode {
    use PropGuard;
    /** @var TreeBuilder */
    protected $builder;
    /** @var Dispatcher */
    protected $dispatcher;
    public function __construct( TreeBuilder $builder, Dispatcher $dispatcher ) {
        $this->builder = $builder;