<commit_before><?php
/**
 * @file
 * Contains Drupal\AppConsole\Test\Generator\GeneratorTest.
 */

namespace Drupal\AppConsole\Test\Generator;

abstract class GeneratorTest extends \PHPUnit_Framework_TestCase 
{
  var $dir;

  public function setUp()
  {
    $this->setUpTemporalDirectory();
  }

  public function setUpTemporalDirectory()
  {
    $this->dir = sys_get_temp_dir() . "/modules";
  }

  public function getSkeletonDirs()
  {
    $skeletonDirs = [];
    $skeletonDirs[] = __DIR__.'/../../src/Resources/skeleton';
    $skeletonDirs[] = __DIR__.'/../../src/Resources';

    return $skeletonDirs;
  }
}<commit_msg>get module path method<commit_after><?php
/**
 * @file
 * Contains Drupal\AppConsole\Test\Generator\GeneratorTest.
 */

namespace Drupal\AppConsole\Test\Generator;

abstract class GeneratorTest extends \PHPUnit_Framework_TestCase 
{
  var $dir;

  public function setUp()
  {
    $this->setUpTemporalDirectory();
  }

  public function setUpTemporalDirectory()
  {
    $this->dir = sys_get_temp_dir() . "/modules";
  }

  public function getSkeletonDirs()
  {
    $skeletonDirs = [];
    $skeletonDirs[] = __DIR__.'/../../src/Resources/skeleton';
    $skeletonDirs[] = __DIR__.'/../../src/Resources';

    return $skeletonDirs;
  }

  public function getModulePath($module)
  {
    return $this->dir . '/' . $module;
  }
}
{'fraction_non_alphanumeric': 0.1537890044576523, 'fraction_numerical': 0.0, 'mean_word_length': 3.4019607843137254, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '7128589', 'n_tokens_mistral': 459, 'n_tokens_neox': 448, 'n_words': 75}