code: function appendChild(child, element, context, appended) {
                      /*jshint validthis: true */
  
                      // ignore appending to the node that's not yet added to DOM tree
                      if (!element.parentNode) {
                          return;
                      }
  
                      // don't count elements added to fragments as a DOM inserts (issue #350)
                      // DocumentFragment > div[0]
                      if (context.indexOf('DocumentFragment') === 0) {
                          return;
                      }
  
                      phantomas.incrMetric('DOMinserts');
                      phantomas.addOffender('DOMinserts', '"%s" appended to "%s"', appended, context);
  
                      //phantomas.log('DOM insert: node "%s" appended to "%s"', appended, context);
                  }
docs: count DOM inserts