Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Feb 8, 2016
1 parent ee799af commit 58de88e
Show file tree
Hide file tree
Showing 12 changed files with 4,751 additions and 1,200 deletions.
856 changes: 445 additions & 411 deletions coverage/AbstractSession.php.html

Large diffs are not rendered by default.

105 changes: 95 additions & 10 deletions coverage/Config.php.html

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion coverage/MySQLNoEventSession.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ <h4>Legend</h4>
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 5.6.15</a> and <a href="https://phpunit.de/">PHPUnit 5.0.9</a> at Sat Nov 14 14:52:38 GMT 2015.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage
3.1.1</a> using <a href="http://php.net/" target="_top">PHP 5.6.18</a> and <a href="https://phpunit.de/">PHPUnit
5.2.3</a> at Mon Feb 8 19:54:38 GMT 2016.
</small>
</p>
<a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
</footer>
Expand Down
1,380 changes: 1,222 additions & 158 deletions coverage/MySQLSession.php.html

Large diffs are not rendered by default.

963 changes: 850 additions & 113 deletions coverage/RedisSession.php.html

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion coverage/SessionException.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ <h4>Legend</h4>
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 5.6.15</a> and <a href="https://phpunit.de/">PHPUnit 5.0.9</a> at Sat Nov 14 14:52:38 GMT 2015.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage
3.1.1</a> using <a href="http://php.net/" target="_top">PHP 5.6.18</a> and <a href="https://phpunit.de/">PHPUnit
5.2.3</a> at Mon Feb 8 19:54:38 GMT 2016.
</small>
</p>
<a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
</footer>
Expand Down
1,817 changes: 1,619 additions & 198 deletions coverage/Token.php.html

Large diffs are not rendered by default.

174 changes: 170 additions & 4 deletions coverage/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ <h3>Project Risks</h3>
<footer>
<hr/>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 5.6.15</a> and <a href="https://phpunit.de/">PHPUnit 5.0.9</a> at Sat Nov 14 14:52:38 GMT 2015.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage
3.1.1</a> using <a href="http://php.net/" target="_top">PHP 5.6.18</a> and <a href="https://phpunit.de/">PHPUnit
5.2.3</a> at Mon Feb 8 19:54:38 GMT 2016.
</small>
</p>
</footer>
</div>
Expand Down Expand Up @@ -175,7 +178,7 @@ <h3>Project Risks</h3>
.yAxis.tickFormat(d3.format('d'));

d3.select('#methodCoverageDistribution svg')
.datum(getCoverageDistributionData([0,0,0,0,0,0,0,0,0,0,0,46], "Method Coverage"))
.datum(getCoverageDistributionData([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48], "Method Coverage"))
.transition().duration(500).call(chart);

nv.utils.windowResize(chart.update);
Expand Down Expand Up @@ -225,7 +228,27 @@ <h3>Project Risks</h3>
chart.yAxis.axisLabel('Cyclomatic Complexity');

d3.select('#classComplexity svg')
.datum(getComplexityData([[100,37,"<a href=\"AbstractSession.php.html#18\">AbstractSession<\/a>"],[100,3,"<a href=\"Config.php.html#26\">Config<\/a>"],[100,2,"<a href=\"MySQLNoEventSession.php.html#10\">MySQLNoEventSession<\/a>"],[100,14,"<a href=\"MySQLSession.php.html#14\">MySQLSession<\/a>"],[100,9,"<a href=\"RedisSession.php.html#13\">RedisSession<\/a>"],[100,0,"<a href=\"SessionException.php.html#9\">SessionException<\/a>"],[100,23,"<a href=\"Token.php.html#14\">Token<\/a>"]], 'Class Complexity'))
.datum(getComplexityData([[100,
39,
"<a href=\"AbstractSession.php.html#19\">AbstractSession<\/a>"],
[100,
3,
"<a href=\"Config.php.html#26\">Config<\/a>"],
[100,
2,
"<a href=\"MySQLNoEventSession.php.html#10\">MySQLNoEventSession<\/a>"],
[100,
14,
"<a href=\"MySQLSession.php.html#14\">MySQLSession<\/a>"],
[100,
9,
"<a href=\"RedisSession.php.html#13\">RedisSession<\/a>"],
[100,
0,
"<a href=\"SessionException.php.html#9\">SessionException<\/a>"],
[100,
24,
"<a href=\"Token.php.html#16\">Token<\/a>"]], 'Class Complexity'))
.transition()
.duration(500)
.call(chart);
Expand All @@ -249,7 +272,150 @@ <h3>Project Risks</h3>
chart.yAxis.axisLabel('Method Complexity');

