<commit_before>var _ = require('lodash');
var logger = require('winston');
var tagDefs = require('../../tag-defs');
var tagParser = require('../../processors/tag-parser');
var config = require('dgeni/lib/utils/config').Config;

describe('tag definitions', function() {
  var doc, tags;

  function parseDoc(content) {
    var doc;
    config.set('processing.tagDefinitions', tagDefs);
    tagParser.init(config);

    if ( _.isString(content) ) {
      doc = {
        basePath: '.',
        file: 'src/some.js',
        fileType: 'js'<commit_msg>style(tags.spec): remove unused variables<commit_after>var _ = require('lodash');
var logger = require('winston');
var tagDefs = require('../../tag-defs');
var tagParser = require('../../processors/tag-parser');
var config = require('dgeni/lib/utils/config').Config;

describe('tag definitions', function() {

  function parseDoc(content) {
    var doc;
    config.set('processing.tagDefinitions', tagDefs);
    tagParser.init(config);

    if ( _.isString(content) ) {
      doc = {
        basePath: '.',
        file: 'src/some.js',
        fileType: 'js'
{'fraction_non_alphanumeric': 0.18099547511312217, 'fraction_numerical': 0.0, 'mean_word_length': 3.354330708661417, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2864676', 'n_tokens_mistral': 354, 'n_tokens_neox': 341, 'n_words': 69}