Add: Added Coverage Screenshots And htlmReport.

This commit is contained in:
GabrieleRadice
2026-06-19 21:50:38 +02:00
parent 6aca188aa3
commit d78b8bbd93
316 changed files with 86329 additions and 0 deletions
@@ -0,0 +1,300 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > it.polimi.ingsw.gc14.Model.Orders</title>
<style type="text/css">
@import "../css/coverage.css";
@import "../css/idea.min.css";
</style>
<script type="text/javascript" src="../js/highlight.min.js"></script>
<script type="text/javascript" src="../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../index.html">all classes</a>
<span class="separator">|</span>
it.polimi.ingsw.gc14.Model.Orders</div>
<h1>Coverage Summary for Package: it.polimi.ingsw.gc14.Model.Orders</h1>
<table class="coverageStats">
<tr>
<th class="name">Package</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Branch, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">it.polimi.ingsw.gc14.Model.Orders</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(17/17)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.2%
</span>
<span class="absValue">
(67/76)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.5%
</span>
<span class="absValue">
(111/115)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<table class="coverageStats">
<tr>
<th class="name sortedAsc
">
<a href="index_SORT_BY_NAME_DESC.html">Class</a> </th>
<th class="coverageStat
">
<a href="index_SORT_BY_CLASS.html">Class, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_METHOD.html">Method, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_BLOCK.html">Branch, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_LINE.html">Line, %</a>
</th>
</tr>
<tr>
<td class="name"><a href="sources/source-1.html">Order2</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
83.3%
</span>
<span class="absValue">
(15/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
95.8%
</span>
<span class="absValue">
(23/24)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-2.html">Order3</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.9%
</span>
<span class="absValue">
(16/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96%
</span>
<span class="absValue">
(24/25)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-3.html">Order4</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.6%
</span>
<span class="absValue">
(28/29)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-4.html">Order5</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.7%
</span>
<span class="absValue">
(29/30)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-5.html">OrderPlayer</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat"/>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(7/7)
</span>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>
@@ -0,0 +1,300 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > it.polimi.ingsw.gc14.Model.Orders</title>
<style type="text/css">
@import "../css/coverage.css";
@import "../css/idea.min.css";
</style>
<script type="text/javascript" src="../js/highlight.min.js"></script>
<script type="text/javascript" src="../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../index_SORT_BY_BLOCK.html">all classes</a>
<span class="separator">|</span>
it.polimi.ingsw.gc14.Model.Orders</div>
<h1>Coverage Summary for Package: it.polimi.ingsw.gc14.Model.Orders</h1>
<table class="coverageStats">
<tr>
<th class="name">Package</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Branch, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">it.polimi.ingsw.gc14.Model.Orders</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(17/17)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.2%
</span>
<span class="absValue">
(67/76)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.5%
</span>
<span class="absValue">
(111/115)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<table class="coverageStats">
<tr>
<th class="name
">
<a href="index.html">Class</a> </th>
<th class="coverageStat
">
<a href="index_SORT_BY_CLASS.html">Class, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_METHOD.html">Method, %</a>
</th>
<th class="coverageStat sortedAsc
">
<a href="index_SORT_BY_BLOCK_DESC.html">Branch, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_LINE.html">Line, %</a>
</th>
</tr>
<tr>
<td class="name"><a href="sources/source-5.html">OrderPlayer</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat"/>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(7/7)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-1.html">Order2</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
83.3%
</span>
<span class="absValue">
(15/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
95.8%
</span>
<span class="absValue">
(23/24)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-2.html">Order3</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.9%
</span>
<span class="absValue">
(16/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96%
</span>
<span class="absValue">
(24/25)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-3.html">Order4</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.6%
</span>
<span class="absValue">
(28/29)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-4.html">Order5</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.7%
</span>
<span class="absValue">
(29/30)
</span>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>
@@ -0,0 +1,300 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > it.polimi.ingsw.gc14.Model.Orders</title>
<style type="text/css">
@import "../css/coverage.css";
@import "../css/idea.min.css";
</style>
<script type="text/javascript" src="../js/highlight.min.js"></script>
<script type="text/javascript" src="../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../index_SORT_BY_BLOCK_DESC.html">all classes</a>
<span class="separator">|</span>
it.polimi.ingsw.gc14.Model.Orders</div>
<h1>Coverage Summary for Package: it.polimi.ingsw.gc14.Model.Orders</h1>
<table class="coverageStats">
<tr>
<th class="name">Package</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Branch, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">it.polimi.ingsw.gc14.Model.Orders</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(17/17)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.2%
</span>
<span class="absValue">
(67/76)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.5%
</span>
<span class="absValue">
(111/115)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<table class="coverageStats">
<tr>
<th class="name
">
<a href="index.html">Class</a> </th>
<th class="coverageStat
">
<a href="index_SORT_BY_CLASS.html">Class, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_METHOD.html">Method, %</a>
</th>
<th class="coverageStat sortedDesc
">
<a href="index_SORT_BY_BLOCK.html">Branch, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_LINE.html">Line, %</a>
</th>
</tr>
<tr>
<td class="name"><a href="sources/source-4.html">Order5</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.7%
</span>
<span class="absValue">
(29/30)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-3.html">Order4</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.6%
</span>
<span class="absValue">
(28/29)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-2.html">Order3</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.9%
</span>
<span class="absValue">
(16/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96%
</span>
<span class="absValue">
(24/25)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-1.html">Order2</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
83.3%
</span>
<span class="absValue">
(15/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
95.8%
</span>
<span class="absValue">
(23/24)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-5.html">OrderPlayer</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat"/>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(7/7)
</span>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>
@@ -0,0 +1,300 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > it.polimi.ingsw.gc14.Model.Orders</title>
<style type="text/css">
@import "../css/coverage.css";
@import "../css/idea.min.css";
</style>
<script type="text/javascript" src="../js/highlight.min.js"></script>
<script type="text/javascript" src="../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../index_SORT_BY_CLASS.html">all classes</a>
<span class="separator">|</span>
it.polimi.ingsw.gc14.Model.Orders</div>
<h1>Coverage Summary for Package: it.polimi.ingsw.gc14.Model.Orders</h1>
<table class="coverageStats">
<tr>
<th class="name">Package</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Branch, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">it.polimi.ingsw.gc14.Model.Orders</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(17/17)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.2%
</span>
<span class="absValue">
(67/76)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.5%
</span>
<span class="absValue">
(111/115)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<table class="coverageStats">
<tr>
<th class="name
">
<a href="index.html">Class</a> </th>
<th class="coverageStat sortedAsc
">
<a href="index_SORT_BY_CLASS_DESC.html">Class, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_METHOD.html">Method, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_BLOCK.html">Branch, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_LINE.html">Line, %</a>
</th>
</tr>
<tr>
<td class="name"><a href="sources/source-1.html">Order2</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
83.3%
</span>
<span class="absValue">
(15/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
95.8%
</span>
<span class="absValue">
(23/24)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-2.html">Order3</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.9%
</span>
<span class="absValue">
(16/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96%
</span>
<span class="absValue">
(24/25)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-3.html">Order4</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.6%
</span>
<span class="absValue">
(28/29)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-4.html">Order5</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.7%
</span>
<span class="absValue">
(29/30)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-5.html">OrderPlayer</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat"/>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(7/7)
</span>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>
@@ -0,0 +1,300 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > it.polimi.ingsw.gc14.Model.Orders</title>
<style type="text/css">
@import "../css/coverage.css";
@import "../css/idea.min.css";
</style>
<script type="text/javascript" src="../js/highlight.min.js"></script>
<script type="text/javascript" src="../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../index_SORT_BY_CLASS_DESC.html">all classes</a>
<span class="separator">|</span>
it.polimi.ingsw.gc14.Model.Orders</div>
<h1>Coverage Summary for Package: it.polimi.ingsw.gc14.Model.Orders</h1>
<table class="coverageStats">
<tr>
<th class="name">Package</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Branch, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">it.polimi.ingsw.gc14.Model.Orders</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(17/17)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.2%
</span>
<span class="absValue">
(67/76)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.5%
</span>
<span class="absValue">
(111/115)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<table class="coverageStats">
<tr>
<th class="name
">
<a href="index.html">Class</a> </th>
<th class="coverageStat sortedDesc
">
<a href="index_SORT_BY_CLASS.html">Class, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_METHOD.html">Method, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_BLOCK.html">Branch, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_LINE.html">Line, %</a>
</th>
</tr>
<tr>
<td class="name"><a href="sources/source-5.html">OrderPlayer</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat"/>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(7/7)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-4.html">Order5</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.7%
</span>
<span class="absValue">
(29/30)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-3.html">Order4</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.6%
</span>
<span class="absValue">
(28/29)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-2.html">Order3</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.9%
</span>
<span class="absValue">
(16/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96%
</span>
<span class="absValue">
(24/25)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-1.html">Order2</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
83.3%
</span>
<span class="absValue">
(15/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
95.8%
</span>
<span class="absValue">
(23/24)
</span>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>
@@ -0,0 +1,300 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > it.polimi.ingsw.gc14.Model.Orders</title>
<style type="text/css">
@import "../css/coverage.css";
@import "../css/idea.min.css";
</style>
<script type="text/javascript" src="../js/highlight.min.js"></script>
<script type="text/javascript" src="../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../index_SORT_BY_LINE.html">all classes</a>
<span class="separator">|</span>
it.polimi.ingsw.gc14.Model.Orders</div>
<h1>Coverage Summary for Package: it.polimi.ingsw.gc14.Model.Orders</h1>
<table class="coverageStats">
<tr>
<th class="name">Package</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Branch, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">it.polimi.ingsw.gc14.Model.Orders</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(17/17)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.2%
</span>
<span class="absValue">
(67/76)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.5%
</span>
<span class="absValue">
(111/115)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<table class="coverageStats">
<tr>
<th class="name
">
<a href="index.html">Class</a> </th>
<th class="coverageStat
">
<a href="index_SORT_BY_CLASS.html">Class, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_METHOD.html">Method, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_BLOCK.html">Branch, %</a>
</th>
<th class="coverageStat sortedAsc
">
<a href="index_SORT_BY_LINE_DESC.html">Line, %</a>
</th>
</tr>
<tr>
<td class="name"><a href="sources/source-1.html">Order2</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
83.3%
</span>
<span class="absValue">
(15/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
95.8%
</span>
<span class="absValue">
(23/24)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-2.html">Order3</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.9%
</span>
<span class="absValue">
(16/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96%
</span>
<span class="absValue">
(24/25)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-3.html">Order4</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.6%
</span>
<span class="absValue">
(28/29)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-4.html">Order5</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.7%
</span>
<span class="absValue">
(29/30)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-5.html">OrderPlayer</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat"/>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(7/7)
</span>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>
@@ -0,0 +1,300 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > it.polimi.ingsw.gc14.Model.Orders</title>
<style type="text/css">
@import "../css/coverage.css";
@import "../css/idea.min.css";
</style>
<script type="text/javascript" src="../js/highlight.min.js"></script>
<script type="text/javascript" src="../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../index_SORT_BY_LINE_DESC.html">all classes</a>
<span class="separator">|</span>
it.polimi.ingsw.gc14.Model.Orders</div>
<h1>Coverage Summary for Package: it.polimi.ingsw.gc14.Model.Orders</h1>
<table class="coverageStats">
<tr>
<th class="name">Package</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Branch, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">it.polimi.ingsw.gc14.Model.Orders</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(17/17)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.2%
</span>
<span class="absValue">
(67/76)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.5%
</span>
<span class="absValue">
(111/115)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<table class="coverageStats">
<tr>
<th class="name
">
<a href="index.html">Class</a> </th>
<th class="coverageStat
">
<a href="index_SORT_BY_CLASS.html">Class, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_METHOD.html">Method, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_BLOCK.html">Branch, %</a>
</th>
<th class="coverageStat sortedDesc
">
<a href="index_SORT_BY_LINE.html">Line, %</a>
</th>
</tr>
<tr>
<td class="name"><a href="sources/source-5.html">OrderPlayer</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat"/>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(7/7)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-4.html">Order5</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.7%
</span>
<span class="absValue">
(29/30)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-3.html">Order4</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.6%
</span>
<span class="absValue">
(28/29)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-2.html">Order3</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.9%
</span>
<span class="absValue">
(16/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96%
</span>
<span class="absValue">
(24/25)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-1.html">Order2</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
83.3%
</span>
<span class="absValue">
(15/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
95.8%
</span>
<span class="absValue">
(23/24)
</span>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>
@@ -0,0 +1,300 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > it.polimi.ingsw.gc14.Model.Orders</title>
<style type="text/css">
@import "../css/coverage.css";
@import "../css/idea.min.css";
</style>
<script type="text/javascript" src="../js/highlight.min.js"></script>
<script type="text/javascript" src="../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../index_SORT_BY_METHOD.html">all classes</a>
<span class="separator">|</span>
it.polimi.ingsw.gc14.Model.Orders</div>
<h1>Coverage Summary for Package: it.polimi.ingsw.gc14.Model.Orders</h1>
<table class="coverageStats">
<tr>
<th class="name">Package</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Branch, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">it.polimi.ingsw.gc14.Model.Orders</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(17/17)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.2%
</span>
<span class="absValue">
(67/76)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.5%
</span>
<span class="absValue">
(111/115)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<table class="coverageStats">
<tr>
<th class="name
">
<a href="index.html">Class</a> </th>
<th class="coverageStat
">
<a href="index_SORT_BY_CLASS.html">Class, %</a>
</th>
<th class="coverageStat sortedAsc
">
<a href="index_SORT_BY_METHOD_DESC.html">Method, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_BLOCK.html">Branch, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_LINE.html">Line, %</a>
</th>
</tr>
<tr>
<td class="name"><a href="sources/source-1.html">Order2</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
83.3%
</span>
<span class="absValue">
(15/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
95.8%
</span>
<span class="absValue">
(23/24)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-2.html">Order3</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.9%
</span>
<span class="absValue">
(16/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96%
</span>
<span class="absValue">
(24/25)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-3.html">Order4</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.6%
</span>
<span class="absValue">
(28/29)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-4.html">Order5</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.7%
</span>
<span class="absValue">
(29/30)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-5.html">OrderPlayer</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat"/>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(7/7)
</span>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>
@@ -0,0 +1,300 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > it.polimi.ingsw.gc14.Model.Orders</title>
<style type="text/css">
@import "../css/coverage.css";
@import "../css/idea.min.css";
</style>
<script type="text/javascript" src="../js/highlight.min.js"></script>
<script type="text/javascript" src="../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../index_SORT_BY_METHOD_DESC.html">all classes</a>
<span class="separator">|</span>
it.polimi.ingsw.gc14.Model.Orders</div>
<h1>Coverage Summary for Package: it.polimi.ingsw.gc14.Model.Orders</h1>
<table class="coverageStats">
<tr>
<th class="name">Package</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Branch, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">it.polimi.ingsw.gc14.Model.Orders</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(17/17)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.2%
</span>
<span class="absValue">
(67/76)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.5%
</span>
<span class="absValue">
(111/115)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<table class="coverageStats">
<tr>
<th class="name
">
<a href="index.html">Class</a> </th>
<th class="coverageStat
">
<a href="index_SORT_BY_CLASS.html">Class, %</a>
</th>
<th class="coverageStat sortedDesc
">
<a href="index_SORT_BY_METHOD.html">Method, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_BLOCK.html">Branch, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_LINE.html">Line, %</a>
</th>
</tr>
<tr>
<td class="name"><a href="sources/source-5.html">OrderPlayer</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat"/>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(7/7)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-4.html">Order5</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.7%
</span>
<span class="absValue">
(29/30)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-3.html">Order4</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.6%
</span>
<span class="absValue">
(28/29)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-2.html">Order3</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.9%
</span>
<span class="absValue">
(16/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96%
</span>
<span class="absValue">
(24/25)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-1.html">Order2</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
83.3%
</span>
<span class="absValue">
(15/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
95.8%
</span>
<span class="absValue">
(23/24)
</span>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>
@@ -0,0 +1,300 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > it.polimi.ingsw.gc14.Model.Orders</title>
<style type="text/css">
@import "../css/coverage.css";
@import "../css/idea.min.css";
</style>
<script type="text/javascript" src="../js/highlight.min.js"></script>
<script type="text/javascript" src="../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../index_SORT_BY_NAME_DESC.html">all classes</a>
<span class="separator">|</span>
it.polimi.ingsw.gc14.Model.Orders</div>
<h1>Coverage Summary for Package: it.polimi.ingsw.gc14.Model.Orders</h1>
<table class="coverageStats">
<tr>
<th class="name">Package</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Branch, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">it.polimi.ingsw.gc14.Model.Orders</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(17/17)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.2%
</span>
<span class="absValue">
(67/76)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.5%
</span>
<span class="absValue">
(111/115)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<table class="coverageStats">
<tr>
<th class="name sortedDesc
">
<a href="index.html">Class</a> </th>
<th class="coverageStat
">
<a href="index_SORT_BY_CLASS.html">Class, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_METHOD.html">Method, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_BLOCK.html">Branch, %</a>
</th>
<th class="coverageStat
">
<a href="index_SORT_BY_LINE.html">Line, %</a>
</th>
</tr>
<tr>
<td class="name"><a href="sources/source-5.html">OrderPlayer</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat"/>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(7/7)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-4.html">Order5</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.7%
</span>
<span class="absValue">
(29/30)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-3.html">Order4</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.6%
</span>
<span class="absValue">
(28/29)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-2.html">Order3</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.9%
</span>
<span class="absValue">
(16/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96%
</span>
<span class="absValue">
(24/25)
</span>
</td>
</tr>
<tr>
<td class="name"><a href="sources/source-1.html">Order2</a></td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
83.3%
</span>
<span class="absValue">
(15/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
95.8%
</span>
<span class="absValue">
(23/24)
</span>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>
@@ -0,0 +1,206 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > Order2</title>
<style type="text/css">
@import "../../css/coverage.css";
@import "../../css/idea.min.css";
</style>
<script type="text/javascript" src="../../js/highlight.min.js"></script>
<script type="text/javascript" src="../../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../../index.html">all classes</a>
<span class="separator">|</span>
<a href="../index.html">it.polimi.ingsw.gc14.Model.Orders</a>
</div>
<h1>Coverage Summary for Class: Order2 (it.polimi.ingsw.gc14.Model.Orders)</h1>
<table class="coverageStats">
<tr>
<th class="name">Class</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Branch, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">Order2</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
83.3%
</span>
<span class="absValue">
(15/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
95.8%
</span>
<span class="absValue">
(23/24)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<pre>
<code class="sourceCode" id="sourceCode">&nbsp;package it.polimi.ingsw.gc14.Model.Orders;
&nbsp;
&nbsp;import it.polimi.ingsw.gc14.Model.OrderLogicCard;
&nbsp;import it.polimi.ingsw.gc14.Model.Player;
&nbsp;import it.polimi.ingsw.gc14.View.TUI.AsciiTable;
&nbsp;import it.polimi.ingsw.gc14.View.TUI.BorderStyle;
&nbsp;
&nbsp;import java.util.*;
&nbsp;import java.util.stream.IntStream;
&nbsp;
&nbsp;/**
&nbsp; * Represents the order logic card used in a two-player game.
&nbsp; *
&nbsp; * &lt;p&gt;This class defines the specific turn-order behavior for games with
&nbsp; * two players.
&nbsp; */
&nbsp;public class Order2 extends OrderLogicCard {
&nbsp;
&nbsp; /**
&nbsp; * Creates an Order2 logic card for a two-player game.
&nbsp; *
&nbsp; * @param players the list of players associated with this order card.
&nbsp; * @throws NoSuchElementException if the number of players is not equal to 2.
&nbsp; */
&nbsp; public Order2(ArrayList&lt;Player&gt; players) throws NoSuchElementException {
<b class="fc">&nbsp; super(players);</b>
<b class="fc">&nbsp; if(players.size()!=2)</b>
<b class="fc">&nbsp; throw new NoSuchElementException();</b>
&nbsp; }
&nbsp;
&nbsp; /**
&nbsp; * Applies the effect associated with the specified position index for the given player.
&nbsp; * &lt;p&gt;If {@code index == 0}, the player gains 1 Food and the building effect is applied.
&nbsp; * &lt;p&gt;If {@code index == 1}, the player tries to remove 1 Food; if the player cannot pay it,
&nbsp; * the player loses 2 Prestige.
&nbsp; *
&nbsp; * @param player the player to whom the effect is applied.
&nbsp; * @param index the position index of the effect to apply.
&nbsp; * @throws IndexOutOfBoundsException if {@code index &lt; 0} or {@code index &gt;= 2}.
&nbsp; */
&nbsp; @Override
&nbsp; protected void effect(Player player,int index) throws IndexOutOfBoundsException
&nbsp; {
<b class="pc">&nbsp; if(index &gt;= 2 || index &lt; 0)</b>
&nbsp; {
<b class="fc">&nbsp; throw new IndexOutOfBoundsException(&quot;index out of bounds&quot;);</b>
&nbsp; }
<b class="fc">&nbsp; if(index==0)</b>
&nbsp; {
<b class="fc">&nbsp; player.addFood(1);</b>
<b class="fc">&nbsp; buildingEffect(player);</b>
&nbsp; return;
&nbsp; }
<b class="pc">&nbsp; if(index==1){</b>
<b class="fc">&nbsp; if(!player.removeFood(1)){</b>
<b class="fc">&nbsp; player.removePrestige(2);</b>
&nbsp; }
&nbsp; }
&nbsp; }
&nbsp;
&nbsp; /**
&nbsp; * Creates the TURN ORDER box of the TUI.
&nbsp; * @return the string containing the box
&nbsp; */
&nbsp; @Override
&nbsp; public String toString()
&nbsp; {
<b class="fc">&nbsp; var table = new AsciiTable(BorderStyle.ROUNDED, 2);</b>
<b class="fc">&nbsp; List&lt;String&gt; stringUp=new ArrayList&lt;&gt;();</b>
<b class="fc">&nbsp; for(int i=0;i&lt;2;i++)</b>
&nbsp; {
&nbsp; try {
<b class="fc">&nbsp; if(playerList.get(i).isPlayed())</b>
<b class="fc">&nbsp; stringUp.add(&quot;&quot;);</b>
&nbsp; else
<b class="pc">&nbsp; stringUp.add(playerList.get(i).getPlayer().getTotem() != null ? playerList.get(i).getPlayer().getTotem().toString() : playerList.get(i).getPlayer().getUserName());</b>
&nbsp; }
&nbsp; catch (IndexOutOfBoundsException e) {
<b class="nc">&nbsp; stringUp.add(&quot;&quot;);</b>
&nbsp; }
&nbsp; }
<b class="fc">&nbsp; table.addRow(stringUp);</b>
&nbsp;
<b class="fc">&nbsp; List&lt;String&gt; stringList=new ArrayList&lt;&gt;();</b>
<b class="fc">&nbsp; stringList.add(&quot;+1\uD83C\uDF56&quot;);</b>
<b class="fc">&nbsp; stringList.add(&quot;-1\uD83C\uDF56/-2\uD83C\uDFC5&quot;);</b>
<b class="fc">&nbsp; table.addRow(stringList);</b>
<b class="fc">&nbsp; return table.build() + &quot;\n&quot;;</b>
&nbsp; }
&nbsp;}
</code>
</pre>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>
@@ -0,0 +1,214 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > Order3</title>
<style type="text/css">
@import "../../css/coverage.css";
@import "../../css/idea.min.css";
</style>
<script type="text/javascript" src="../../js/highlight.min.js"></script>
<script type="text/javascript" src="../../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../../index.html">all classes</a>
<span class="separator">|</span>
<a href="../index.html">it.polimi.ingsw.gc14.Model.Orders</a>
</div>
<h1>Coverage Summary for Class: Order3 (it.polimi.ingsw.gc14.Model.Orders)</h1>
<table class="coverageStats">
<tr>
<th class="name">Class</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Branch, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">Order3</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
88.9%
</span>
<span class="absValue">
(16/18)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96%
</span>
<span class="absValue">
(24/25)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<pre>
<code class="sourceCode" id="sourceCode">&nbsp;package it.polimi.ingsw.gc14.Model.Orders;
&nbsp;
&nbsp;import it.polimi.ingsw.gc14.Model.OrderLogicCard;
&nbsp;import it.polimi.ingsw.gc14.Model.Player;
&nbsp;import it.polimi.ingsw.gc14.View.TUI.AsciiTable;
&nbsp;import it.polimi.ingsw.gc14.View.TUI.BorderStyle;
&nbsp;
&nbsp;import java.util.ArrayList;
&nbsp;import java.util.List;
&nbsp;import java.util.NoSuchElementException;
&nbsp;
&nbsp;/**
&nbsp; * Represents the order logic card used in a three-player game.
&nbsp; *
&nbsp; * &lt;p&gt;This class defines the specific turn-order behavior for games with
&nbsp; * three players.
&nbsp; */
&nbsp;public class Order3 extends OrderLogicCard {
&nbsp;
&nbsp; /**
&nbsp; * Creates an Order3 logic card for a three-player game.
&nbsp; *
&nbsp; * @param players the list of players associated with this order card.
&nbsp; * @throws NoSuchElementException if the number of players is not equal to 3.
&nbsp; */
&nbsp; public Order3(ArrayList&lt;Player&gt; players) throws NoSuchElementException{
<b class="fc">&nbsp; super(players);</b>
<b class="fc">&nbsp; if(players.size()!=3)</b>
<b class="fc">&nbsp; throw new NoSuchElementException();</b>
&nbsp; }
&nbsp;
&nbsp; /**
&nbsp; * Applies the effect associated with the specified position index for the given player.
&nbsp; * &lt;p&gt;If {@code index == 0}, the player gains 2 Food and the building effect is applied.
&nbsp; * &lt;p&gt;If {@code index == 1}, no effect is applied.
&nbsp; * &lt;p&gt;If {@code index == 2}, the player tries to remove 1 Food; if the player cannot pay it,
&nbsp; * the player loses 2 Prestige.
&nbsp; *
&nbsp; * @param player the player to whom the effect is applied.
&nbsp; * @param index the position index of the effect to apply.
&nbsp; * @throws IndexOutOfBoundsException if {@code index &lt; 0} or {@code index &gt;= 3}.
&nbsp; */
&nbsp; @Override
&nbsp; protected void effect(Player player,int index) throws IndexOutOfBoundsException
&nbsp; {
<b class="pc">&nbsp; if(index &gt;= 3 || index &lt; 0)</b>
&nbsp; {
<b class="fc">&nbsp; throw new IndexOutOfBoundsException(&quot;index out of bounds&quot;);</b>
&nbsp; }
<b class="fc">&nbsp; if(index==0)</b>
&nbsp; {
<b class="fc">&nbsp; player.addFood(2);</b>
<b class="fc">&nbsp; buildingEffect(player);</b>
&nbsp; return;
&nbsp; }
<b class="fc">&nbsp; if(index==2){</b>
<b class="fc">&nbsp; if(!player.removeFood(1)){</b>
<b class="fc">&nbsp; player.removePrestige(2);</b>
&nbsp; }
&nbsp; }
&nbsp; }
&nbsp;
&nbsp; /**
&nbsp; * Creates the TURN ORDER box of the TUI.
&nbsp; * @return the string containing the box
&nbsp; */
&nbsp; @Override
&nbsp; public String toString()
&nbsp; {
&nbsp;
<b class="fc">&nbsp; var table = new AsciiTable(BorderStyle.ROUNDED, 3);</b>
&nbsp;
<b class="fc">&nbsp; List&lt;String&gt; stringUp=new ArrayList&lt;&gt;();</b>
<b class="fc">&nbsp; for(int i=0;i&lt;3;i++)</b>
&nbsp; {
&nbsp; try {
<b class="fc">&nbsp; if(playerList.get(i).isPlayed())</b>
<b class="fc">&nbsp; stringUp.add(&quot;&quot;);</b>
&nbsp; else
<b class="pc">&nbsp; stringUp.add(i + &quot;. &quot; + (playerList.get(i).getPlayer().getTotem() != null ? playerList.get(i).getPlayer().getTotem().toString() : playerList.get(i).getPlayer().getUserName()));</b>
&nbsp; }
&nbsp; catch (IndexOutOfBoundsException e) {
<b class="nc">&nbsp; stringUp.add(&quot;&quot;);</b>
&nbsp; }
&nbsp; }
<b class="fc">&nbsp; table.addRow(stringUp);</b>
&nbsp;
<b class="fc">&nbsp; List&lt;String&gt; stringList=new ArrayList&lt;&gt;();</b>
&nbsp;
<b class="fc">&nbsp; stringList.add(&quot;+2\uD83C\uDF56&quot;);</b>
<b class="fc">&nbsp; stringList.add(&quot;--&quot;);</b>
<b class="fc">&nbsp; stringList.add(&quot;-1\uD83C\uDF56/-2\uD83C\uDFC5&quot;);</b>
<b class="fc">&nbsp; table.addRow(stringList);</b>
&nbsp;
&nbsp;
<b class="fc">&nbsp; return table.build() + &quot;\n&quot;;</b>
&nbsp; }
&nbsp;}
</code>
</pre>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>
@@ -0,0 +1,218 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > Order4</title>
<style type="text/css">
@import "../../css/coverage.css";
@import "../../css/idea.min.css";
</style>
<script type="text/javascript" src="../../js/highlight.min.js"></script>
<script type="text/javascript" src="../../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../../index.html">all classes</a>
<span class="separator">|</span>
<a href="../index.html">it.polimi.ingsw.gc14.Model.Orders</a>
</div>
<h1>Coverage Summary for Class: Order4 (it.polimi.ingsw.gc14.Model.Orders)</h1>
<table class="coverageStats">
<tr>
<th class="name">Class</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Branch, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">Order4</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.6%
</span>
<span class="absValue">
(28/29)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<pre>
<code class="sourceCode" id="sourceCode">&nbsp;package it.polimi.ingsw.gc14.Model.Orders;
&nbsp;
&nbsp;import it.polimi.ingsw.gc14.Model.OrderLogicCard;
&nbsp;import it.polimi.ingsw.gc14.Model.Player;
&nbsp;import it.polimi.ingsw.gc14.View.TUI.AsciiTable;
&nbsp;import it.polimi.ingsw.gc14.View.TUI.BorderStyle;
&nbsp;
&nbsp;import java.util.ArrayList;
&nbsp;import java.util.List;
&nbsp;import java.util.NoSuchElementException;
&nbsp;
&nbsp;/**
&nbsp; * Represents the order logic card used in a four-player game.
&nbsp; *
&nbsp; * &lt;p&gt;This class defines the specific turn-order behavior for games with
&nbsp; * four players.
&nbsp; */
&nbsp;public class Order4 extends OrderLogicCard {
&nbsp;
&nbsp; /**
&nbsp; * Creates an Order4 logic card for a four-player game.
&nbsp; *
&nbsp; * @param players the list of players associated with this order card.
&nbsp; * @throws NoSuchElementException if the number of players is not equal to 4.
&nbsp; */
&nbsp; public Order4(ArrayList&lt;Player&gt; players)throws NoSuchElementException {
<b class="fc">&nbsp; super(players);</b>
<b class="fc">&nbsp; if(players.size()!=4)</b>
<b class="fc">&nbsp; throw new NoSuchElementException();</b>
&nbsp; }
&nbsp;
&nbsp; /**
&nbsp; * Applies the effect associated with the specified position index for the given player.
&nbsp; * &lt;p&gt;If {@code index == 0}, the player gains 2 Food and the building effect is applied.
&nbsp; * &lt;p&gt;If {@code index == 1}, the player gains 1 Food and the building effect is applied.
&nbsp; * &lt;p&gt;If {@code index == 2}, no effect is applied.
&nbsp; * &lt;p&gt;If {@code index == 3}, the player tries to remove 1 Food; if the player cannot pay it,
&nbsp; * the player loses 2 Prestige.
&nbsp; *
&nbsp; * @param player the player to whom the effect is applied.
&nbsp; * @param index the position index of the effect to apply.
&nbsp; * @throws IndexOutOfBoundsException if {@code index &lt; 0} or {@code index &gt;= 4}.
&nbsp; */
&nbsp; @Override
&nbsp; protected void effect(Player player,int index) throws IndexOutOfBoundsException
&nbsp; {
<b class="pc">&nbsp; if(index&gt;=4 || index &lt; 0)</b>
&nbsp; {
<b class="fc">&nbsp; throw new IndexOutOfBoundsException(&quot;index out of bounds&quot;);</b>
&nbsp; }
<b class="fc">&nbsp; if(index==0)</b>
&nbsp; {
<b class="fc">&nbsp; player.addFood(2);</b>
<b class="fc">&nbsp; buildingEffect(player);</b>
&nbsp; return;
&nbsp; }
<b class="fc">&nbsp; if(index==1)</b>
&nbsp; {
<b class="fc">&nbsp; player.addFood(1);</b>
<b class="fc">&nbsp; buildingEffect(player);</b>
&nbsp; return;
&nbsp; }
<b class="fc">&nbsp; if(index==3){</b>
<b class="fc">&nbsp; if(!player.removeFood(1)){</b>
<b class="fc">&nbsp; player.removePrestige(2);</b>
&nbsp; }
&nbsp; }
&nbsp; }
&nbsp;
&nbsp; /**
&nbsp; * Creates the TURN ORDER box of the TUI.
&nbsp; * @return the string containing the box
&nbsp; */
&nbsp; @Override
&nbsp; public String toString()
&nbsp; {
&nbsp;
<b class="fc">&nbsp; var table = new AsciiTable(BorderStyle.ROUNDED, 4);</b>
<b class="fc">&nbsp; List&lt;String&gt; stringUp=new ArrayList&lt;&gt;();</b>
<b class="fc">&nbsp; for(int i=0;i&lt;4;i++)</b>
&nbsp; {
&nbsp; try {
<b class="fc">&nbsp; if(playerList.get(i).isPlayed())</b>
<b class="fc">&nbsp; stringUp.add(&quot;&quot;);</b>
&nbsp; else
<b class="pc">&nbsp; stringUp.add(i + &quot;. &quot; + (playerList.get(i).getPlayer().getTotem() != null ? playerList.get(i).getPlayer().getTotem().toString() : playerList.get(i).getPlayer().getUserName()));</b>
&nbsp; }
&nbsp; catch (IndexOutOfBoundsException e) {
<b class="nc">&nbsp; stringUp.add(&quot;&quot;);</b>
&nbsp; }
&nbsp; }
<b class="fc">&nbsp; table.addRow(stringUp);</b>
&nbsp;
<b class="fc">&nbsp; List&lt;String&gt; stringList=new ArrayList&lt;&gt;();</b>
<b class="fc">&nbsp; stringList.add(&quot;+2\uD83C\uDF56&quot;);</b>
<b class="fc">&nbsp; stringList.add(&quot;+1\uD83C\uDF56&quot;);</b>
<b class="fc">&nbsp; stringList.add(&quot;--&quot;);</b>
<b class="fc">&nbsp; stringList.add(&quot;-1\uD83C\uDF56/-2\uD83C\uDFC5&quot;);</b>
<b class="fc">&nbsp; table.addRow(stringList);</b>
<b class="fc">&nbsp; return table.build() + &quot;\n&quot;;</b>
&nbsp; }
&nbsp;}
</code>
</pre>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>
@@ -0,0 +1,220 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > Order5</title>
<style type="text/css">
@import "../../css/coverage.css";
@import "../../css/idea.min.css";
</style>
<script type="text/javascript" src="../../js/highlight.min.js"></script>
<script type="text/javascript" src="../../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../../index.html">all classes</a>
<span class="separator">|</span>
<a href="../index.html">it.polimi.ingsw.gc14.Model.Orders</a>
</div>
<h1>Coverage Summary for Class: Order5 (it.polimi.ingsw.gc14.Model.Orders)</h1>
<table class="coverageStats">
<tr>
<th class="name">Class</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Branch, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">Order5</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(3/3)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90%
</span>
<span class="absValue">
(18/20)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.7%
</span>
<span class="absValue">
(29/30)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<pre>
<code class="sourceCode" id="sourceCode">&nbsp;package it.polimi.ingsw.gc14.Model.Orders;
&nbsp;
&nbsp;import it.polimi.ingsw.gc14.Model.OrderLogicCard;
&nbsp;import it.polimi.ingsw.gc14.Model.Player;
&nbsp;import it.polimi.ingsw.gc14.View.TUI.AsciiTable;
&nbsp;import it.polimi.ingsw.gc14.View.TUI.BorderStyle;
&nbsp;
&nbsp;import java.util.ArrayList;
&nbsp;import java.util.List;
&nbsp;import java.util.NoSuchElementException;
&nbsp;
&nbsp;/**
&nbsp; * Represents the order logic card used in a five-player game.
&nbsp; *
&nbsp; * &lt;p&gt;This class defines the specific turn-order behavior for games with
&nbsp; * five players.
&nbsp; */
&nbsp;public class Order5 extends OrderLogicCard {
&nbsp;
&nbsp; /**
&nbsp; * Creates an Order5 logic card for a five-player game.
&nbsp; *
&nbsp; * @param players the list of players associated with this order card.
&nbsp; * @throws NoSuchElementException if the number of players is not equal to 5.
&nbsp; */
&nbsp; public Order5(ArrayList&lt;Player&gt; players) throws NoSuchElementException{
<b class="fc">&nbsp; super(players);</b>
<b class="fc">&nbsp; if(players.size()!=5)</b>
<b class="fc">&nbsp; throw new NoSuchElementException();</b>
&nbsp; }
&nbsp;
&nbsp; /**
&nbsp; * Applies the effect associated with the specified position index for the given player.
&nbsp; * &lt;p&gt;If {@code index == 0}, the player gains 3 Food and the building effect is applied.
&nbsp; * &lt;p&gt;If {@code index == 1}, the player gains 1 Food and the building effect is applied.
&nbsp; * &lt;p&gt;If {@code index == 2}, no effect is applied.
&nbsp; * &lt;p&gt;If {@code index == 3}, no effect is applied.
&nbsp; * &lt;p&gt;If {@code index == 4}, the player tries to remove 1 Food; if the player cannot pay it,
&nbsp; * the player loses 2 Prestige.
&nbsp; *
&nbsp; * @param player the player to whom the effect is applied.
&nbsp; * @param index the position index of the effect to apply.
&nbsp; * @throws IndexOutOfBoundsException if {@code index &lt; 0} or {@code index &gt;= 5}.
&nbsp; */
&nbsp; @Override
&nbsp; protected void effect(Player player,int index) throws IndexOutOfBoundsException
&nbsp; {
<b class="pc">&nbsp; if(index&gt;=5 || index &lt; 0)</b>
&nbsp; {
<b class="fc">&nbsp; throw new IndexOutOfBoundsException(&quot;index out of bounds&quot;);</b>
&nbsp; }
<b class="fc">&nbsp; if(index==0)</b>
&nbsp; {
<b class="fc">&nbsp; player.addFood(3);</b>
<b class="fc">&nbsp; buildingEffect(player);</b>
&nbsp; return;
&nbsp; }
<b class="fc">&nbsp; if(index==1)</b>
&nbsp; {
<b class="fc">&nbsp; player.addFood(1);</b>
<b class="fc">&nbsp; buildingEffect(player);</b>
&nbsp; return;
&nbsp; }
<b class="fc">&nbsp; if(index==4){</b>
<b class="fc">&nbsp; if(!player.removeFood(1)){</b>
<b class="fc">&nbsp; player.removePrestige(2);</b>
&nbsp; }
&nbsp; }
&nbsp; }
&nbsp;
&nbsp; /**
&nbsp; * Creates the TURN ORDER box of the TUI.
&nbsp; * @return the string containing the box
&nbsp; */
&nbsp; @Override
&nbsp; public String toString()
&nbsp; {
&nbsp;
<b class="fc">&nbsp; var table = new AsciiTable(BorderStyle.ROUNDED, 5);</b>
<b class="fc">&nbsp; List&lt;String&gt; stringUp=new ArrayList&lt;&gt;();</b>
<b class="fc">&nbsp; for(int i=0;i&lt;5;i++)</b>
&nbsp; {
&nbsp; try {
<b class="fc">&nbsp; if(playerList.get(i).isPlayed())</b>
<b class="fc">&nbsp; stringUp.add(&quot;&quot;);</b>
&nbsp; else
<b class="pc">&nbsp; stringUp.add(i + &quot;. &quot; + (playerList.get(i).getPlayer().getTotem() != null ? playerList.get(i).getPlayer().getTotem().toString() : playerList.get(i).getPlayer().getUserName()));</b>
&nbsp; }
&nbsp; catch (IndexOutOfBoundsException e) {
<b class="nc">&nbsp; stringUp.add(&quot;&quot;);</b>
&nbsp; }
&nbsp; }
<b class="fc">&nbsp; table.addRow(stringUp);</b>
&nbsp;
<b class="fc">&nbsp; List&lt;String&gt; stringList=new ArrayList&lt;&gt;();</b>
<b class="fc">&nbsp; stringList.add(&quot;+3\uD83C\uDF56&quot;);</b>
<b class="fc">&nbsp; stringList.add(&quot;+1\uD83C\uDF56&quot;);</b>
<b class="fc">&nbsp; stringList.add(&quot;--&quot;);</b>
<b class="fc">&nbsp; stringList.add(&quot;--&quot;);</b>
<b class="fc">&nbsp; stringList.add(&quot;-1\uD83C\uDF56/-2\uD83C\uDFC5&quot;);</b>
<b class="fc">&nbsp; table.addRow(stringList);</b>
<b class="fc">&nbsp; return table.build() + &quot;\n&quot;;</b>
&nbsp; }
&nbsp;}
</code>
</pre>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>
@@ -0,0 +1,176 @@
<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > OrderPlayer</title>
<style type="text/css">
@import "../../css/coverage.css";
@import "../../css/idea.min.css";
</style>
<script type="text/javascript" src="../../js/highlight.min.js"></script>
<script type="text/javascript" src="../../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../../index.html">all classes</a>
<span class="separator">|</span>
<a href="../index.html">it.polimi.ingsw.gc14.Model.Orders</a>
</div>
<h1>Coverage Summary for Class: OrderPlayer (it.polimi.ingsw.gc14.Model.Orders)</h1>
<table class="coverageStats">
<tr>
<th class="name">Class</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">OrderPlayer</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(5/5)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(7/7)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<pre>
<code class="sourceCode" id="sourceCode">&nbsp;package it.polimi.ingsw.gc14.Model.Orders;
&nbsp;
&nbsp;import it.polimi.ingsw.gc14.Model.Player;
&nbsp;
&nbsp;import java.io.Serializable;
&nbsp;
&nbsp;/**
&nbsp; * Represents a player entry in an order logic card.
&nbsp; *
&nbsp; * &lt;p&gt;Each entry stores the player and whether that player has already
&nbsp; * performed an action in the current order sequence.
&nbsp; */
&nbsp;public class OrderPlayer implements Serializable {
&nbsp;
&nbsp; /**
&nbsp; * The player associated with this order entry.
&nbsp; */
&nbsp; private final Player player;
&nbsp;
&nbsp; /**
&nbsp; * Indicates whether the player has already played.
&nbsp; */
&nbsp; private boolean played;
&nbsp;
&nbsp; /**
&nbsp; * Returns the player associated with this order entry.
&nbsp; *
&nbsp; * @return the player.
&nbsp; */
&nbsp; public Player getPlayer() {
<b class="fc">&nbsp; return player;</b>
&nbsp; }
&nbsp;
&nbsp; /**
&nbsp; * Returns whether the player has already played in this order sequence.
&nbsp; *
&nbsp; * @return {@code true} if the player has played; {@code false} otherwise.
&nbsp; */
&nbsp; public boolean isPlayed() {
<b class="fc">&nbsp; return played;</b>
&nbsp; }
&nbsp;
&nbsp; /**
&nbsp; * Marks this player as having played in the current order sequence.
&nbsp; */
&nbsp; public void markAsPlayed() {
<b class="fc">&nbsp; this.played = true;</b>
&nbsp; }
&nbsp;
&nbsp; /**
&nbsp; * Creates an order entry for the specified player.
&nbsp; *
&nbsp; * @param player the player associated with this order entry.
&nbsp; * @param played {@code true} if the player has already played;
&nbsp; * {@code false} otherwise.
&nbsp; */
<b class="fc">&nbsp; public OrderPlayer(Player player, boolean played) {</b>
<b class="fc">&nbsp; this.player = player;</b>
<b class="fc">&nbsp; this.played = played;</b>
&nbsp; }
&nbsp;
&nbsp; /**
&nbsp; * Returns a string containing the player&#39;s username and whether the player
&nbsp; * has already played.
&nbsp; *
&nbsp; * @return the string containing the username and whether the player has played.
&nbsp; */
&nbsp; @Override
&nbsp; public String toString() {
<b class="fc">&nbsp; return player.getUserName() + &quot; &quot; + played;</b>
&nbsp; }
&nbsp;}
</code>
</pre>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>