Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removes some build artefacts; adapts .gitignore

Some build artefacts were added by mistake and those are removed again
with this commit. Also the .gitignore was adapted in order to prevent
those files from being tracked again.
  • Loading branch information...
commit 67307fa9c7fc34b3081214a238fe03fcbfd1cf91 1 parent 2c9a6c6
@pfrischmuth pfrischmuth authored
Showing with 7 additions and 31,375 deletions.
  1. +7 −1 .gitignore
  2. +0 −128 build/coverage/Ac.dashboard.html
  3. +0 −196 build/coverage/Ac.html
  4. +0 −1,166 build/coverage/Ac_Default.php.html
  5. +0 −194 build/coverage/Ac_Exception.php.html
  6. +0 −324 build/coverage/Ac_None.php.html
  7. +0 −519 build/coverage/Ac_Test.php.html
  8. +0 −115 build/coverage/App.dashboard.html
  9. +0 −121 build/coverage/App.html
  10. +0 −3,694 build/coverage/App.php.html
  11. +0 −189 build/coverage/App_Exception.php.html
  12. +0 −130 build/coverage/Auth.dashboard.html
  13. +0 −171 build/coverage/Auth.html
  14. +0 −336 build/coverage/Auth.php.html
  15. +0 −128 build/coverage/Auth_Adapter.dashboard.html
  16. +0 −196 build/coverage/Auth_Adapter.html
  17. +0 −1,521 build/coverage/Auth_Adapter_FoafSsl.php.html
  18. +0 −262 build/coverage/Auth_Adapter_None.php.html
  19. +0 −581 build/coverage/Auth_Adapter_OpenId.php.html
  20. +0 −1,152 build/coverage/Auth_Adapter_Rdf.php.html
  21. +0 −124 build/coverage/Auth_Identity.dashboard.html
  22. +0 −146 build/coverage/Auth_Identity.html
  23. +0 −950 build/coverage/Auth_Identity.php.html
  24. +0 −194 build/coverage/Auth_Identity_Exception.php.html
  25. +0 −606 build/coverage/Auth_Identity_Recovery.php.html
  26. +0 −128 build/coverage/Cache.dashboard.html
  27. +0 −146 build/coverage/Cache.html
  28. +0 −127 build/coverage/Cache_Backend.dashboard.html
  29. +0 −171 build/coverage/Cache_Backend.html
  30. +0 −755 build/coverage/Cache_Backend_Database.php.html
  31. +0 −355 build/coverage/Cache_Backend_Null.php.html
  32. +0 −126 build/coverage/Cache_Backend_QueryCache.dashboard.html
  33. +0 −196 build/coverage/Cache_Backend_QueryCache.html
  34. +0 −257 build/coverage/Cache_Backend_QueryCache_Backend.php.html
  35. +0 −1,528 build/coverage/Cache_Backend_QueryCache_Database.php.html
  36. +0 −295 build/coverage/Cache_Backend_QueryCache_Interface.php.html
  37. +0 −554 build/coverage/Cache_Backend_QueryCache_Null.php.html
  38. +0 −126 build/coverage/Cache_Frontend.dashboard.html
  39. +0 −146 build/coverage/Cache_Frontend.html
  40. +0 −231 build/coverage/Cache_Frontend_ObjectCache.php.html
  41. +0 −966 build/coverage/Cache_Frontend_QueryCache.php.html
  42. +0 −122 build/coverage/Event.dashboard.html
  43. +0 −121 build/coverage/Event.html
  44. +0 −642 build/coverage/Event.php.html
  45. +0 −647 build/coverage/Event_Dispatcher.php.html
  46. +0 −216 build/coverage/Exception.php.html
  47. +0 −115 build/coverage/Namespaces.dashboard.html
  48. +0 −121 build/coverage/Namespaces.html
  49. +0 −1,064 build/coverage/Namespaces.php.html
  50. +0 −203 build/coverage/Namespaces_Exception.php.html
  51. +0 −118 build/coverage/Owl.dashboard.html
  52. +0 −196 build/coverage/Owl.html
  53. +0 −189 build/coverage/Owl_Class.php.html
  54. +0 −189 build/coverage/Owl_Instance.php.html
  55. +0 −314 build/coverage/Owl_Model.php.html
  56. +0 −191 build/coverage/Owl_Property.php.html
  57. +0 −124 build/coverage/Plugin.dashboard.html
  58. +0 −121 build/coverage/Plugin.html
  59. +0 −261 build/coverage/Plugin.php.html
  60. +0 −615 build/coverage/Plugin_Manager.php.html
  61. +0 −129 build/coverage/Rdf.dashboard.html
  62. +0 −196 build/coverage/Rdf.html
  63. +0 −537 build/coverage/Rdf_Literal.php.html
  64. +0 −1,040 build/coverage/Rdf_MemoryModel.php.html
  65. +0 −1,737 build/coverage/Rdf_Model.php.html
  66. +0 −1,053 build/coverage/Rdf_Resource.php.html
  67. +0 −116 build/coverage/Rdfs.dashboard.html
  68. +0 −221 build/coverage/Rdfs.html
  69. +0 −193 build/coverage/Rdfs_Class.php.html
  70. +0 −191 build/coverage/Rdfs_Instance.php.html
  71. +0 −228 build/coverage/Rdfs_Model.php.html
  72. +0 −191 build/coverage/Rdfs_Property.php.html
  73. +0 −192 build/coverage/Rdfs_Resource.php.html
  74. +0 −135 build/coverage/Sparql.dashboard.html
  75. +0 −396 build/coverage/Sparql.html