d3.select('#methodComplexity svg')
.datum(getComplexityData([[100,1,"<a href=\"AbstractSession.php.html#40\">AbstractSession::__construct<\/a>"],[100,4,"<a href=\"AbstractSession.php.html#52\">AbstractSession::setID<\/a>"],[100,1,"<a href=\"AbstractSession.php.html#79\">AbstractSession::idExists<\/a>"],[100,2,"<a href=\"AbstractSession.php.html#87\">AbstractSession::destroySafely<\/a>"],[100,1,"<a href=\"AbstractSession.php.html#102\">AbstractSession::isActive<\/a>"],[100,1,"<a href=\"AbstractSession.php.html#112\">AbstractSession::getLastActiveSession<\/a>"],[100,2,"<a href=\"AbstractSession.php.html#121\">AbstractSession::start<\/a>"],[100,3,"<a href=\"AbstractSession.php.html#151\">AbstractSession::identityCheck<\/a>"],[100,1,"<a href=\"AbstractSession.php.html#174\">AbstractSession::getFingerprint<\/a>"],[100,1,"<a href=\"AbstractSession.php.html#184\">AbstractSession::handleIdentityCheckFailure<\/a>"],[100,1,"<a href=\"AbstractSession.php.html#197\">AbstractSession::close<\/a>"],[100,1,"<a href=\"AbstractSession.php.html#213\">AbstractSession::destroy<\/a>"],[100,1,"<a href=\"AbstractSession.php.html#231\">AbstractSession::gc<\/a>"],[100,1,"<a href=\"AbstractSession.php.html#247\">AbstractSession::open<\/a>"],[100,2,"<a href=\"AbstractSession.php.html#260\">AbstractSession::offsetExists<\/a>"],[100,1,"<a href=\"AbstractSession.php.html#278\">AbstractSession::sessionRequiredWarning<\/a>"],[100,1,"<a href=\"AbstractSession.php.html#293\">AbstractSession::__get<\/a>"],[100,1,"<a href=\"AbstractSession.php.html#306\">AbstractSession::__set<\/a>"],[100,2,"<a href=\"AbstractSession.php.html#319\">AbstractSession::offsetGet<\/a>"],[100,2,"<a href=\"AbstractSession.php.html#341\">AbstractSession::offsetSet<\/a>"],[100,2,"<a href=\"AbstractSession.php.html#360\">AbstractSession::offsetUnset<\/a>"],[100,2,"<a href=\"AbstractSession.php.html#374\">AbstractSession::__destruct<\/a>"],[100,3,"<a href=\"AbstractSession.php.html#386\">AbstractSession::shouldBeSaved<\/a>"],[100,1,"<a href=\"Config.php.html#104\">Config::__construct<\/a>"],[100,2,"<a href=\"Config.php.html#113\">Config::setDefaultConfig<\/a>"],[100,1,"<a href=\"MySQLNoEventSession.php.html#22\">MySQLNoEventSession::gc<\/a>"],[100,1,"<a href=\"MySQLNoEventSession.php.html#35\">MySQLNoEventSession::start<\/a>"],[100,1,"<a href=\"MySQLSession.php.html#30\">MySQLSession::__construct<\/a>"],[100,2,"<a href=\"MySQLSession.php.html#47\">MySQLSession::destroy<\/a>"],[100,4,"<a href=\"MySQLSession.php.html#72\">MySQLSession::idExists<\/a>"],[100,4,"<a href=\"MySQLSession.php.html#106\">MySQLSession::read<\/a>"],[100,3,"<a href=\"MySQLSession.php.html#144\">MySQLSession::write<\/a>"],[100,3,"<a href=\"RedisSession.php.html#33\">RedisSession::__construct<\/a>"],[100,1,"<a href=\"RedisSession.php.html#59\">RedisSession::destroy<\/a>"],[100,1,"<a href=\"RedisSession.php.html#74\">RedisSession::idExists<\/a>"],[100,2,"<a href=\"RedisSession.php.html#88\">RedisSession::read<\/a>"],[100,2,"<a href=\"RedisSession.php.html#107\">RedisSession::write<\/a>"],[100,5,"<a href=\"Token.php.html#38\">Token::__construct<\/a>"],[100,2,"<a href=\"Token.php.html#59\">Token::get<\/a>"],[100,1,"<a href=\"Token.php.html#77\">Token::sessionRequiredWarning<\/a>"],[100,4,"<a href=\"Token.php.html#91\">Token::create<\/a>"],[100,3,"<a href=\"Token.php.html#116\">Token::removeAllTokens<\/a>"],[100,2,"<a href=\"Token.php.html#138\">Token::getAndRemove<\/a>"],[100,4,"<a href=\"Token.php.html#159\">Token::remove<\/a>"],[100,1,"<a href=\"Token.php.html#180\">Token::getName<\/a>"],[100,1,"<a href=\"Token.php.html#189\">Token::getTokenKey<\/a>"]], 'Method Complexity'))
.datum(getComplexityData([[100,
1,
"<a href=\"AbstractSession.php.html#42\">AbstractSession::__construct<\/a>"],
[100,
4,
"<a href=\"AbstractSession.php.html#54\">AbstractSession::setID<\/a>"],
[100,
1,
"<a href=\"AbstractSession.php.html#81\">AbstractSession::idExists<\/a>"],
[100,
2,
"<a href=\"AbstractSession.php.html#89\">AbstractSession::destroySafely<\/a>"],
[100,
1,
"<a href=\"AbstractSession.php.html#105\">AbstractSession::getLastActiveSession<\/a>"],
[100,
2,
"<a href=\"AbstractSession.php.html#116\">AbstractSession::jsonSerialize<\/a>"],
[100,
1,
"<a href=\"AbstractSession.php.html#125\">AbstractSession::isActive<\/a>"],
[100,
2,
"<a href=\"AbstractSession.php.html#134\">AbstractSession::start<\/a>"],
[100,
3,
"<a href=\"AbstractSession.php.html#164\">AbstractSession::identityCheck<\/a>"],
[100,
1,
"<a href=\"AbstractSession.php.html#187\">AbstractSession::getFingerprint<\/a>"],
[100,
1,
"<a href=\"AbstractSession.php.html#197\">AbstractSession::handleIdentityCheckFailure<\/a>"],
[100,
1,
"<a href=\"AbstractSession.php.html#210\">AbstractSession::close<\/a>"],
[100,
1,
"<a href=\"AbstractSession.php.html#226\">AbstractSession::destroy<\/a>"],
[100,
1,
"<a href=\"AbstractSession.php.html#244\">AbstractSession::gc<\/a>"],
[100,
1,
"<a href=\"AbstractSession.php.html#260\">AbstractSession::open<\/a>"],
[100,
2,
"<a href=\"AbstractSession.php.html#273\">AbstractSession::offsetExists<\/a>"],
[100,
1,
"<a href=\"AbstractSession.php.html#291\">AbstractSession::sessionRequiredWarning<\/a>"],
[100,
1,
"<a href=\"AbstractSession.php.html#306\">AbstractSession::__get<\/a>"],
[100,
1,
"<a href=\"AbstractSession.php.html#319\">AbstractSession::__set<\/a>"],
[100,
2,
"<a href=\"AbstractSession.php.html#332\">AbstractSession::offsetGet<\/a>"],
[100,
2,
"<a href=\"AbstractSession.php.html#354\">AbstractSession::offsetSet<\/a>"],
[100,
2,
"<a href=\"AbstractSession.php.html#373\">AbstractSession::offsetUnset<\/a>"],
[100,
2,
"<a href=\"AbstractSession.php.html#387\">AbstractSession::__destruct<\/a>"],
[100,
3,
"<a href=\"AbstractSession.php.html#399\">AbstractSession::shouldBeSaved<\/a>"],
[100,
1,
"<a href=\"Config.php.html#104\">Config::__construct<\/a>"],
[100,
2,
"<a href=\"Config.php.html#113\">Config::setDefaultConfig<\/a>"],
[100,
1,
"<a href=\"MySQLNoEventSession.php.html#22\">MySQLNoEventSession::gc<\/a>"],
[100,
1,
"<a href=\"MySQLNoEventSession.php.html#35\">MySQLNoEventSession::start<\/a>"],
[100,
1,
"<a href=\"MySQLSession.php.html#30\">MySQLSession::__construct<\/a>"],
[100,
2,
"<a href=\"MySQLSession.php.html#47\">MySQLSession::destroy<\/a>"],
[100,
4,
"<a href=\"MySQLSession.php.html#73\">MySQLSession::read<\/a>"],
[100,
3,
"<a href=\"MySQLSession.php.html#111\">MySQLSession::write<\/a>"],
[100,
4,
"<a href=\"MySQLSession.php.html#139\">MySQLSession::idExists<\/a>"],
[100,
3,
"<a href=\"RedisSession.php.html#33\">RedisSession::__construct<\/a>"],
[100,
1,
"<a href=\"RedisSession.php.html#59\">RedisSession::destroy<\/a>"],
[100,
2,
"<a href=\"RedisSession.php.html#76\">RedisSession::read<\/a>"],
[100,
2,
"<a href=\"RedisSession.php.html#95\">RedisSession::write<\/a>"],
[100,
1,
"<a href=\"RedisSession.php.html#115\">RedisSession::idExists<\/a>"],
[100,
5,
"<a href=\"Token.php.html#40\">Token::__construct<\/a>"],
[100,
1,
"<a href=\"Token.php.html#60\">Token::jsonSerialize<\/a>"],
[100,
2,
"<a href=\"Token.php.html#71\">Token::get<\/a>"],
[100,
1,
"<a href=\"Token.php.html#89\">Token::sessionRequiredWarning<\/a>"],
[100,
4,
"<a href=\"Token.php.html#103\">Token::create<\/a>"],
[100,
3,
"<a href=\"Token.php.html#128\">Token::removeAllTokens<\/a>"],
[100,
2,
"<a href=\"Token.php.html#150\">Token::getAndRemove<\/a>"],
[100,
4,
"<a href=\"Token.php.html#171\">Token::remove<\/a>"],
[100,
1,
"<a href=\"Token.php.html#192\">Token::getName<\/a>"],
[100,
1,
"<a href=\"Token.php.html#201\">Token::getTokenKey<\/a>"]], 'Method Complexity'))
.transition()
.duration(500)
.call(chart);
Expand Down
Loading

0 comments on commit 58de88e

Please sign in to comment.