<commit_before><?php
namespace Respect;

class DocTest extends \PHPUnit_Framework_TestCase
{
	public function test_as_example_for___toString_method()
	{
		$class     = 'Respect\Doc';
		$doc       = new Doc($class);
		$markdown  = (string) $doc;
		$doc       = file_put_contents('../README.md', $markdown); //Happy Panda
		$this->assertStringEqualsFile('../README.md', $markdown);
	}
    public function test_as_example_for___construct_method_with_namespace()
    {
        $doc    = new Doc('Respect'); //Full Namespace
        $title  = 'Respect\Doc' . PHP_EOL 
                . '===========';
        $this->assertStringStartsWith($title, (string) $doc);
    }
    public function test_as_example_for___construct_method_with_class()
    {
        $doc    = new Doc('Respect\Doc'); //Specific |class Name
        $title  = 'Respect\Doc' . PHP_EOL 
                . '===========';
        $this->assertStringStartsWith($title, (string) $doc);
    }
}<commit_msg>cover analize a NameSpace instead a class<commit_after><?php
namespace Respect;

class DocTest extends \PHPUnit_Framework_TestCase
{
	public function test_as_example_for___toString_method()
	{
		$class     = 'Respect\Doc';
		$doc       = new Doc($class);
		$markdown  = (string) $doc;
		$doc       = file_put_contents('../README.md', $markdown); //Happy Panda
		$this->assertStringEqualsFile('../README.md', $markdown);
	}
    public function test_as_example_for___construct_method_with_namespace()
    {
        $doc    = new Doc('Respect'); //Full Namespace
        $title  = 'Respect\Doc' . PHP_EOL 
                . '===========';
        $this->assertStringStartsWith($title, (string) $doc);
    }
    public function test_as_example_for___construct_method_with_class()
    {
        $doc    = new Doc('Respect\Doc'); //Specific |class Name
        $title  = 'Respect\Doc' . PHP_EOL 
                . '===========';
        $this->assertStringStartsWith($title, (string) $doc);
    }
    public function test_getMarkDownforNamespace()
    {
        $doc    = new Doc('Respect'); //Specific |class Name
        $content =  (string)$doc;
        $this->assertGreaterThanOrEqual( 100, strpos($content,'Respect\MarkDown'));
        $this->assertGreaterThanOrEqual( 50, strpos($content,'Respect\DocItem'));
        $this->assertEquals( 0, strpos($content,'Respect\Doc'));
    }
}
{'fraction_non_alphanumeric': 0.1560767590618337, 'fraction_numerical': 0.00255863539445629, 'mean_word_length': 2.9965928449744466, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, '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': '2116895', 'n_tokens_mistral': 765, 'n_tokens_neox': 734, 'n_words': 134}