Fakultas Ilmu Komputer UI

Commit a166149c authored by hazlazuardi's avatar hazlazuardi
Browse files

Merge with master

parents 880252f8 1097f31f
Pipeline #81609 passed with stages
in 6 minutes and 1 second
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
......
......@@ -52,12 +52,9 @@ jacocoTestReport {
}
afterEvaluate {
classDirectories.setFrom(files(classDirectories.files.collect {
fileTree(dir: it, exclude:['**/calendar_event/**',
'**/repo/**',
'**/user/**',
'**/course/**'
]
fileTree(dir: it, exclude:['**/model/*',
'**/Main*.class',
]
)
}))
......
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>Role</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">SiJadwal_Simple</a> &gt; <a href="index.html" class="el_package">Softeng.Group3.SiJadwal.actor</a> &gt; <span class="el_class">Role</span></div><h1>Role</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">131 of 163</td><td class="ctr2">19%</td><td class="bar">6 of 6</td><td class="ctr2">0%</td><td class="ctr1">8</td><td class="ctr2">11</td><td class="ctr1">41</td><td class="ctr2">49</td><td class="ctr1">3</td><td class="ctr2">6</td></tr></tfoot><tbody><tr><td id="a1"><a href="Role.java.html#L45" class="el_method">doAvailableAction(int)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="98" alt="98"/></td><td class="ctr2" id="c3">0%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="6" alt="6"/></td><td class="ctr2" id="e0">0%</td><td class="ctr1" id="f0">6</td><td class="ctr2" id="g0">6</td><td class="ctr1" id="h0">28</td><td class="ctr2" id="i0">28</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a0"><a href="Role.java.html#L32" class="el_method">availableActions()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="35" height="10" title="29" alt="29"/></td><td class="ctr2" id="c4">0%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">11</td><td class="ctr2" id="i1">11</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a4"><a href="Role.java.html#L28" class="el_method">setRole(RoleType)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/redbar.gif" width="4" height="10" title="4" alt="4"/></td><td class="ctr2" id="c5">0%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">1</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">2</td><td class="ctr2" id="i3">2</td><td class="ctr1" id="j2">1</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a3"><a href="Role.java.html#L10" class="el_method">Role()</a></td><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" width="30" height="10" title="25" alt="25"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i2">5</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a5"><a href="Role.java.html#L22" class="el_method">setRoleName(RoleType)</a></td><td class="bar" id="b4"><img src="../jacoco-resources/greenbar.gif" width="4" height="10" title="4" alt="4"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">2</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a2"><a href="Role.java.html#L18" class="el_method">getRoleName()</a></td><td class="bar" id="b5"><img src="../jacoco-resources/greenbar.gif" width="3" height="10" title="3" alt="3"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.6.202009150832</span></div></body></html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>Role</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">SiJadwal_Simple</a> &gt; <a href="index.html" class="el_package">Softeng.Group3.SiJadwal.actor</a> &gt; <span class="el_class">Role</span></div><h1>Role</h1><p>A different version of class was executed at runtime.</p><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">163 of 163</td><td class="ctr2">0%</td><td class="bar">6 of 6</td><td class="ctr2">0%</td><td class="ctr1">11</td><td class="ctr2">11</td><td class="ctr1">49</td><td class="ctr2">49</td><td class="ctr1">6</td><td class="ctr2">6</td></tr></tfoot><tbody><tr><td id="a1"><a href="Role.java.html#L45" class="el_method">doAvailableAction(int)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="98" alt="98"/></td><td class="ctr2" id="c0">0%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="6" alt="6"/></td><td class="ctr2" id="e0">0%</td><td class="ctr1" id="f0">6</td><td class="ctr2" id="g0">6</td><td class="ctr1" id="h0">28</td><td class="ctr2" id="i0">28</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a0"><a href="Role.java.html#L32" class="el_method">availableActions()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="35" height="10" title="29" alt="29"/></td><td class="ctr2" id="c1">0%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">11</td><td class="ctr2" id="i1">11</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a3"><a href="Role.java.html#L10" class="el_method">Role()</a></td><td class="bar" id="b2"><img src="../jacoco-resources/redbar.gif" width="30" height="10" title="25" alt="25"/></td><td class="ctr2" id="c2">0%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">1</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">5</td><td class="ctr2" id="i2">5</td><td class="ctr1" id="j2">1</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a5"><a href="Role.java.html#L22" class="el_method">setRoleName(RoleType)</a></td><td class="bar" id="b3"><img src="../jacoco-resources/redbar.gif" width="4" height="10" title="4" alt="4"/></td><td class="ctr2" id="c3">0%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">1</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">2</td><td class="ctr2" id="i3">2</td><td class="ctr1" id="j3">1</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a4"><a href="Role.java.html#L28" class="el_method">setRole(RoleType)</a></td><td class="bar" id="b4"><img src="../jacoco-resources/redbar.gif" width="4" height="10" title="4" alt="4"/></td><td class="ctr2" id="c4">0%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">1</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">2</td><td class="ctr2" id="i4">2</td><td class="ctr1" id="j4">1</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a2"><a href="Role.java.html#L18" class="el_method">getRoleName()</a></td><td class="bar" id="b5"><img src="../jacoco-resources/redbar.gif" width="3" height="10" title="3" alt="3"/></td><td class="ctr2" id="c5">0%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">1</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">1</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j5">1</td><td class="ctr2" id="k5">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.6.202009150832</span></div></body></html>
\ No newline at end of file
......@@ -7,20 +7,20 @@ import com.sun.tools.javac.Main;
import java.io.PrintWriter;
<span class="fc" id="L10">public abstract class Role {</span>
<span class="fc" id="L11"> protected InputReader in = new InputReader(System.in);</span>
<span class="fc" id="L12"> protected PrintWriter out = new PrintWriter(System.out);</span>
<span class="fc" id="L13"> protected UserList userList = new UserList();</span>
<span class="fc" id="L14"> protected CourseList courseList = new CourseList();</span>
<span class="nc" id="L10">public abstract class Role {</span>
<span class="nc" id="L11"> protected InputReader in = new InputReader(System.in);</span>
<span class="nc" id="L12"> protected PrintWriter out = new PrintWriter(System.out);</span>
<span class="nc" id="L13"> protected UserList userList = new UserList();</span>
<span class="nc" id="L14"> protected CourseList courseList = new CourseList();</span>
public RoleType getRoleName() {
<span class="fc" id="L18"> return roleName;</span>
<span class="nc" id="L18"> return roleName;</span>
}
public void setRoleName(RoleType roleName) {
<span class="fc" id="L22"> this.roleName = roleName;</span>
<span class="fc" id="L23"> }</span>
<span class="nc" id="L22"> this.roleName = roleName;</span>
<span class="nc" id="L23"> }</span>
private RoleType roleName;
......
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>RoleType</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">SiJadwal_Simple</a> &gt; <a href="index.html" class="el_package">Softeng.Group3.SiJadwal.actor</a> &gt; <span class="el_class">RoleType</span></div><h1>RoleType</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">30 of 60</td><td class="ctr2">50%</td><td class="bar">10 of 12</td><td class="ctr2">16%</td><td class="ctr1">10</td><td class="ctr2">13</td><td class="ctr1">12</td><td class="ctr2">17</td><td class="ctr1">2</td><td class="ctr2">4</td></tr></tfoot><tbody><tr><td id="a3"><a href="RoleType.java.html#L20" class="el_method">StringtoRole(String)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="91" height="10" title="16" alt="16"/></td><td class="ctr2" id="c2">0%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="4" alt="4"/></td><td class="ctr2" id="e1">0%</td><td class="ctr1" id="f0">4</td><td class="ctr2" id="g0">4</td><td class="ctr1" id="h0">5</td><td class="ctr2" id="i0">5</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a0"><a href="RoleType.java.html#L33" class="el_method">intToRole(int)</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="57" height="10" title="10" alt="10"/></td><td class="ctr2" id="c3">0%</td><td class="bar" id="d1"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="4" alt="4"/></td><td class="ctr2" id="e2">0%</td><td class="ctr1" id="f1">4</td><td class="ctr2" id="g1">4</td><td class="ctr1" id="h1">5</td><td class="ctr2" id="i1">5</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a1"><a href="RoleType.java.html#L7" class="el_method">RoletoString(RoleType)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/redbar.gif" width="22" height="10" title="4" alt="4"/><img src="../jacoco-resources/greenbar.gif" width="51" height="10" title="9" alt="9"/></td><td class="ctr2" id="c1">69%</td><td class="bar" id="d2"><img src="../jacoco-resources/redbar.gif" width="60" height="10" title="2" alt="2"/><img src="../jacoco-resources/greenbar.gif" width="60" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">50%</td><td class="ctr1" id="f2">2</td><td class="ctr2" id="g2">4</td><td class="ctr1" id="h2">2</td><td class="ctr2" id="i2">5</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a2"><a href="RoleType.java.html#L3" class="el_method">static {...}</a></td><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="21" alt="21"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">2</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.6.202009150832</span></div></body></html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>RoleType</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">SiJadwal_Simple</a> &gt; <a href="index.html" class="el_package">Softeng.Group3.SiJadwal.actor</a> &gt; <span class="el_class">RoleType</span></div><h1>RoleType</h1><p>A different version of class was executed at runtime.</p><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">60 of 60</td><td class="ctr2">0%</td><td class="bar">12 of 12</td><td class="ctr2">0%</td><td class="ctr1">13</td><td class="ctr2">13</td><td class="ctr1">17</td><td class="ctr2">17</td><td class="ctr1">4</td><td class="ctr2">4</td></tr></tfoot><tbody><tr><td id="a2"><a href="RoleType.java.html#L3" class="el_method">static {...}</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="21" alt="21"/></td><td class="ctr2" id="c0">0%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">1</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">2</td><td class="ctr2" id="i3">2</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a3"><a href="RoleType.java.html#L20" class="el_method">StringtoRole(String)</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="91" height="10" title="16" alt="16"/></td><td class="ctr2" id="c1">0%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="4" alt="4"/></td><td class="ctr2" id="e0">0%</td><td class="ctr1" id="f0">4</td><td class="ctr2" id="g0">4</td><td class="ctr1" id="h0">5</td><td class="ctr2" id="i0">5</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a1"><a href="RoleType.java.html#L7" class="el_method">RoletoString(RoleType)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/redbar.gif" width="74" height="10" title="13" alt="13"/></td><td class="ctr2" id="c2">0%</td><td class="bar" id="d1"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="4" alt="4"/></td><td class="ctr2" id="e1">0%</td><td class="ctr1" id="f1">4</td><td class="ctr2" id="g1">4</td><td class="ctr1" id="h1">5</td><td class="ctr2" id="i1">5</td><td class="ctr1" id="j2">1</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a0"><a href="RoleType.java.html#L33" class="el_method">intToRole(int)</a></td><td class="bar" id="b3"><img src="../jacoco-resources/redbar.gif" width="57" height="10" title="10" alt="10"/></td><td class="ctr2" id="c3">0%</td><td class="bar" id="d2"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="4" alt="4"/></td><td class="ctr2" id="e2">0%</td><td class="ctr1" id="f2">4</td><td class="ctr2" id="g2">4</td><td class="ctr1" id="h2">5</td><td class="ctr2" id="i2">5</td><td class="ctr1" id="j3">1</td><td class="ctr2" id="k3">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.6.202009150832</span></div></body></html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>RoleType.java</title><link rel="stylesheet" href="../jacoco-resources/prettify.css" type="text/css"/><script type="text/javascript" src="../jacoco-resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">SiJadwal_Simple</a> &gt; <a href="index.source.html" class="el_package">Softeng.Group3.SiJadwal.actor</a> &gt; <span class="el_source">RoleType.java</span></div><h1>RoleType.java</h1><pre class="source lang-java linenums">package Softeng.Group3.SiJadwal.actor;
<span class="fc" id="L3">public enum RoleType {</span>
<span class="fc" id="L4"> STUDENT, TEACHING_ASSISTANT, ADMIN;</span>
<span class="nc" id="L3">public enum RoleType {</span>
<span class="nc" id="L4"> STUDENT, TEACHING_ASSISTANT, ADMIN;</span>
public static String RoletoString(RoleType roleType) {
<span class="pc bpc" id="L7" title="2 of 4 branches missed."> switch (roleType){</span>
<span class="nc bnc" id="L7" title="All 4 branches missed."> switch (roleType){</span>
case STUDENT:
<span class="fc" id="L9"> return &quot;Student&quot;;</span>
<span class="nc" id="L9"> return &quot;Student&quot;;</span>
case TEACHING_ASSISTANT:
<span class="fc" id="L11"> return &quot;Teaching Assistant&quot;;</span>
<span class="nc" id="L11"> return &quot;Teaching Assistant&quot;;</span>
case ADMIN:
<span class="nc" id="L13"> return &quot;Admin&quot;;</span>
default:
......
......@@ -14,20 +14,20 @@ import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.*;
<span class="fc" id="L17">public class Student extends Role {</span>
<span class="nc" id="L17">public class Student extends Role {</span>
private String timetableName;
private HashMap&lt;String, Course&gt; courseOptions;
<span class="fc" id="L21"> private CourseList courseList = new CourseList();</span>
<span class="fc" id="L22"> private TimetableList timetableList = new TimetableList();</span>
<span class="fc" id="L23"> private AssignmentList assignmentList = new AssignmentList();</span>
<span class="nc" id="L21"> private CourseList courseList = new CourseList();</span>
<span class="nc" id="L22"> private TimetableList timetableList = new TimetableList();</span>
<span class="nc" id="L23"> private AssignmentList assignmentList = new AssignmentList();</span>
// User currentUser = Main.currentUser;
private String assignmentName;
private Course assignmentCourse;
private LocalDate dueDate;
private Boolean validated;
<span class="fc" id="L30"> private Set&lt;User&gt; validatedBy = new HashSet&lt;&gt;();</span>
<span class="nc" id="L30"> private Set&lt;User&gt; validatedBy = new HashSet&lt;&gt;();</span>
private User createdBy;
private Timetable createTimetable(String timetableName, String[] coursesPicked) {
......
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>TeachingAssistant</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">SiJadwal_Simple</a> &gt; <a href="index.html" class="el_package">Softeng.Group3.SiJadwal.actor</a> &gt; <span class="el_class">TeachingAssistant</span></div><h1>TeachingAssistant</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">2 of 5</td><td class="ctr2">60%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">2</td><td class="ctr2">3</td><td class="ctr1">2</td><td class="ctr2">3</td><td class="ctr1">2</td><td class="ctr2">3</td></tr></tfoot><tbody><tr><td id="a1"><a href="TeachingAssistant.java.html#L8" class="el_method">exclusiveActions()</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="40" height="10" title="1" alt="1"/></td><td class="ctr2" id="c1">0%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i0">1</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a0"><a href="TeachingAssistant.java.html#L13" class="el_method">doExclusiveActions(int)</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="40" height="10" title="1" alt="1"/></td><td class="ctr2" id="c2">0%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">1</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a2"><a href="TeachingAssistant.java.html#L3" class="el_method">TeachingAssistant()</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="3" alt="3"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">1</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.6.202009150832</span></div></body></html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>TeachingAssistant</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">SiJadwal_Simple</a> &gt; <a href="index.html" class="el_package">Softeng.Group3.SiJadwal.actor</a> &gt; <span class="el_class">TeachingAssistant</span></div><h1>TeachingAssistant</h1><p>A different version of class was executed at runtime.</p><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">5 of 5</td><td class="ctr2">0%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">3</td><td class="ctr2">3</td><td class="ctr1">3</td><td class="ctr2">3</td><td class="ctr1">3</td><td class="ctr2">3</td></tr></tfoot><tbody><tr><td id="a2"><a href="TeachingAssistant.java.html#L3" class="el_method">TeachingAssistant()</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="3" alt="3"/></td><td class="ctr2" id="c0">0%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i0">1</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a1"><a href="TeachingAssistant.java.html#L8" class="el_method">exclusiveActions()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="40" height="10" title="1" alt="1"/></td><td class="ctr2" id="c1">0%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">1</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a0"><a href="TeachingAssistant.java.html#L13" class="el_method">doExclusiveActions(int)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/redbar.gif" width="40" height="10" title="1" alt="1"/></td><td class="ctr2" id="c2">0%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">1</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">1</td><td class="ctr2" id="i2">1</td><td class="ctr1" id="j2">1</td><td class="ctr2" id="k2">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.6.202009150832</span></div></body></html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>TeachingAssistant.java</title><link rel="stylesheet" href="../jacoco-resources/prettify.css" type="text/css"/><script type="text/javascript" src="../jacoco-resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">SiJadwal_Simple</a> &gt; <a href="index.source.html" class="el_package">Softeng.Group3.SiJadwal.actor</a> &gt; <span class="el_source">TeachingAssistant.java</span></div><h1>TeachingAssistant.java</h1><pre class="source lang-java linenums">package Softeng.Group3.SiJadwal.actor;
<span class="fc" id="L3">public class TeachingAssistant extends Role {</span>
<span class="nc" id="L3">public class TeachingAssistant extends Role {</span>
@Override
public void exclusiveActions() {
......
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>User</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">SiJadwal_Simple</a> &gt; <a href="index.html" class="el_package">Softeng.Group3.SiJadwal.actor</a> &gt; <span class="el_class">User</span></div><h1>User</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">13 of 61</td><td class="ctr2">78%</td><td class="bar">2 of 4</td><td class="ctr2">50%</td><td class="ctr1">3</td><td class="ctr2">10</td><td class="ctr1">4</td><td class="ctr2">22</td><td class="ctr1">1</td><td class="ctr2">7</td></tr></tfoot><tbody><tr><td id="a2"><a href="User.java.html#L33" class="el_method">setRole(RoleType)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="33" height="10" title="10" alt="10"/><img src="../jacoco-resources/greenbar.gif" width="86" height="10" title="26" alt="26"/></td><td class="ctr2" id="c5">72%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="60" height="10" title="2" alt="2"/><img src="../jacoco-resources/greenbar.gif" width="60" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">50%</td><td class="ctr1" id="f0">2</td><td class="ctr2" id="g0">4</td><td class="ctr1" id="h0">3</td><td class="ctr2" id="i0">11</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a4"><a href="User.java.html#L60" class="el_method">toString()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="10" height="10" title="3" alt="3"/></td><td class="ctr2" id="c6">0%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">1</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a6"><a href="User.java.html#L27" class="el_method">User(String, Role)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="30" height="10" title="9" alt="9"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i1">4</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a3"><a href="User.java.html#L17" class="el_method">setUsername(String)</a></td><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" width="13" height="10" title="4" alt="4"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i2">2</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a1"><a href="User.java.html#L13" class="el_method">getUsername()</a></td><td class="bar" id="b4"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="3" alt="3"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a0"><a href="User.java.html#L21" class="el_method">getRole()</a></td><td class="bar" id="b5"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="3" alt="3"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i6">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a5"><a href="User.java.html#L24" class="el_method">User()</a></td><td class="bar" id="b6"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="3" alt="3"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d6"/><td class="ctr2" id="e6">n/a</td><td class="ctr1" id="f6">0</td><td class="ctr2" id="g6">1</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i3">2</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k6">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.6.202009150832</span></div></body></html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>User</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">SiJadwal_Simple</a> &gt; <a href="index.html" class="el_package">Softeng.Group3.SiJadwal.actor</a> &gt; <span class="el_class">User</span></div><h1>User</h1><p>A different version of class was executed at runtime.</p><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">61 of 61</td><td class="ctr2">0%</td><td class="bar">4 of 4</td><td class="ctr2">0%</td><td class="ctr1">10</td><td class="ctr2">10</td><td class="ctr1">22</td><td class="ctr2">22</td><td class="ctr1">7</td><td class="ctr2">7</td></tr></tfoot><tbody><tr><td id="a2"><a href="User.java.html#L33" class="el_method">setRole(RoleType)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="36" alt="36"/></td><td class="ctr2" id="c0">0%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="4" alt="4"/></td><td class="ctr2" id="e0">0%</td><td class="ctr1" id="f0">4</td><td class="ctr2" id="g0">4</td><td class="ctr1" id="h0">11</td><td class="ctr2" id="i0">11</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a6"><a href="User.java.html#L27" class="el_method">User(String, Role)</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="30" height="10" title="9" alt="9"/></td><td class="ctr2" id="c1">0%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">4</td><td class="ctr2" id="i1">4</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a3"><a href="User.java.html#L17" class="el_method">setUsername(String)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/redbar.gif" width="13" height="10" title="4" alt="4"/></td><td class="ctr2" id="c2">0%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">1</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">2</td><td class="ctr2" id="i2">2</td><td class="ctr1" id="j2">1</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a1"><a href="User.java.html#L13" class="el_method">getUsername()</a></td><td class="bar" id="b3"><img src="../jacoco-resources/redbar.gif" width="10" height="10" title="3" alt="3"/></td><td class="ctr2" id="c3">0%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">1</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h4">1</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j3">1</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a0"><a href="User.java.html#L21" class="el_method">getRole()</a></td><td class="bar" id="b4"><img src="../jacoco-resources/redbar.gif" width="10" height="10" title="3" alt="3"/></td><td class="ctr2" id="c4">0%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">1</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h5">1</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j4">1</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a5"><a href="User.java.html#L24" class="el_method">User()</a></td><td class="bar" id="b5"><img src="../jacoco-resources/redbar.gif" width="10" height="10" title="3" alt="3"/></td><td class="ctr2" id="c5">0%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">1</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h3">2</td><td class="ctr2" id="i3">2</td><td class="ctr1" id="j5">1</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a4"><a href="User.java.html#L60" class="el_method">toString()</a></td><td class="bar" id="b6"><img src="../jacoco-resources/redbar.gif" width="10" height="10" title="3" alt="3"/></td><td class="ctr2" id="c6">0%</td><td class="bar" id="d6"/><td class="ctr2" id="e6">n/a</td><td class="ctr1" id="f6">1</td><td class="ctr2" id="g6">1</td><td class="ctr1" id="h6">1</td><td class="ctr2" id="i6">1</td><td class="ctr1" id="j6">1</td><td class="ctr2" id="k6">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.6.202009150832</span></div></body></html>
\ No newline at end of file
......@@ -10,42 +10,42 @@ public class User {
private Role role;
public String getUsername() {
<span class="fc" id="L13"> return username;</span>
<span class="nc" id="L13"> return username;</span>
}
public void setUsername(String username) {
<span class="fc" id="L17"> this.username = username;</span>
<span class="fc" id="L18"> }</span>
<span class="nc" id="L17"> this.username = username;</span>
<span class="nc" id="L18"> }</span>
public Role getRole() {
<span class="fc" id="L21"> return role;</span>
<span class="nc" id="L21"> return role;</span>
}
<span class="fc" id="L24"> public User() {</span>
<span class="fc" id="L25"> }</span>
<span class="nc" id="L24"> public User() {</span>
<span class="nc" id="L25"> }</span>
<span class="fc" id="L27"> public User(String username, Role role) {</span>
<span class="fc" id="L28"> this.username = username;</span>
<span class="fc" id="L29"> this.role = role;</span>
<span class="fc" id="L30"> }</span>
<span class="nc" id="L27"> public User(String username, Role role) {</span>
<span class="nc" id="L28"> this.username = username;</span>
<span class="nc" id="L29"> this.role = role;</span>
<span class="nc" id="L30"> }</span>
public void setRole(RoleType roleType) {
<span class="pc bpc" id="L33" title="2 of 4 branches missed."> switch (roleType){</span>
<span class="nc bnc" id="L33" title="All 4 branches missed."> switch (roleType){</span>
case STUDENT:
<span class="fc" id="L35"> this.role = new Student();</span>
<span class="fc" id="L36"> this.role.setRoleName(RoleType.STUDENT);</span>
<span class="fc" id="L37"> break;</span>
<span class="nc" id="L35"> this.role = new Student();</span>
<span class="nc" id="L36"> this.role.setRoleName(RoleType.STUDENT);</span>
<span class="nc" id="L37"> break;</span>
case TEACHING_ASSISTANT:
<span class="fc" id="L39"> this.role = new TeachingAssistant();</span>
<span class="fc" id="L40"> this.role.setRoleName(RoleType.TEACHING_ASSISTANT);</span>
<span class="fc" id="L41"> break;</span>
<span class="nc" id="L39"> this.role = new TeachingAssistant();</span>
<span class="nc" id="L40"> this.role.setRoleName(RoleType.TEACHING_ASSISTANT);</span>
<span class="nc" id="L41"> break;</span>
case ADMIN:
<span class="nc" id="L43"> this.role = new Admin();</span>
<span class="nc" id="L44"> this.role.setRoleName(RoleType.ADMIN);</span>
<span class="nc" id="L45"> break;</span>
default: break;
}
<span class="fc" id="L48"> }</span>
<span class="nc" id="L48"> }</span>
// public void listToString(List&lt;Timetable&gt; timetableList){
// int i = 1;
......
......@@ -14,15 +14,15 @@ public class Assignment {
private Course assignmentCourse;
private LocalDate dueDate;
private Boolean validated;
<span class="pc" id="L17"> private Set&lt;User&gt; validatedBy = new HashSet&lt;&gt;();</span>
<span class="nc" id="L17"> private Set&lt;User&gt; validatedBy = new HashSet&lt;&gt;();</span>
private User createdBy;
public String getAssignmentName() {
<span class="fc" id="L21"> return assignmentName;</span>
<span class="nc" id="L21"> return assignmentName;</span>
}
<span class="fc" id="L24"> public Assignment() {</span>
<span class="fc" id="L25"> }</span>
<span class="nc" id="L24"> public Assignment() {</span>
<span class="nc" id="L25"> }</span>
<span class="nc" id="L27"> public Assignment(String assignmentName, Course assignmentCourse, LocalDate dueDate, Boolean validated, User createdBy) {</span>
<span class="nc" id="L28"> this.assignmentName = assignmentName;</span>
......@@ -33,44 +33,44 @@ public class Assignment {
<span class="nc" id="L33"> }</span>
public void setAssignmentName(String assignmentName) {
<span class="fc" id="L36"> this.assignmentName = assignmentName;</span>
<span class="fc" id="L37"> }</span>
<span class="nc" id="L36"> this.assignmentName = assignmentName;</span>
<span class="nc" id="L37"> }</span>
public Course getAssignmentCourse() {
<span class="fc" id="L40"> return assignmentCourse;</span>
<span class="nc" id="L40"> return assignmentCourse;</span>
}
public void setAssignmentCourse(Course assignmentCourse) {
<span class="fc" id="L44"> this.assignmentCourse = assignmentCourse;</span>
<span class="fc" id="L45"> }</span>
<span class="nc" id="L44"> this.assignmentCourse = assignmentCourse;</span>
<span class="nc" id="L45"> }</span>
<span class="nc" id="L47"> public LocalDate getDueDate() { return dueDate; }</span>
<span class="nc" id="L49"> public void setDueDate(LocalDate dueDate) { this.dueDate = dueDate; }</span>
public Boolean getValidated() {
<span class="fc" id="L52"> return validationChecker();</span>
<span class="nc" id="L52"> return validationChecker();</span>
}
public void setValidated(Boolean customValidated) {
<span class="fc" id="L56"> this.validated = customValidated;</span>
<span class="fc" id="L57"> }</span>
<span class="nc" id="L56"> this.validated = customValidated;</span>
<span class="nc" id="L57"> }</span>
public Set&lt;User&gt; getValidatedBy() {
<span class="fc" id="L60"> return validatedBy;</span>
<span class="nc" id="L60"> return validatedBy;</span>
}
public void addValidatedBy(User user) {
<span class="fc" id="L64"> this.validatedBy.add(user);</span>
<span class="fc" id="L65"> }</span>
<span class="nc" id="L64"> this.validatedBy.add(user);</span>
<span class="nc" id="L65"> }</span>
public void removeValidatedBy(User user) {
<span class="fc" id="L68"> this.validatedBy.remove(user);</span>
<span class="fc" id="L69"> }</span>
<span class="nc" id="L68"> this.validatedBy.remove(user);</span>
<span class="nc" id="L69"> }</span>
public void clearValidatedBy() {
<span class="fc" id="L72"> this.validatedBy.clear();</span>
<span class="fc" id="L73"> }</span>
<span class="nc" id="L72"> this.validatedBy.clear();</span>
<span class="nc" id="L73"> }</span>
public User getCreatedBy() {
<span class="nc" id="L76"> return createdBy;</span>
......@@ -81,21 +81,21 @@ public class Assignment {
<span class="nc" id="L81"> }</span>
private Boolean validationChecker() {
<span class="fc" id="L84"> Set&lt;User&gt; bucket = new HashSet&lt;&gt;();</span>
<span class="fc bfc" id="L85" title="All 2 branches covered."> for (User u: this.validatedBy) {</span>
<span class="fc bfc" id="L86" title="All 2 branches covered."> if (u.getRole().getRoleName().equals(RoleType.STUDENT)) {</span>
<span class="fc" id="L87"> bucket.add(u);</span>
<span class="nc" id="L84"> Set&lt;User&gt; bucket = new HashSet&lt;&gt;();</span>
<span class="nc bnc" id="L85" title="All 2 branches missed."> for (User u: this.validatedBy) {</span>
<span class="nc bnc" id="L86" title="All 2 branches missed."> if (u.getRole().getRoleName().equals(RoleType.STUDENT)) {</span>
<span class="nc" id="L87"> bucket.add(u);</span>
}
<span class="fc bfc" id="L89" title="All 2 branches covered."> if (u.getRole().getRoleName().equals(RoleType.TEACHING_ASSISTANT)) {</span>
<span class="fc" id="L90"> setValidated(true);</span>
<span class="fc" id="L91"> return true;</span>
<span class="nc bnc" id="L89" title="All 2 branches missed."> if (u.getRole().getRoleName().equals(RoleType.TEACHING_ASSISTANT)) {</span>
<span class="nc" id="L90"> setValidated(true);</span>
<span class="nc" id="L91"> return true;</span>
}
<span class="fc" id="L93"> }</span>
<span class="fc bfc" id="L94" title="All 2 branches covered."> if (bucket.size() &gt;= 3 ) {</span>
<span class="fc" id="L95"> setValidated(true);</span>
<span class="fc" id="L96"> return true;</span>
<span class="nc" id="L93"> }</span>
<span class="nc bnc" id="L94" title="All 2 branches missed."> if (bucket.size() &gt;= 3 ) {</span>
<span class="nc" id="L95"> setValidated(true);</span>
<span class="nc" id="L96"> return true;</span>
}
<span class="fc" id="L98"> return false;</span>
<span class="nc" id="L98"> return false;</span>
}
@Override
......
......@@ -14,14 +14,14 @@ public class Course {
// public Course(){};
<span class="fc" id="L17"> public Course(){ assignments = new ArrayList&lt;&gt;();}</span>
<span class="nc" id="L17"> public Course(){ assignments = new ArrayList&lt;&gt;();}</span>
<span class="fc" id="L19"> public Course(String courseName, String lecturer, Time startTime, Time endTime) {</span>
<span class="fc" id="L20"> this.courseName = courseName;</span>
<span class="fc" id="L21"> this.lecturer = lecturer;</span>
<span class="fc" id="L22"> this.startTime = startTime;</span>
<span class="fc" id="L23"> this.endTime = endTime;</span>
<span class="fc" id="L24"> }</span>
<span class="nc" id="L19"> public Course(String courseName, String lecturer, Time startTime, Time endTime) {</span>
<span class="nc" id="L20"> this.courseName = courseName;</span>
<span class="nc" id="L21"> this.lecturer = lecturer;</span>
<span class="nc" id="L22"> this.startTime = startTime;</span>
<span class="nc" id="L23"> this.endTime = endTime;</span>
<span class="nc" id="L24"> }</span>
<span class="nc" id="L26"> public Course(String courseName, String lecturer, Time startTime, Time endTime, List&lt;Assignment&gt; assignments) {</span>
<span class="nc" id="L27"> this.courseName = courseName;</span>
......@@ -32,36 +32,36 @@ public class Course {
<span class="nc" id="L32"> }</span>
public String getCourseName() {
<span class="fc" id="L35"> return courseName;</span>
<span class="nc" id="L35"> return courseName;</span>
}
public void setCourseName(String courseName) {
<span class="fc" id="L39"> this.courseName = courseName;</span>
<span class="fc" id="L40"> }</span>
<span class="nc" id="L39"> this.courseName = courseName;</span>
<span class="nc" id="L40"> }</span>
public String getLecturer() {
<span class="fc" id="L43"> return lecturer;</span>
<span class="nc" id="L43"> return lecturer;</span>
}
public void setLecturer(String lecturer) {
<span class="fc" id="L47"> this.lecturer = lecturer;</span>
<span class="fc" id="L48"> }</span>
<span class="nc" id="L47"> this.lecturer = lecturer;</span>
<span class="nc" id="L48"> }</span>
public Time getStartTime() {
<span class="fc" id="L51"> return startTime;</span>
<span class="nc" id="L51"> return startTime;</span>
}
public void setStartTime(Time startTime) {
<span class="fc" id="L55"> this.startTime = startTime;</span>
<span class="fc" id="L56"> }</span>
<span class="nc" id="L55"> this.startTime = startTime;</span>
<span class="nc" id="L56"> }</span>
public Time getEndTime() {
<span class="fc" id="L59"> return endTime;</span>
<span class="nc" id="L59"> return endTime;</span>
}
public void setEndTime(Time endTime) {
<span class="fc" id="L63"> this.endTime = endTime;</span>
<span class="fc" id="L64"> }</span>
<span class="nc" id="L63"> this.endTime = endTime;</span>
<span class="nc" id="L64"> }</span>
public List&lt;Assignment&gt; getAssignments() {
<span class="nc" id="L67"> return assignments;</span>
......
......@@ -17,34 +17,34 @@ public class Timetable {
<span class="fc" id="L17"> }</span>
public User getOwner() {
<span class="fc" id="L20"> return owner;</span>
<span class="nc" id="L20"> return owner;</span>
}
public void setOwner(User owner) {
<span class="fc" id="L24"> this.owner = owner;</span>
<span class="fc" id="L25"> }</span>
<span class="nc" id="L24"> this.owner = owner;</span>
<span class="nc" id="L25"> }</span>
private User owner;
<span class="fc" id="L29"> public Timetable(String timetableName, List&lt;Course&gt; courses, User owner) {</span>
<span class="fc" id="L30"> this.timetableName = timetableName;</span>
<span class="fc" id="L31"> this.courses = courses;</span>
<span class="fc" id="L32"> this.owner = owner;</span>
<span class="fc" id="L33"> }</span>
<span class="nc" id="L29"> public Timetable(String timetableName, List&lt;Course&gt; courses, User owner) {</span>
<span class="nc" id="L30"> this.timetableName = timetableName;</span>
<span class="nc" id="L31"> this.courses = courses;</span>
<span class="nc" id="L32"> this.owner = owner;</span>
<span class="nc" id="L33"> }</span>
public String getTimetableName() {
<span class="fc" id="L36"> return timetableName;</span>
<span class="nc" id="L36"> return timetableName;</span>
}
public void setTimetableName(String timetableName) {
<span class="fc" id="L40"> this.timetableName = timetableName;</span>
<span class="fc" id="L41"> }</span>
<span class="nc" id="L40"> this.timetableName = timetableName;</span>
<span class="nc" id="L41"> }</span>
public List&lt;Course&gt; getCourses() {
<span class="fc" id="L44"> return courses;</span>
<span class="nc" id="L44"> return courses;</span>
}
<span class="fc" id="L47"> public void addCourse(Course course) { courses.add(course); }</span>
<span class="nc" id="L47"> public void addCourse(Course course) { courses.add(course); }</span>
<span class="nc" id="L49"> public void deleteCourse(Course course){ courses.remove(course); }</span>
......
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>AssignmentList</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">SiJadwal_Simple</a> &gt; <a href="index.html" class="el_package">Softeng.Group3.SiJadwal.repository</a> &gt; <span class="el_class">AssignmentList</span></div><h1>AssignmentList</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">48 of 56</td><td class="ctr2">14%</td><td class="bar">6 of 6</td><td class="ctr2">0%</td><td class="ctr1">7</td><td class="ctr2">9</td><td class="ctr1">14</td><td class="ctr2">16</td><td class="ctr1">4</td><td class="ctr2">6</td></tr></tfoot><tbody><tr><td id="a4"><a href="AssignmentList.java.html#L33" class="el_method">listToString(List)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="21" alt="21"/></td><td class="ctr2" id="c2">0%</td><td class="bar" id="d1"><img src="../jacoco-resources/redbar.gif" width="60" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">0%</td><td class="ctr1" id="f1">2</td><td class="ctr2" id="g1">2</td><td class="ctr1" id="h0">6</td><td class="ctr2" id="i0">6</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a2"><a href="AssignmentList.java.html#L19" class="el_method">getAssignment(String)</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="114" height="10" title="20" alt="20"/></td><td class="ctr2" id="c3">0%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="4" alt="4"/></td><td class="ctr2" id="e1">0%</td><td class="ctr1" id="f0">3</td><td class="ctr2" id="g0">3</td><td class="ctr1" id="h1">5</td><td class="ctr2" id="i1">5</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a0"><a href="AssignmentList.java.html#L28" class="el_method">addAssignment(String, Assignment)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/redbar.gif" width="28" height="10" title="5" alt="5"/></td><td class="ctr2" id="c4">0%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">1</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">2</td><td class="ctr2" id="i2">2</td><td class="ctr1" id="j2">1</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a3"><a href="AssignmentList.java.html#L15" class="el_method">getAssignmentList()</a></td><td class="bar" id="b3"><img src="../jacoco-resources/redbar.gif" width="11" height="10" title="2" alt="2"/></td><td class="ctr2" id="c5">0%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">1</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">1</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j3">1</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a5"><a href="AssignmentList.java.html#L12" class="el_method">static {...}</a></td><td class="bar" id="b4"><img src="../jacoco-resources/greenbar.gif" width="28" height="10" title="5" alt="5"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a1"><a href="AssignmentList.java.html#L11" class="el_method">AssignmentList()</a></td><td class="bar" id="b5"><img src="../jacoco-resources/greenbar.gif" width="17" height="10" title="3" alt="3"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.6.202009150832</span></div></body></html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>AssignmentList</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">SiJadwal_Simple</a> &gt; <a href="index.html" class="el_package">Softeng.Group3.SiJadwal.repository</a> &gt; <span class="el_class">AssignmentList</span></div><h1>AssignmentList</h1><p>A different version of class was executed at runtime.</p><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">56 of 56</td><td class="ctr2">0%</td><td class="bar">6 of 6</td><td class="ctr2">0%</td><td class="ctr1">9</td><td class="ctr2">9</td><td class="ctr1">16</td><td class="ctr2">16</td><td class="ctr1">6</td><td class="ctr2">6</td></tr></tfoot><tbody><tr><td id="a4"><a href="AssignmentList.java.html#L33" class="el_method">listToString(List)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="21" alt="21"/></td><td class="ctr2" id="c0">0%</td><td class="bar" id="d1"><img src="../jacoco-resources/redbar.gif" width="60" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">0%</td><td class="ctr1" id="f1">2</td><td class="ctr2" id="g1">2</td><td class="ctr1" id="h0">6</td><td class="ctr2" id="i0">6</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a2"><a href="AssignmentList.java.html#L19" class="el_method">getAssignment(String)</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="114" height="10" title="20" alt="20"/></td><td class="ctr2" id="c1">0%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="4" alt="4"/></td><td class="ctr2" id="e1">0%</td><td class="ctr1" id="f0">3</td><td class="ctr2" id="g0">3</td><td class="ctr1" id="h1">5</td><td class="ctr2" id="i1">5</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a0"><a href="AssignmentList.java.html#L28" class="el_method">addAssignment(String, Assignment)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/redbar.gif" width="28" height="10" title="5" alt="5"/></td><td class="ctr2" id="c2">0%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">1</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">2</td><td class="ctr2" id="i2">2</td><td class="ctr1" id="j2">1</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a5"><a href="AssignmentList.java.html#L12" class="el_method">static {...}</a></td><td class="bar" id="b3"><img src="../jacoco-resources/redbar.gif" width="28" height="10" title="5" alt="5"/></td><td class="ctr2" id="c3">0%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">1</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">1</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j3">1</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a1"><a href="AssignmentList.java.html#L11" class="el_method">AssignmentList()</a></td><td class="bar" id="b4"><img src="../jacoco-resources/redbar.gif" width="17" height="10" title="3" alt="3"/></td><td class="ctr2" id="c4">0%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">1</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">1</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">1</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a3"><a href="AssignmentList.java.html#L15" class="el_method">getAssignmentList()</a></td><td class="bar" id="b5"><img src="../jacoco-resources/redbar.gif" width="11" height="10" title="2" alt="2"/></td><td class="ctr2" id="c5">0%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">1</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">1</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j5">1</td><td class="ctr2" id="k5">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.6.202009150832</span></div></body></html>
\ No newline at end of file
......@@ -8,8 +8,8 @@ import java.sql.Time;
import java.util.ArrayList;
import java.util.List;
<span class="fc" id="L11">public class AssignmentList {</span>
<span class="fc" id="L12"> private static List&lt;Assignment&gt; assignmentList = new ArrayList&lt;&gt;();</span>