Sorry, we could not display the entire diff because it was too big.
View
8 .gitignore
@@ -8,4 +8,10 @@ config.ini
.DS_Store
.htaccess
nbproject
-Erfurt/libraries/Zend/
+Erfurt/libraries/Zend/
+cache.properties
+build/api
+build/code-browser
+build/coverage
+build/logs
+build/pdepend
View
128 build/coverage/Ac.dashboard.html
@@ -1,128 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>Ac</title>
- <link rel="stylesheet" type="text/css" href="style.css">
- <script src="jquery.min.js" type="text/javascript"></script>
- <script src="highcharts.js" type="text/javascript"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- var classCoverageDistribution = new Highcharts.Chart({
- chart: {
- renderTo: 'classCoverageDistribution',
- type: 'column'
- },
- title: {text: ''},
- legend: {enabled: false},
- credits: {enabled: false},
- tooltip: {enabled: false},
- xAxis: {
- labels: {style: {fontSize: '8px'}},
- categories: [
- '0%','0-10%','10-20%','20-30%','30-40%','40-50%','50-60%','60-70%','70-80%','80-90%','90-100%','100%'
- ]
- },
- yAxis: {
- title: '',
- labels: {style: {fontSize: '8px'}},
- },
- series: [{
- data: [4,0,0,0,0,0,0,0,0,0,0,0]
- }],
- });
-
- var classComplexity = new Highcharts.Chart({
- chart: {
- renderTo: 'classComplexity',
- type: 'scatter'
- },
- title: {text: ''},
- legend: {enabled: false},
- credits: {enabled: false},
- xAxis: {
- labels: {enabled: false},
- },
- yAxis: {
- title: '',
- labels: {enabled: false},
- },
- tooltip: {
- formatter: function() {
- return this.point.config[2];
- }
- },
- series: [{
- data: [[0,86,"<a href=\"Ac_Default.php.html#21\">Erfurt_Ac_Default<\/a>"],[0,0,"<a href=\"Ac_Exception.php.html#19\">Erfurt_Ac_Exception<\/a>"],[0,5,"<a href=\"Ac_None.php.html#17\">Erfurt_Ac_None<\/a>"],[0,16,"<a href=\"Ac_Test.php.html#20\">Erfurt_Ac_Test<\/a>"]],
- marker: {
- symbol: 'diamond'
- }
- }],
- });
- });
- </script>
- </head>
-
- <body>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr><td class="title">Ac</td></tr>
- <tr><td><div align="center"><p><a href="Ac.html">Back to Code Coverage report</a></p></div></td></tr>
- <tr><td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td></tr>
- </table>
-
- <br />
-
- <center>
- <table width="90%" cellpadding="2" cellspacing="1" border="0">
- <tr>
- <td valign="top">
- <h2>Class Coverage Distribution</h2>
- <div id="classCoverageDistribution"></div>
- </td>
-
- <td valign="top">
- <h2>Class Complexity</h2>
- <div id="classComplexity"></div>
- </td>
- </tr>
- <tr>
- <td valign="top">
- <h2>Top Project Risks</h2>
- <ul>
- <li><a href="Ac_Default.php.html#21">Erfurt_Ac_Default</a> (7482)</li>
- <li><a href="Ac_Test.php.html#20">Erfurt_Ac_Test</a> (272)</li>
- <li><a href="Ac_None.php.html#17">Erfurt_Ac_None</a> (30)</li>
-
- </ul>
- </td>
-
- <td valign="top">
- <h2>Least Tested Methods</h2>
- <ul>
- <li><a href="Ac_Test.php.html#41">Erfurt_Ac_Test::getAllowedActions</a> (0%)</li>
- <li><a href="Ac_Test.php.html#52">Erfurt_Ac_Test::getAllowedModels</a> (0%)</li>
- <li><a href="Ac_Test.php.html#31">Erfurt_Ac_Test::getActionConfig</a> (0%)</li>
- <li><a href="Ac_None.php.html#72">Erfurt_Ac_None::setUserModelRight</a> (0%)</li>
- <li><a href="Ac_None.php.html#42">Erfurt_Ac_None::isModelAllowed</a> (0%)</li>
- <li><a href="Ac_None.php.html#58">Erfurt_Ac_None::isActionAllowed</a> (0%)</li>
- <li><a href="Ac_Test.php.html#62">Erfurt_Ac_Test::getDeniedActions</a> (0%)</li>
- <li><a href="Ac_Test.php.html#73">Erfurt_Ac_Test::getDeniedModels</a> (0%)</li>
- <li><a href="Ac_Test.php.html#127">Erfurt_Ac_Test::isAnyModelAllowed</a> (0%)</li>
- <li><a href="Ac_Test.php.html#141">Erfurt_Ac_Test::setUserModelRight</a> (0%)</li>
-
- </ul>
- </td>
- </tr>
- </table>
- </center>
-
- <br />
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr><td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td></tr>
- <tr><td class="versionInfo">Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.1.2</a> using <a href="http://www.php.net/" target="_top">PHP 5.3.10</a> and PHPUnit 3.6.11 at Mon Jul 2 17:37:52 CEST 2012.</td></tr>
- </table>
-
- <br/>
- </body>
-</html>
View
196 build/coverage/Ac.html
@@ -1,196 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>Ac</title>
- <link rel="stylesheet" type="text/css" href="style.css">
- </head>
-
- <body>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr><td class="title">Ac</td></tr>
- <tr><td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td></tr>
-
- <tr>
- <td width="100%">
- <table cellpadding="1" border="0" width="100%">
- <tr>
- <td class="headerItem" width="20%">Current directory:</td>
- <td class="headerValue" width="80%"><a href="index.html">/Volumes/DataHD/Users/philipp/Projects/github/pfrischmuth/OntoWiki.git/libraries/Erfurt/library/Erfurt</a>/<a href="Ac.html">Ac</a> (<a href="Ac.dashboard.html">dashboard</a>)</td>
- </tr>
- <tr>
- <td class="legendItem" width="20%">Legend:</td>
- <td class="legendValue" width="80%">
- <span class="coverLegendLo">
- <b>Low:</b> 0% to 35%
- </span>
- <span class="coverLegendMed">
- <b>Medium:</b> 35% to 70%
- </span>
- <span class="coverLegendHi">
- <b>High:</b> 70% to 100%
- </span>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td>
- </tr>
- </table>
-
- <br />
-
- <center>
- <table width="90%" cellpadding="2" cellspacing="1" border="0">
- <tr>
- <td class="tableHead" width="30%">&nbsp;</td>
- <td class="tableHead" colspan="9">Coverage</td>
- </tr>
- <tr>
- <td class="tableHead">&nbsp;</td>
- <td class="tableHead" colspan="3">Lines</td>
- <td class="tableHead" colspan="3">Functions / Methods</td>
- <td class="tableHead" colspan="3">Classes</td>
- </tr>
- <tr>
- <td class="coverDirectory">Total</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 320</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 29</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 4</td>
- </tr>
-
- <tr>
- <td class="coverFile"><img alt="file" src="file.png"/> <a href="Ac_Default.php.html">Default.php</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 285</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 15</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
- <tr>
- <td class="coverFile"><img alt="file" src="file.png"/> <a href="Ac_Exception.php.html">Exception.php</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 2</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="100.00%">
- <div class="size snow" style="width:100%" title="100.00%"></div>
- </div>
- </td>
- <td class="coverPerNone">100.00%</td>
- <td class="coverNumNone">&nbsp;</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
- <tr>
- <td class="coverFile"><img alt="file" src="file.png"/> <a href="Ac_None.php.html">None.php</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 7</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 4</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
- <tr>
- <td class="coverFile"><img alt="file" src="file.png"/> <a href="Ac_Test.php.html">Test.php</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 26</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 10</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
-
- </table>
- </center>
-
- <br />
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr><td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td></tr>
- <tr><td class="versionInfo">Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.1.2</a> using <a href="http://www.php.net/" target="_top">PHP 5.3.10</a> and PHPUnit 3.6.11 at Mon Jul 2 17:37:52 CEST 2012.</td></tr>
- </table>
-
- <br/>
- </body>
-</html>
View
1,166 build/coverage/Ac_Default.php.html
0 additions, 1,166 deletions not shown
View
194 build/coverage/Ac_Exception.php.html
@@ -1,194 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>Exception.php</title>
- <link rel="stylesheet" type="text/css" href="style.css">
- <link rel="stylesheet" type="text/css" href="container.css">
- <script type="text/javascript" src="yahoo-dom-event.js"></script>
- <script type="text/javascript" src="container-min.js"></script>
- </head>
-
- <body class="yui-skin-sam">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr><td class="title">Exception.php</td></tr>
- <tr><td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td></tr>
-
- <tr>
- <td width="100%">
- <table cellpadding="1" border="0" width="100%">
- <tr>
- <td class="headerItem" width="20%">Current file:</td>
- <td class="headerValue" width="80%"><a href="index.html">/Volumes/DataHD/Users/philipp/Projects/github/pfrischmuth/OntoWiki.git/libraries/Erfurt/library/Erfurt</a>/<a href="Ac.html">Ac</a>/<a href="Ac_Exception.php.html">Exception.php</a></td>
- </tr>
- <tr>
- <td class="legendItem" width="20%">Legend:</td>
- <td class="legendValue" width="80%">
- <span class="legendCov">executed</span>
- <span class="legendNoCov">not executed</span>
- <span class="legendDeadCode">dead code</span>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td>
- </tr>
- </table>
-
- <br />
-
- <center>
- <table width="90%" cellpadding="2" cellspacing="1" border="0">
- <tr>
- <td class="tableHead" width="30%">&nbsp;</td>
- <td class="tableHead" colspan="10">Coverage</td>
- </tr>
- <tr>
- <td class="tableHead">&nbsp;</td>
- <td class="tableHead" colspan="3">Classes</td>
- <td class="tableHead" colspan="4">Functions / Methods</td>
- <td class="tableHead" colspan="3">Lines</td>
- </tr>
- <tr>
- <td class="coverDirectory">Total</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="100.00%">
- <div class="size snow" style="width:100%" title="100.00%"></div>
- </div>
- </td>
- <td class="coverPerNone">100.00%</td>
- <td class="coverNumNone">&nbsp;</td>
- <td class="crap"><acronym title="Change Risk Anti-Patterns (CRAP) Index">CRAP</acronym></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 2</td>
- </tr>
-
- <tr>
- <td class="coverDirectory">Erfurt_Ac_Exception</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="100.00%">
- <div class="size chameleon" style="width:100%" title="100.00%"></div>
- </div>
- </td>
- <td class="coverPerHi">100.00%</td>
- <td class="coverNumHi">1 / 1</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="100.00%">
- <div class="size snow" style="width:100%" title="100.00%"></div>
- </div>
- </td>
- <td class="coverPerNone">100.00%</td>
- <td class="coverNumNone">&nbsp;</td>
- <td class="crap">0</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
-
- </table>
- </center>
-
- <br />
-
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td><br /></td>
- </tr>
- <tr>
- <td>
-<pre class="source">
-<span class="lineNum" id="container1"><a name="1"></a><a href="#1" id="line1"> 1</a> </span> : &lt;?php
-<span class="lineNum" id="container2"><a name="2"></a><a href="#2" id="line2"> 2</a> </span> : /**
-<span class="lineNum" id="container3"><a name="3"></a><a href="#3" id="line3"> 3</a> </span> : * This file is part of the {@link http://aksw.org/Projects/Erfurt Erfurt} project.
-<span class="lineNum" id="container4"><a name="4"></a><a href="#4" id="line4"> 4</a> </span> : *
-<span class="lineNum" id="container5"><a name="5"></a><a href="#5" id="line5"> 5</a> </span> : * @copyright Copyright (c) 2012, {@link http://aksw.org AKSW}
-<span class="lineNum" id="container6"><a name="6"></a><a href="#6" id="line6"> 6</a> </span> : * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
-<span class="lineNum" id="container7"><a name="7"></a><a href="#7" id="line7"> 7</a> </span> : */
-<span class="lineNum" id="container8"><a name="8"></a><a href="#8" id="line8"> 8</a> </span> :
-<span class="lineNum" id="container9"><a name="9"></a><a href="#9" id="line9"> 9</a> </span><span class="lineNoCov"> 0 : require_once 'Erfurt/Exception.php'; </span>
-<span class="lineNum" id="container10"><a name="10"></a><a href="#10" id="line10"> 10</a> </span> :
-<span class="lineNum" id="container11"><a name="11"></a><a href="#11" id="line11"> 11</a> </span> : /**
-<span class="lineNum" id="container12"><a name="12"></a><a href="#12" id="line12"> 12</a> </span> : * Exception class for the access control package.
-<span class="lineNum" id="container13"><a name="13"></a><a href="#13" id="line13"> 13</a> </span> : *
-<span class="lineNum" id="container14"><a name="14"></a><a href="#14" id="line14"> 14</a> </span> : * @copyright Copyright (c) 2012, {@link http://aksw.org AKSW}
-<span class="lineNum" id="container15"><a name="15"></a><a href="#15" id="line15"> 15</a> </span> : * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
-<span class="lineNum" id="container16"><a name="16"></a><a href="#16" id="line16"> 16</a> </span> : * @package Erfurt_Ac
-<span class="lineNum" id="container17"><a name="17"></a><a href="#17" id="line17"> 17</a> </span> : * @author Philipp Frischmuth &lt;pfrischmuth@googlemail.com&gt;
-<span class="lineNum" id="container18"><a name="18"></a><a href="#18" id="line18"> 18</a> </span> : */
-<span class="lineNum" id="container19"><a name="19"></a><a href="#19" id="line19"> 19</a> </span> : class Erfurt_Ac_Exception extends Erfurt_Exception
-<span class="lineNum" id="container20"><a name="20"></a><a href="#20" id="line20"> 20</a> </span><span class="lineNoCov"> 0 : { </span>
-<span class="lineNum" id="container21"><a name="21"></a><a href="#21" id="line21"> 21</a> </span> :
-<span class="lineNum" id="container22"><a name="22"></a><a href="#22" id="line22"> 22</a> </span> : }
-
-</pre>
- </td>
- </tr>
- </table>
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr><td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td></tr>
- <tr><td class="versionInfo">Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.1.2</a> using <a href="http://www.php.net/" target="_top">PHP 5.3.10</a> and PHPUnit 3.6.11 at Mon Jul 2 17:37:52 CEST 2012.</td></tr>
- </table>
-
- <br />
-
- <script type="text/javascript">
- //<![CDATA[
- $E = YAHOO.util.Event;
- YAHOO.namespace("phpunit.container");
- YAHOO.phpunit.container.panelsData = {
- "dummy": ""
- };
-
- YAHOO.phpunit.container.prepare = function (e) {
- var elemId = $E.getTarget(e).id;
- var line = elemId.substr(4);
- var panelId = "panel" + line;
- var containerId = "container" + line;
-
- var panelData = YAHOO.phpunit.container.panelsData[panelId];
-
- var panel = new YAHOO.widget.Panel(panelId, { visible:false, draggable:false, close:true } );
- panel.setHeader(panelData["header"]);
- panel.setBody(panelData["body"]);
- panel.setFooter(panelData["footer"]);
- panel.render(containerId);
-
- $E.addListener(elemId, "click", panel.show, panel, true);
- $E.removeListener(elemId, "mouseover");
- };
-
- function init() {
- var ypc = YAHOO.phpunit.container;
- for (var panelId in ypc.panelsData) {
- var elemId = "line" + panelId.substr(5);
- $E.addListener(elemId, "mouseover", ypc.prepare);
- }
- }
-
- $E.addListener(window, "load", init);
- //]]>
- </script>
- </body>
-</html>
View
324 build/coverage/Ac_None.php.html
@@ -1,324 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>None.php</title>
- <link rel="stylesheet" type="text/css" href="style.css">
- <link rel="stylesheet" type="text/css" href="container.css">
- <script type="text/javascript" src="yahoo-dom-event.js"></script>
- <script type="text/javascript" src="container-min.js"></script>
- </head>
-
- <body class="yui-skin-sam">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr><td class="title">None.php</td></tr>
- <tr><td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td></tr>
-
- <tr>
- <td width="100%">
- <table cellpadding="1" border="0" width="100%">
- <tr>
- <td class="headerItem" width="20%">Current file:</td>
- <td class="headerValue" width="80%"><a href="index.html">/Volumes/DataHD/Users/philipp/Projects/github/pfrischmuth/OntoWiki.git/libraries/Erfurt/library/Erfurt</a>/<a href="Ac.html">Ac</a>/<a href="Ac_None.php.html">None.php</a></td>
- </tr>
- <tr>
- <td class="legendItem" width="20%">Legend:</td>
- <td class="legendValue" width="80%">
- <span class="legendCov">executed</span>
- <span class="legendNoCov">not executed</span>
- <span class="legendDeadCode">dead code</span>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td>
- </tr>
- </table>
-
- <br />
-
- <center>
- <table width="90%" cellpadding="2" cellspacing="1" border="0">
- <tr>
- <td class="tableHead" width="30%">&nbsp;</td>
- <td class="tableHead" colspan="10">Coverage</td>
- </tr>
- <tr>
- <td class="tableHead">&nbsp;</td>
- <td class="tableHead" colspan="3">Classes</td>
- <td class="tableHead" colspan="4">Functions / Methods</td>
- <td class="tableHead" colspan="3">Lines</td>
- </tr>
- <tr>
- <td class="coverDirectory">Total</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 4</td>
- <td class="crap"><acronym title="Change Risk Anti-Patterns (CRAP) Index">CRAP</acronym></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 7</td>
- </tr>
-
- <tr>
- <td class="coverDirectory">Erfurt_Ac_None</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 4</td>
- <td class="crap">30</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 7</td>
- </tr>
-
- <tr>
- <td class="coverFile" colspan="4">&nbsp;<a href="#29">getActionConfig($actionSpec)</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="crap">2</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
- <tr>
- <td class="coverFile" colspan="4">&nbsp;<a href="#42">isModelAllowed($type, $modelUri)</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="crap">6</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 4</td>
- </tr>
-
- <tr>
- <td class="coverFile" colspan="4">&nbsp;<a href="#58">isActionAllowed($action)</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="crap">2</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
- <tr>
- <td class="coverFile" colspan="4">&nbsp;<a href="#72">setUserModelRight($modelUri, $type = 'view', $perm = 'grant')</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="crap">2</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
-
- </table>
- </center>
-
- <br />
-
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td><br /></td>
- </tr>
- <tr>
- <td>
-<pre class="source">
-<span class="lineNum" id="container1"><a name="1"></a><a href="#1" id="line1"> 1</a> </span> : &lt;?php
-<span class="lineNum" id="container2"><a name="2"></a><a href="#2" id="line2"> 2</a> </span> : /**
-<span class="lineNum" id="container3"><a name="3"></a><a href="#3" id="line3"> 3</a> </span> : * This file is part of the {@link http://aksw.org/Projects/Erfurt Erfurt} project.
-<span class="lineNum" id="container4"><a name="4"></a><a href="#4" id="line4"> 4</a> </span> : *
-<span class="lineNum" id="container5"><a name="5"></a><a href="#5" id="line5"> 5</a> </span> : * @copyright Copyright (c) 2012, {@link http://aksw.org AKSW}
-<span class="lineNum" id="container6"><a name="6"></a><a href="#6" id="line6"> 6</a> </span> : * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
-<span class="lineNum" id="container7"><a name="7"></a><a href="#7" id="line7"> 7</a> </span> : */
-<span class="lineNum" id="container8"><a name="8"></a><a href="#8" id="line8"> 8</a> </span> :
-<span class="lineNum" id="container9"><a name="9"></a><a href="#9" id="line9"> 9</a> </span> : /**
-<span class="lineNum" id="container10"><a name="10"></a><a href="#10" id="line10"> 10</a> </span> : * A class providing support for disabled access control.
-<span class="lineNum" id="container11"><a name="11"></a><a href="#11" id="line11"> 11</a> </span> : *
-<span class="lineNum" id="container12"><a name="12"></a><a href="#12" id="line12"> 12</a> </span> : * @copyright Copyright (c) 2012, {@link http://aksw.org AKSW}
-<span class="lineNum" id="container13"><a name="13"></a><a href="#13" id="line13"> 13</a> </span> : * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
-<span class="lineNum" id="container14"><a name="14"></a><a href="#14" id="line14"> 14</a> </span> : * @package Erfurt_Ac
-<span class="lineNum" id="container15"><a name="15"></a><a href="#15" id="line15"> 15</a> </span> : * @author Philipp Frischmuth &lt;pfrischmuth@googlemail.com&gt;
-<span class="lineNum" id="container16"><a name="16"></a><a href="#16" id="line16"> 16</a> </span> : */
-<span class="lineNum" id="container17"><a name="17"></a><a href="#17" id="line17"> 17</a> </span> : class Erfurt_Ac_None
-<span class="lineNum" id="container18"><a name="18"></a><a href="#18" id="line18"> 18</a> </span> : {
-<span class="lineNum" id="container19"><a name="19"></a><a href="#19" id="line19"> 19</a> </span> : // ------------------------------------------------------------------------
-<span class="lineNum" id="container20"><a name="20"></a><a href="#20" id="line20"> 20</a> </span> : // --- Public methods -----------------------------------------------------
-<span class="lineNum" id="container21"><a name="21"></a><a href="#21" id="line21"> 21</a> </span> : // ------------------------------------------------------------------------
-<span class="lineNum" id="container22"><a name="22"></a><a href="#22" id="line22"> 22</a> </span> :
-<span class="lineNum" id="container23"><a name="23"></a><a href="#23" id="line23"> 23</a> </span> : /**
-<span class="lineNum" id="container24"><a name="24"></a><a href="#24" id="line24"> 24</a> </span> : * Delivers the action configuration for a given action
-<span class="lineNum" id="container25"><a name="25"></a><a href="#25" id="line25"> 25</a> </span> : *
-<span class="lineNum" id="container26"><a name="26"></a><a href="#26" id="line26"> 26</a> </span> : * @param string $actionSpec The URI of the action.
-<span class="lineNum" id="container27"><a name="27"></a><a href="#27" id="line27"> 27</a> </span> : * @return array Returns an array with the action spec.
-<span class="lineNum" id="container28"><a name="28"></a><a href="#28" id="line28"> 28</a> </span> : */
-<span class="lineNum" id="container29"><a name="29"></a><a href="#29" id="line29"> 29</a> </span> : public function getActionConfig($actionSpec)
-<span class="lineNum" id="container30"><a name="30"></a><a href="#30" id="line30"> 30</a> </span> : {
-<span class="lineNum" id="container31"><a name="31"></a><a href="#31" id="line31"> 31</a> </span><span class="lineNoCov"> 0 : return array(); </span>
-<span class="lineNum" id="container32"><a name="32"></a><a href="#32" id="line32"> 32</a> </span> : }
-<span class="lineNum" id="container33"><a name="33"></a><a href="#33" id="line33"> 33</a> </span> :
-<span class="lineNum" id="container34"><a name="34"></a><a href="#34" id="line34"> 34</a> </span> : /**
-<span class="lineNum" id="container35"><a name="35"></a><a href="#35" id="line35"> 35</a> </span> : * Checks whether the given action is allowed for the current user on the
-<span class="lineNum" id="container36"><a name="36"></a><a href="#36" id="line36"> 36</a> </span> : * given model uri.
-<span class="lineNum" id="container37"><a name="37"></a><a href="#37" id="line37"> 37</a> </span> : *
-<span class="lineNum" id="container38"><a name="38"></a><a href="#38" id="line38"> 38</a> </span> : * @param string $type Name of the access-type (view, edit).
-<span class="lineNum" id="container39"><a name="39"></a><a href="#39" id="line39"> 39</a> </span> : * @param string $modelUri The uri of the graph to check.
-<span class="lineNum" id="container40"><a name="40"></a><a href="#40" id="line40"> 40</a> </span> : * @return boolean Returns whether allowed or denied.
-<span class="lineNum" id="container41"><a name="41"></a><a href="#41" id="line41"> 41</a> </span> : */
-<span class="lineNum" id="container42"><a name="42"></a><a href="#42" id="line42"> 42</a> </span> : public function isModelAllowed($type, $modelUri)
-<span class="lineNum" id="container43"><a name="43"></a><a href="#43" id="line43"> 43</a> </span> : {
-<span class="lineNum" id="container44"><a name="44"></a><a href="#44" id="line44"> 44</a> </span><span class="lineNoCov"> 0 : $type = strtolower($type); </span>
-<span class="lineNum" id="container45"><a name="45"></a><a href="#45" id="line45"> 45</a> </span><span class="lineNoCov"> 0 : if ($type !== 'view') { </span>
-<span class="lineNum" id="container46"><a name="46"></a><a href="#46" id="line46"> 46</a> </span><span class="lineNoCov"> 0 : return false; </span>
-<span class="lineNum" id="container47"><a name="47"></a><a href="#47" id="line47"> 47</a> </span> : }
-<span class="lineNum" id="container48"><a name="48"></a><a href="#48" id="line48"> 48</a> </span> :
-<span class="lineNum" id="container49"><a name="49"></a><a href="#49" id="line49"> 49</a> </span><span class="lineNoCov"> 0 : return true; </span>
-<span class="lineNum" id="container50"><a name="50"></a><a href="#50" id="line50"> 50</a> </span> : }
-<span class="lineNum" id="container51"><a name="51"></a><a href="#51" id="line51"> 51</a> </span> :
-<span class="lineNum" id="container52"><a name="52"></a><a href="#52" id="line52"> 52</a> </span> : /**
-<span class="lineNum" id="container53"><a name="53"></a><a href="#53" id="line53"> 53</a> </span> : * Checks whether the given action is allowed for the current user.
-<span class="lineNum" id="container54"><a name="54"></a><a href="#54" id="line54"> 54</a> </span> : *
-<span class="lineNum" id="container55"><a name="55"></a><a href="#55" id="line55"> 55</a> </span> : * @param string $action The name of the action.
-<span class="lineNum" id="container56"><a name="56"></a><a href="#56" id="line56"> 56</a> </span> : * @return boolean Returns whether action is allowed or not.
-<span class="lineNum" id="container57"><a name="57"></a><a href="#57" id="line57"> 57</a> </span> : */
-<span class="lineNum" id="container58"><a name="58"></a><a href="#58" id="line58"> 58</a> </span> : public function isActionAllowed($action)
-<span class="lineNum" id="container59"><a name="59"></a><a href="#59" id="line59"> 59</a> </span> : {
-<span class="lineNum" id="container60"><a name="60"></a><a href="#60" id="line60"> 60</a> </span><span class="lineNoCov"> 0 : return true; </span>
-<span class="lineNum" id="container61"><a name="61"></a><a href="#61" id="line61"> 61</a> </span> : }
-<span class="lineNum" id="container62"><a name="62"></a><a href="#62" id="line62"> 62</a> </span> :
-<span class="lineNum" id="container63"><a name="63"></a><a href="#63" id="line63"> 63</a> </span> : /**
-<span class="lineNum" id="container64"><a name="64"></a><a href="#64" id="line64"> 64</a> </span> : * Adds a right to a model for the current user.
-<span class="lineNum" id="container65"><a name="65"></a><a href="#65" id="line65"> 65</a> </span> : *
-<span class="lineNum" id="container66"><a name="66"></a><a href="#66" id="line66"> 66</a> </span> : * @param string $modelUri The URI of the model.
-<span class="lineNum" id="container67"><a name="67"></a><a href="#67" id="line67"> 67</a> </span> : * @param string $type Type of access: view or edit.
-<span class="lineNum" id="container68"><a name="68"></a><a href="#68" id="line68"> 68</a> </span> : * @param string $perm Type of permission: grant or deny.
-<span class="lineNum" id="container69"><a name="69"></a><a href="#69" id="line69"> 69</a> </span> : * @throws Erfurt_Exception Throws an exception if wrong type was submitted or
-<span class="lineNum" id="container70"><a name="70"></a><a href="#70" id="line70"> 70</a> </span> : * wrong perm type was submitted.
-<span class="lineNum" id="container71"><a name="71"></a><a href="#71" id="line71"> 71</a> </span> : */
-<span class="lineNum" id="container72"><a name="72"></a><a href="#72" id="line72"> 72</a> </span> : public function setUserModelRight($modelUri, $type = 'view', $perm = 'grant')
-<span class="lineNum" id="container73"><a name="73"></a><a href="#73" id="line73"> 73</a> </span> : {
-<span class="lineNum" id="container74"><a name="74"></a><a href="#74" id="line74"> 74</a> </span> : // Nothing to do here...
-<span class="lineNum" id="container75"><a name="75"></a><a href="#75" id="line75"> 75</a> </span><span class="lineNoCov"> 0 : } </span>
-<span class="lineNum" id="container76"><a name="76"></a><a href="#76" id="line76"> 76</a> </span> : }
-
-</pre>
- </td>
- </tr>
- </table>
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr><td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td></tr>
- <tr><td class="versionInfo">Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.1.2</a> using <a href="http://www.php.net/" target="_top">PHP 5.3.10</a> and PHPUnit 3.6.11 at Mon Jul 2 17:37:52 CEST 2012.</td></tr>
- </table>
-
- <br />
-
- <script type="text/javascript">
- //<![CDATA[
- $E = YAHOO.util.Event;
- YAHOO.namespace("phpunit.container");
- YAHOO.phpunit.container.panelsData = {
- "dummy": ""
- };
-
- YAHOO.phpunit.container.prepare = function (e) {
- var elemId = $E.getTarget(e).id;
- var line = elemId.substr(4);
- var panelId = "panel" + line;
- var containerId = "container" + line;
-
- var panelData = YAHOO.phpunit.container.panelsData[panelId];
-
- var panel = new YAHOO.widget.Panel(panelId, { visible:false, draggable:false, close:true } );
- panel.setHeader(panelData["header"]);
- panel.setBody(panelData["body"]);
- panel.setFooter(panelData["footer"]);
- panel.render(containerId);
-
- $E.addListener(elemId, "click", panel.show, panel, true);
- $E.removeListener(elemId, "mouseover");
- };
-
- function init() {
- var ypc = YAHOO.phpunit.container;
- for (var panelId in ypc.panelsData) {
- var elemId = "line" + panelId.substr(5);
- $E.addListener(elemId, "mouseover", ypc.prepare);
- }
- }
-
- $E.addListener(window, "load", init);
- //]]>
- </script>
- </body>
-</html>
View
519 build/coverage/Ac_Test.php.html
@@ -1,519 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>Test.php</title>
- <link rel="stylesheet" type="text/css" href="style.css">
- <link rel="stylesheet" type="text/css" href="container.css">
- <script type="text/javascript" src="yahoo-dom-event.js"></script>
- <script type="text/javascript" src="container-min.js"></script>
- </head>
-
- <body class="yui-skin-sam">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr><td class="title">Test.php</td></tr>
- <tr><td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td></tr>
-
- <tr>
- <td width="100%">
- <table cellpadding="1" border="0" width="100%">
- <tr>
- <td class="headerItem" width="20%">Current file:</td>
- <td class="headerValue" width="80%"><a href="index.html">/Volumes/DataHD/Users/philipp/Projects/github/pfrischmuth/OntoWiki.git/libraries/Erfurt/library/Erfurt</a>/<a href="Ac.html">Ac</a>/<a href="Ac_Test.php.html">Test.php</a></td>
- </tr>
- <tr>
- <td class="legendItem" width="20%">Legend:</td>
- <td class="legendValue" width="80%">
- <span class="legendCov">executed</span>
- <span class="legendNoCov">not executed</span>
- <span class="legendDeadCode">dead code</span>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td>
- </tr>
- </table>
-
- <br />
-
- <center>
- <table width="90%" cellpadding="2" cellspacing="1" border="0">
- <tr>
- <td class="tableHead" width="30%">&nbsp;</td>
- <td class="tableHead" colspan="10">Coverage</td>
- </tr>
- <tr>
- <td class="tableHead">&nbsp;</td>
- <td class="tableHead" colspan="3">Classes</td>
- <td class="tableHead" colspan="4">Functions / Methods</td>
- <td class="tableHead" colspan="3">Lines</td>
- </tr>
- <tr>
- <td class="coverDirectory">Total</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 10</td>
- <td class="crap"><acronym title="Change Risk Anti-Patterns (CRAP) Index">CRAP</acronym></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 26</td>
- </tr>
-
- <tr>
- <td class="coverDirectory">Erfurt_Ac_Test</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 10</td>
- <td class="crap">272</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 26</td>
- </tr>
-
- <tr>
- <td class="coverFile" colspan="4">&nbsp;<a href="#31">getActionConfig($actionSpec)</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="crap">2</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
- <tr>
- <td class="coverFile" colspan="4">&nbsp;<a href="#41">getAllowedActions()</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="crap">2</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
- <tr>
- <td class="coverFile" colspan="4">&nbsp;<a href="#52">getAllowedModels($type = 'view')</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="crap">2</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
- <tr>
- <td class="coverFile" colspan="4">&nbsp;<a href="#62">getDeniedActions()</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="crap">2</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
- <tr>
- <td class="coverFile" colspan="4">&nbsp;<a href="#73">getDeniedModels($type = 'view')</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="crap">2</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
- <tr>
- <td class="coverFile" colspan="4">&nbsp;<a href="#86">isModelAllowed($type, $modelUri)</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="crap">12</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 6</td>
- </tr>
-
- <tr>
- <td class="coverFile" colspan="4">&nbsp;<a href="#105">isActionAllowed($action)</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="crap">2</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
- <tr>
- <td class="coverFile" colspan="4">&nbsp;<a href="#115">isAnyActionAllowed()</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="crap">2</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
- <tr>
- <td class="coverFile" colspan="4">&nbsp;<a href="#127">isAnyModelAllowed($type = 'view')</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="crap">2</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- </tr>
-
- <tr>
- <td class="coverFile" colspan="4">&nbsp;<a href="#141">setUserModelRight($modelUri, $type = 'view', $perm = 'grant')</a></td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 1</td>
- <td class="crap">30</td>
- <td class="coverBar">
- <div class="coverBarOutline" title="0.00%">
- <div class="size scarlet_red" style="width:0%" title="0.00%"></div>
- </div>
- </td>
- <td class="coverPerLo">0.00%</td>
- <td class="coverNumLo">0 / 12</td>
- </tr>
-
-
- </table>
- </center>
-
- <br />
-
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td><br /></td>
- </tr>
- <tr>
- <td>
-<pre class="source">
-<span class="lineNum" id="container1"><a name="1"></a><a href="#1" id="line1"> 1</a> </span> : &lt;?php
-<span class="lineNum" id="container2"><a name="2"></a><a href="#2" id="line2"> 2</a> </span> : /**
-<span class="lineNum" id="container3"><a name="3"></a><a href="#3" id="line3"> 3</a> </span> : * This file is part of the {@link http://aksw.org/Projects/Erfurt Erfurt} project.
-<span class="lineNum" id="container4"><a name="4"></a><a href="#4" id="line4"> 4</a> </span> : *
-<span class="lineNum" id="container5"><a name="5"></a><a href="#5" id="line5"> 5</a> </span> : * @copyright Copyright (c) 2012, {@link http://aksw.org AKSW}
-<span class="lineNum" id="container6"><a name="6"></a><a href="#6" id="line6"> 6</a> </span> : * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
-<span class="lineNum" id="container7"><a name="7"></a><a href="#7" id="line7"> 7</a> </span> : */
-<span class="lineNum" id="container8"><a name="8"></a><a href="#8" id="line8"> 8</a> </span> :
-<span class="lineNum" id="container9"><a name="9"></a><a href="#9" id="line9"> 9</a> </span> : /**
-<span class="lineNum" id="container10"><a name="10"></a><a href="#10" id="line10"> 10</a> </span> : * A class providing support for access control.
-<span class="lineNum" id="container11"><a name="11"></a><a href="#11" id="line11"> 11</a> </span> : *
-<span class="lineNum" id="container12"><a name="12"></a><a href="#12" id="line12"> 12</a> </span> : * This class provides support for model, action (and statement) based access control.
-<span class="lineNum" id="container13"><a name="13"></a><a href="#13" id="line13"> 13</a> </span> : * The access control informations are stored in a triple store.
-<span class="lineNum" id="container14"><a name="14"></a><a href="#14" id="line14"> 14</a> </span> : *
-<span class="lineNum" id="container15"><a name="15"></a><a href="#15" id="line15"> 15</a> </span> : * @copyright Copyright (c) 2012, {@link http://aksw.org AKSW}
-<span class="lineNum" id="container16"><a name="16"></a><a href="#16" id="line16"> 16</a> </span> : * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
-<span class="lineNum" id="container17"><a name="17"></a><a href="#17" id="line17"> 17</a> </span> : * @package Erfurt_Ac
-<span class="lineNum" id="container18"><a name="18"></a><a href="#18" id="line18"> 18</a> </span> : * @author Philipp Frischmuth &lt;pfrischmuth@googlemail.com&gt;
-<span class="lineNum" id="container19"><a name="19"></a><a href="#19" id="line19"> 19</a> </span> : */
-<span class="lineNum" id="container20"><a name="20"></a><a href="#20" id="line20"> 20</a> </span> : class Erfurt_Ac_Test
-<span class="lineNum" id="container21"><a name="21"></a><a href="#21" id="line21"> 21</a> </span> : {
-<span class="lineNum" id="container22"><a name="22"></a><a href="#22" id="line22"> 22</a> </span> : protected $_allowedModelsEdit = array();
-<span class="lineNum" id="container23"><a name="23"></a><a href="#23" id="line23"> 23</a> </span> : protected $_allowedModelsView = array();
-<span class="lineNum" id="container24"><a name="24"></a><a href="#24" id="line24"> 24</a> </span> :
-<span class="lineNum" id="container25"><a name="25"></a><a href="#25" id="line25"> 25</a> </span> : /**
-<span class="lineNum" id="container26"><a name="26"></a><a href="#26" id="line26"> 26</a> </span> : * Delivers the action configuration for a given action
-<span class="lineNum" id="container27"><a name="27"></a><a href="#27" id="line27"> 27</a> </span> : *
-<span class="lineNum" id="container28"><a name="28"></a><a href="#28" id="line28"> 28</a> </span> : * @param string $actionSpec The URI of the action.
-<span class="lineNum" id="container29"><a name="29"></a><a href="#29" id="line29"> 29</a> </span> : * @return array Returns an array with the action spec.
-<span class="lineNum" id="container30"><a name="30"></a><a href="#30" id="line30"> 30</a> </span> : */
-<span class="lineNum" id="container31"><a name="31"></a><a href="#31" id="line31"> 31</a> </span> : public function getActionConfig($actionSpec)
-<span class="lineNum" id="container32"><a name="32"></a><a href="#32" id="line32"> 32</a> </span> : {
-<span class="lineNum" id="container33"><a name="33"></a><a href="#33" id="line33"> 33</a> </span><span class="lineNoCov"> 0 : return array(); </span>
-<span class="lineNum" id="container34"><a name="34"></a><a href="#34" id="line34"> 34</a> </span> : }
-<span class="lineNum" id="container35"><a name="35"></a><a href="#35" id="line35"> 35</a> </span> :
-<span class="lineNum" id="container36"><a name="36"></a><a href="#36" id="line36"> 36</a> </span> : /**
-<span class="lineNum" id="container37"><a name="37"></a><a href="#37" id="line37"> 37</a> </span> : * Delievers a list of allowed actions for the current user.
-<span class="lineNum" id="container38"><a name="38"></a><a href="#38" id="line38"> 38</a> </span> : *
-<span class="lineNum" id="container39"><a name="39"></a><a href="#39" id="line39"> 39</a> </span> : * @return array Returns a list of allowed actions.
-<span class="lineNum" id="container40"><a name="40"></a><a href="#40" id="line40"> 40</a> </span> : */
-<span class="lineNum" id="container41"><a name="41"></a><a href="#41" id="line41"> 41</a> </span> : public function getAllowedActions()
-<span class="lineNum" id="container42"><a name="42"></a><a href="#42" id="line42"> 42</a> </span> : {
-<span class="lineNum" id="container43"><a name="43"></a><a href="#43" id="line43"> 43</a> </span><span class="lineNoCov"> 0 : return array(); </span>
-<span class="lineNum" id="container44"><a name="44"></a><a href="#44" id="line44"> 44</a> </span> : }
-<span class="lineNum" id="container45"><a name="45"></a><a href="#45" id="line45"> 45</a> </span> :
-<span class="lineNum" id="container46"><a name="46"></a><a href="#46" id="line46"> 46</a> </span> : /**
-<span class="lineNum" id="container47"><a name="47"></a><a href="#47" id="line47"> 47</a> </span> : * Delievers a list of allowed models.
-<span class="lineNum" id="container48"><a name="48"></a><a href="#48" id="line48"> 48</a> </span> : *
-<span class="lineNum" id="container49"><a name="49"></a><a href="#49" id="line49"> 49</a> </span> : * @param string $type Name of the access type.
-<span class="lineNum" id="container50"><a name="50"></a><a href="#50" id="line50"> 50</a> </span> : * @return array Returns a list of allowed models.
-<span class="lineNum" id="container51"><a name="51"></a><a href="#51" id="line51"> 51</a> </span> : */
-<span class="lineNum" id="container52"><a name="52"></a><a href="#52" id="line52"> 52</a> </span> : public function getAllowedModels($type = 'view')
-<span class="lineNum" id="container53"><a name="53"></a><a href="#53" id="line53"> 53</a> </span> : {
-<span class="lineNum" id="container54"><a name="54"></a><a href="#54" id="line54"> 54</a> </span><span class="lineNoCov"> 0 : return array(); </span>
-<span class="lineNum" id="container55"><a name="55"></a><a href="#55" id="line55"> 55</a> </span> : }
-<span class="lineNum" id="container56"><a name="56"></a><a href="#56" id="line56"> 56</a> </span> :
-<span class="lineNum" id="container57"><a name="57"></a><a href="#57" id="line57"> 57</a> </span> : /**
-<span class="lineNum" id="container58"><a name="58"></a><a href="#58" id="line58"> 58</a> </span> : * Delievers a list of denied actions for the current user.
-<span class="lineNum" id="container59"><a name="59"></a><a href="#59" id="line59"> 59</a> </span> : *
-<span class="lineNum" id="container60"><a name="60"></a><a href="#60" id="line60"> 60</a> </span> : * @return array Returns a list of denied actions.
-<span class="lineNum" id="container61"><a name="61"></a><a href="#61" id="line61"> 61</a> </span> : */
-<span class="lineNum" id="container62"><a name="62"></a><a href="#62" id="line62"> 62</a> </span> : public function getDeniedActions()
-<span class="lineNum" id="container63"><a name="63"></a><a href="#63" id="line63"> 63</a> </span> : {
-<span class="lineNum" id="container64"><a name="64"></a><a href="#64" id="line64"> 64</a> </span><span class="lineNoCov"> 0 : return array(); </span>
-<span class="lineNum" id="container65"><a name="65"></a><a href="#65" id="line65"> 65</a> </span> : }
-<span class="lineNum" id="container66"><a name="66"></a><a href="#66" id="line66"> 66</a> </span> :
-<span class="lineNum" id="container67"><a name="67"></a><a href="#67" id="line67"> 67</a> </span> : /**
-<span class="lineNum" id="container68"><a name="68"></a><a href="#68" id="line68"> 68</a> </span> : * Delievers a list of denied models.
-<span class="lineNum" id="container69"><a name="69"></a><a href="#69" id="line69"> 69</a> </span> : *
-<span class="lineNum" id="container70"><a name="70"></a><a href="#70" id="line70"> 70</a> </span> : * @param string $type Name of the access type.
-<span class="lineNum" id="container71"><a name="71"></a><a href="#71" id="line71"> 71</a> </span> : * @return array Returns a list of denied models.
-<span class="lineNum" id="container72"><a name="72"></a><a href="#72" id="line72"> 72</a> </span> : */
-<span class="lineNum" id="container73"><a name="73"></a><a href="#73" id="line73"> 73</a> </span> : public function getDeniedModels($type = 'view')
-<span class="lineNum" id="container74"><a name="74"></a><a href="#74" id="line74"> 74</a> </span> : {
-<span class="lineNum" id="container75"><a name="75"></a><a href="#75" id="line75"> 75</a> </span><span class="lineNoCov"> 0 : return array(); </span>
-<span class="lineNum" id="container76"><a name="76"></a><a href="#76" id="line76"> 76</a> </span> : }
-<span class="lineNum" id="container77"><a name="77"></a><a href="#77" id="line77"> 77</a> </span> :
-<span class="lineNum" id="container78"><a name="78"></a><a href="#78" id="line78"> 78</a> </span> : /**
-<span class="lineNum" id="container79"><a name="79"></a><a href="#79" id="line79"> 79</a> </span> : * Checks whether the given action is allowed for the current user on the
-<span class="lineNum" id="container80"><a name="80"></a><a href="#80" id="line80"> 80</a> </span> : * given model uri.
-<span class="lineNum" id="container81"><a name="81"></a><a href="#81" id="line81"> 81</a> </span> : *
-<span class="lineNum" id="container82"><a name="82"></a><a href="#82" id="line82"> 82</a> </span> : * @param string $type Name of the access-type (view, edit).
-<span class="lineNum" id="container83"><a name="83"></a><a href="#83" id="line83"> 83</a> </span> : * @param string $modelUri The uri of the graph to check.
-<span class="lineNum" id="container84"><a name="84"></a><a href="#84" id="line84"> 84</a> </span> : * @return boolean Returns whether allowed or denied.
-<span class="lineNum" id="container85"><a name="85"></a><a href="#85" id="line85"> 85</a> </span> : */
-<span class="lineNum" id="container86"><a name="86"></a><a href="#86" id="line86"> 86</a> </span> : public function isModelAllowed($type, $modelUri)
-<span class="lineNum" id="container87"><a name="87"></a><a href="#87" id="line87"> 87</a> </span> : {
-<span class="lineNum" id="container88"><a name="88"></a><a href="#88" id="line88"> 88</a> </span><span class="lineNoCov"> 0 : $modelUri = (string)$modelUri; </span>
-<span class="lineNum" id="container89"><a name="89"></a><a href="#89" id="line89"> 89</a> </span> :
-<span class="lineNum" id="container90"><a name="90"></a><a href="#90" id="line90"> 90</a> </span><span class="lineNoCov"> 0 : if ($type === 'edit') { </span>
-<span class="lineNum" id="container91"><a name="91"></a><a href="#91" id="line91"> 91</a> </span><span class="lineNoCov"> 0 : return isset($this-&gt;_allowedModelsEdit[$modelUri]); </span>
-<span class="lineNum" id="container92"><a name="92"></a><a href="#92" id="line92"> 92</a> </span><span class="lineNoCov"> 0 : } else if ($type === 'view') { </span>
-<span class="lineNum" id="container93"><a name="93"></a><a href="#93" id="line93"> 93</a> </span><span class="lineNoCov"> 0 : return isset($this-&gt;_allowedModelsView[$modelUri]); </span>
-<span class="lineNum" id="container94"><a name="94"></a><a href="#94" id="line94"> 94</a> </span> : }
-<span class="lineNum" id="container95"><a name="95"></a><a href="#95" id="line95"> 95</a> </span> :
-<span class="lineNum" id="container96"><a name="96"></a><a href="#96" id="line96"> 96</a> </span><span class="lineNoCov"> 0 : return false; </span>
-<span class="lineNum" id="container97"><a name="97"></a><a href="#97" id="line97"> 97</a> </span> : }
-<span class="lineNum" id="container98"><a name="98"></a><a href="#98" id="line98"> 98</a> </span> :
-<span class="lineNum" id="container99"><a name="99"></a><a href="#99" id="line99"> 99</a> </span> : /**
-<span class="lineNum" id="container100"><a name="100"></a><a href="#100" id="line100"> 100</a> </span> : * Checks whether the given action is allowed for the current user.
-<span class="lineNum" id="container101"><a name="101"></a><a href="#101" id="line101"> 101</a> </span> : *
-<span class="lineNum" id="container102"><a name="102"></a><a href="#102" id="line102"> 102</a> </span> : * @param string $action The name of the action.
-<span class="lineNum" id="container103"><a name="103"></a><a href="#103" id="line103"> 103</a> </span> : * @return boolean Returns whether action is allowed or not.
-<span class="lineNum" id="container104"><a name="104"></a><a href="#104" id="line104"> 104</a> </span> : */
-<span class="lineNum" id="container105"><a name="105"></a><a href="#105" id="line105"> 105</a> </span> : public function isActionAllowed($action)
-<span class="lineNum" id="container106"><a name="106"></a><a href="#106" id="line106"> 106</a> </span> : {
-<span class="lineNum" id="container107"><a name="107"></a><a href="#107" id="line107"> 107</a> </span><span class="lineNoCov"> 0 : return true; </span>
-<span class="lineNum" id="container108"><a name="108"></a><a href="#108" id="line108"> 108</a> </span> : }
-<span class="lineNum" id="container109"><a name="109"></a><a href="#109" id="line109"> 109</a> </span> :
-<span class="lineNum" id="container110"><a name="110"></a><a href="#110" id="line110"> 110</a> </span> : /**
-<span class="lineNum" id="container111"><a name="111"></a><a href="#111" id="line111"> 111</a> </span> : * Checks whether any action is allowed for the current user.
-<span class="lineNum" id="container112"><a name="112"></a><a href="#112" id="line112"> 112</a> </span> : *
-<span class="lineNum" id="container113"><a name="113"></a><a href="#113" id="line113"> 113</a> </span> : * @return boolean Returns whether an action is allowed or not.
-<span class="lineNum" id="container114"><a name="114"></a><a href="#114" id="line114"> 114</a> </span> : */
-<span class="lineNum" id="container115"><a name="115"></a><a href="#115" id="line115"> 115</a> </span> : public function isAnyActionAllowed()
-<span class="lineNum" id="container116"><a name="116"></a><a href="#116" id="line116"> 116</a> </span> : {
-<span class="lineNum" id="container117"><a name="117"></a><a href="#117" id="line117"> 117</a> </span><span class="lineNoCov"> 0 : return true; </span>
-<span class="lineNum" id="container118"><a name="118"></a><a href="#118" id="line118"> 118</a> </span> : }
-<span class="lineNum" id="container119"><a name="119"></a><a href="#119" id="line119"> 119</a> </span> :
-<span class="lineNum" id="container120"><a name="120"></a><a href="#120" id="line120"> 120</a> </span> : /**
-<span class="lineNum" id="container121"><a name="121"></a><a href="#121" id="line121"> 121</a> </span> : * Checks whether the current user has the given permission
-<span class="lineNum" id="container122"><a name="122"></a><a href="#122" id="line122"> 122</a> </span> : * for any models.
-<span class="lineNum" id="container123"><a name="123"></a><a href="#123" id="line123"> 123</a> </span> : *
-<span class="lineNum" id="container124"><a name="124"></a><a href="#124" id="line124"> 124</a> </span> : * @param string $type (optional) Contains view or edit.
-<span class="lineNum" id="container125"><a name="125"></a><a href="#125" id="line125"> 125</a> </span> : * @return boolean Returns whether allowed or denied.
-<span class="lineNum" id="container126"><a name="126"></a><a href="#126" id="line126"> 126</a> </span> : */
-<span class="lineNum" id="container127"><a name="127"></a><a href="#127" id="line127"> 127</a> </span> : public function isAnyModelAllowed($type = 'view')
-<span class="lineNum" id="container128"><a name="128"></a><a href="#128" id="line128"> 128</a> </span> : {
-<span class="lineNum" id="container129"><a name="129"></a><a href="#129" id="line129"> 129</a> </span><span class="lineNoCov"> 0 : return true; </span>
-<span class="lineNum" id="container130"><a name="130"></a><a href="#130" id="line130"> 130</a> </span> : }
-<span class="lineNum" id="container131"><a name="131"></a><a href="#131" id="line131"> 131</a> </span> :
-<span class="lineNum" id="container132"><a name="132"></a><a href="#132" id="line132"> 132</a> </span> : /**
-<span class="lineNum" id="container133"><a name="133"></a><a href="#133" id="line133"> 133</a> </span> : * Adds a right to a model for the current user.
-<span class="lineNum" id="container134"><a name="134"></a><a href="#134" id="line134"> 134</a> </span> : *
-<span class="lineNum" id="container135"><a name="135"></a><a href="#135" id="line135"> 135</a> </span> : * @param string $modelUri The URI of the model.
-<span class="lineNum" id="container136"><a name="136"></a><a href="#136" id="line136"> 136</a> </span> : * @param string $type Type of access: view or edit.
-<span class="lineNum" id="container137"><a name="137"></a><a href="#137" id="line137"> 137</a> </span> : * @param string $perm Type of permission: grant or deny.
-<span class="lineNum" id="container138"><a name="138"></a><a href="#138" id="line138"> 138</a> </span> : * @throws Erfurt_Exception Throws an exception if wrong type was submitted or
-<span class="lineNum" id="container139"><a name="139"></a><a href="#139" id="line139"> 139</a> </span> : * wrong perm type was submitted.
-<span class="lineNum" id="container140"><a name="140"></a><a href="#140" id="line140"> 140</a> </span> : */
-<span class="lineNum" id="container141"><a name="141"></a><a href="#141" id="line141"> 141</a> </span> : public function setUserModelRight($modelUri, $type = 'view', $perm = 'grant')
-<span class="lineNum" id="container142"><a name="142"></a><a href="#142" id="line142"> 142</a> </span> : {
-<span class="lineNum" id="container143"><a name="143"></a><a href="#143" id="line143"> 143</a> </span><span class="lineNoCov"> 0 : if ($type === 'view') { </span>
-<span class="lineNum" id="container144"><a name="144"></a><a href="#144" id="line144"> 144</a> </span><span class="lineNoCov"> 0 : if ($perm === 'grant') { </span>
-<span class="lineNum" id="container145"><a name="145"></a><a href="#145" id="line145"> 145</a> </span><span class="lineNoCov"> 0 : $this-&gt;_allowedModelsView[$modelUri] = true; </span>
-<span class="lineNum" id="container146"><a name="146"></a><a href="#146" id="line146"> 146</a> </span><span class="lineNoCov"> 0 : } else { </span>
-<span class="lineNum" id="container147"><a name="147"></a><a href="#147" id="line147"> 147</a> </span><span class="lineNoCov"> 0 : unset($this-&gt;_allowedModelsView[$modelUri]); </span>
-<span class="lineNum" id="container148"><a name="148"></a><a href="#148" id="line148"> 148</a> </span> : }
-<span class="lineNum" id="container149"><a name="149"></a><a href="#149" id="line149"> 149</a> </span><span class="lineNoCov"> 0 : } else if ($type === 'edit') { </span>
-<span class="lineNum" id="container150"><a name="150"></a><a href="#150" id="line150"> 150</a> </span><span class="lineNoCov"> 0 : if ($perm === 'grant') { </span>
-<span class="lineNum" id="container151"><a name="151"></a><a href="#151" id="line151"> 151</a> </span><span class="lineNoCov"> 0 : $this-&gt;_allowedModelsEdit[$modelUri] = true; </span>
-<span class="lineNum" id="container152"><a name="152"></a><a href="#152" id="line152"> 152</a> </span><span class="lineNoCov"> 0 : } else { </span>
-<span class="lineNum" id="container153"><a name="153"></a><a href="#153" id="line153"> 153</a> </span><span class="lineNoCov"> 0 : unset($this-&gt;_allowedModelsEdit[$modelUri]); </span>
-<span class="lineNum" id="container154"><a name="154"></a><a href="#154" id="line154"> 154</a> </span> : }
-<span class="lineNum" id="container155"><a name="155"></a><a href="#155" id="line155"> 155</a> </span><span class="lineNoCov"> 0 : } </span>
-<span class="lineNum" id="container156"><a name="156"></a><a href="#156" id="line156"> 156</a> </span><span class="lineNoCov"> 0 : } </span>
-<span class="lineNum" id="container157"><a name="157"></a><a href="#157" id="line157"> 157</a> </span> : }
-
-</pre>
- </td>
- </tr>
- </table>
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr><td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td></tr>
- <tr><td class="versionInfo">Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.1.2</a> using <a href="http://www.php.net/" target="_top">PHP 5.3.10</a> and PHPUnit 3.6.11 at Mon Jul 2 17:37:52 CEST 2012.</td></tr>
- </table>
-
- <br />
-
- <script type="text/javascript">
- //<![CDATA[
- $E = YAHOO.util.Event;
- YAHOO.namespace("phpunit.container");
- YAHOO.phpunit.container.panelsData = {
- "dummy": ""
- };
-
- YAHOO.phpunit.container.prepare = function (e) {
- var elemId = $E.getTarget(e).id;
- var line = elemId.substr(4);
- var panelId = "panel" + line;
- var containerId = "container" + line;
-
- var panelData = YAHOO.phpunit.container.panelsData[panelId];
-
- var panel = new YAHOO.widget.Panel(panelId, { visible:false, draggable:false, close:true } );
- panel.setHeader(panelData["header"]);
- panel.setBody(panelData["body"]);
- panel.setFooter(panelData["footer"]);
- panel.render(containerId);
-
- $E.addListener(elemId, "click", panel.show, panel, true);
- $E.removeListener(elemId, "mouseover");
- };
-
- function init() {
- var ypc = YAHOO.phpunit.container;
- for (var panelId in ypc.panelsData) {
- var elemId = "line" + panelId.substr(5);
- $E.addListener(elemId, "mouseover", ypc.prepare);
- }
- }
-
- $E.addListener(window, "load", init);
- //]]>
- </script>
- </body>
-</html>
View
115 build/coverage/App.dashboard.html
@@ -1,115 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>App</title>
- <link rel="stylesheet" type="text/css" href="style.css">
- <script src="jquery.min.js" type="text/javascript"></script>
- <script src="highcharts.js" type="text/javascript"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- var classCoverageDistribution = new Highcharts.Chart({
- chart: {
- renderTo: 'classCoverageDistribution',
- type: 'column'
- },
- title: {text: ''},
- legend: {enabled: false},
- credits: {enabled: false},
- tooltip: {enabled: false},
- xAxis: {
- labels: {style: {fontSize: '8px'}},
- categories: [
- '0%','0-10%','10-20%','20-30%','30-40%','40-50%','50-60%','60-70%','70-80%','80-90%','90-100%','100%'
- ]
- },
- yAxis: {
- title: '',
- labels: {style: {fontSize: '8px'}},
- },
- series: [{
- data: [1,0,0,0,0,0,0,0,0,0,0,0]
- }],
- });
-
- var classComplexity = new Highcharts.Chart({
- chart: {
- renderTo: 'classComplexity',