mysql tests
Some checks failed
Gradle CI with Full Reports / build (push) Failing after 15m12s

This commit is contained in:
Jan-Philipp Luithardt
2025-12-18 09:17:23 +01:00
parent facb0556a0
commit 7f96f50fb7
73 changed files with 1013 additions and 902 deletions

File diff suppressed because one or more lines are too long

View File

@@ -16,212 +16,208 @@ public class MySql {
private String password;
private String db;
private String host;
private String port;
private Connection connection;
<span class="fc" id="L21"> public MySql(String user, String password, String db, String host) {</span>
<span class="fc" id="L22"> this.user = user;</span>
<span class="fc" id="L23"> this.password = password;</span>
<span class="fc" id="L24"> this.db = db;</span>
<span class="fc" id="L25"> this.host = host;</span>
<span class="fc" id="L26"> }</span>
<span class="fc" id="L22"> public MySql(String user, String password, String db, String host, String port) {</span>
<span class="fc" id="L23"> this.user = user;</span>
<span class="fc" id="L24"> this.password = password;</span>
<span class="fc" id="L25"> this.db = db;</span>
<span class="fc" id="L26"> this.host = host;</span>
<span class="fc" id="L27"> this.port = port;</span>
<span class="fc" id="L28"> }</span>
public void connect() {
<span class="fc" id="L29"> String url = &quot;jdbc:mysql://&quot; + host + &quot;:3306/&quot; + db + &quot;?autoReconnect=true&amp;useSSL=false&quot;;</span>
<span class="fc" id="L31"> String url = &quot;jdbc:mysql://&quot; + host + &quot;:&quot; + port + &quot;/&quot; + db + &quot;?autoReconnect=true&amp;useSSL=false&quot;;</span>
try {
<span class="fc" id="L32"> Class.forName(&quot;com.mysql.cj.jdbc.Driver&quot;);</span>
<span class="fc" id="L33"> connection = DriverManager.getConnection(url, user, password);</span>
<span class="fc" id="L34"> } catch (SQLException e) {</span>
<span class="fc" id="L35"> throw new SQLNoConectionException(&quot;Cant connect to the database&quot;);</span>
<span class="nc" id="L36"> } catch (ClassNotFoundException e) {</span>
<span class="nc" id="L37"> throw new SQLNoConectionException(&quot;Cant connect to the database: Driver class not found!&quot;);</span>
<span class="fc" id="L38"> }</span>
<span class="fc" id="L39"> }</span>
<span class="fc" id="L34"> Class.forName(&quot;com.mysql.cj.jdbc.Driver&quot;);</span>
<span class="fc" id="L35"> connection = DriverManager.getConnection(url, user, password);</span>
<span class="fc" id="L36"> } catch (SQLException e) {</span>
<span class="fc" id="L37"> throw new SQLNoConectionException(&quot;Cant connect to the database&quot;, e);</span>
<span class="nc" id="L38"> } catch (ClassNotFoundException e) {</span>
<span class="nc" id="L39"> throw new SQLNoConectionException(&quot;Cant connect to the database: Driver class not found!&quot;, e);</span>
<span class="fc" id="L40"> }</span>
<span class="fc" id="L41"> }</span>
public void reset() {
<span class="fc bfc" id="L44" title="All 2 branches covered."> if(connection == null) {</span>
<span class="fc" id="L45"> throw new NullPointerException(&quot;You must first connect to the Database.&quot;);</span>
}
try {
<span class="fc" id="L43"> PreparedStatement stmt = connection.prepareStatement(&quot;TRUNCATE task&quot;);</span>
<span class="fc" id="L44"> stmt.executeUpdate();</span>
<span class="nc" id="L45"> } catch (SQLException e) {</span>
<span class="nc" id="L46"> throw new SQLStatmentException(&quot;Cant insert data in database&quot;);</span>
<span class="fc" id="L47"> }</span>
<span class="fc" id="L48"> }</span>
<span class="fc" id="L48"> PreparedStatement stmt = connection.prepareStatement(&quot;TRUNCATE task&quot;);</span>
<span class="fc" id="L49"> stmt.executeUpdate();</span>
<span class="fc" id="L50"> } catch (SQLException e) {</span>
<span class="fc" id="L51"> throw new SQLStatmentException(&quot;Cant insert data in database&quot;);</span>
<span class="fc" id="L52"> }</span>
<span class="fc" id="L53"> }</span>
public int createTask(String name, String description) {
<span class="fc bfc" id="L56" title="All 2 branches covered."> if(connection == null) {</span>
<span class="fc" id="L57"> throw new NullPointerException(&quot;You must first connect to the Database.&quot;);</span>
}
try {
<span class="fc" id="L52"> PreparedStatement stmt = connection.prepareStatement(&quot;INSERT INTO task ( taskName, taskDescription) VALUES ( ? , ? )&quot;, Statement.RETURN_GENERATED_KEYS);</span>
<span class="fc" id="L53"> stmt.setString(1, name);</span>
<span class="fc" id="L54"> stmt.setString(2, description);</span>
<span class="fc" id="L55"> stmt.executeUpdate();</span>
<span class="fc" id="L56"> ResultSet rs = stmt.getGeneratedKeys();</span>
<span class="pc bpc" id="L57" title="1 of 2 branches missed."> if(rs.next()) {</span>
<span class="fc" id="L58"> return rs.getInt(1);</span>
<span class="fc" id="L60"> PreparedStatement stmt = connection.prepareStatement(&quot;INSERT INTO task ( taskName, taskDescription) VALUES ( ? , ? )&quot;, Statement.RETURN_GENERATED_KEYS);</span>
<span class="fc" id="L61"> stmt.setString(1, name);</span>
<span class="fc" id="L62"> stmt.setString(2, description);</span>
<span class="fc" id="L63"> stmt.executeUpdate();</span>
<span class="fc" id="L64"> ResultSet rs = stmt.getGeneratedKeys();</span>
<span class="pc bpc" id="L65" title="1 of 2 branches missed."> if(rs.next()) {</span>
<span class="fc" id="L66"> return rs.getInt(1);</span>
}else{
<span class="nc" id="L60"> throw new SQLStatmentException(&quot;Can insert data but not select&quot;);</span>
<span class="nc" id="L68"> throw new SQLStatmentException(&quot;Can insert data but not select&quot;);</span>
}
<span class="nc" id="L62"> } catch (SQLException e) {</span>
<span class="nc" id="L63"> throw new SQLStatmentException(&quot;Cant insert data in database&quot;);</span>
<span class="fc" id="L70"> } catch (SQLException e) {</span>
<span class="fc" id="L71"> throw new SQLStatmentException(&quot;Cant insert data in database&quot;);</span>
}
}
// public void deleteTask(int id) {
// try {
// PreparedStatement stmt = connection.prepareStatement(&quot;DELETE task WHERE taskID=?&quot;);
// stmt.setString(1, &quot;&quot;+id);
// stmt.executeUpdate();
// } catch (SQLException e) {
// throw new SQLStatmentException(&quot;Cant delete data in database&quot;);
// }
// }
public boolean existTask(String name) {
<span class="fc bfc" id="L77" title="All 2 branches covered."> if(connection == null) {</span>
<span class="fc" id="L78"> throw new NullPointerException(&quot;You must first connect to the Database.&quot;);</span>
}
try {
<span class="fc" id="L79"> PreparedStatement stmt = connection.prepareStatement(&quot;Select * FROM task WHERE taskName=?&quot;);</span>
<span class="fc" id="L80"> stmt.setString(1, name);</span>
<span class="fc" id="L81"> ResultSet rs = stmt.executeQuery();</span>
<span class="fc" id="L82"> return rs.next();</span>
<span class="nc" id="L83"> } catch (SQLException e) {</span>
<span class="nc" id="L84"> throw new SQLStatmentException(&quot;Cant select data from database&quot;);</span>
<span class="fc" id="L81"> PreparedStatement stmt = connection.prepareStatement(&quot;Select * FROM task WHERE taskName=?&quot;);</span>
<span class="fc" id="L82"> stmt.setString(1, name);</span>
<span class="fc" id="L83"> ResultSet rs = stmt.executeQuery();</span>
<span class="fc" id="L84"> return rs.next();</span>
<span class="fc" id="L85"> } catch (SQLException e) {</span>
<span class="fc" id="L86"> throw new SQLStatmentException(&quot;Cant select data from database&quot;);</span>
}
}
public boolean existTask(int id) {
<span class="fc bfc" id="L91" title="All 2 branches covered."> if(connection == null) {</span>
<span class="fc" id="L92"> throw new NullPointerException(&quot;You must first connect to the Database.&quot;);</span>
}
try {
<span class="fc" id="L90"> PreparedStatement stmt = connection.prepareStatement(&quot;Select * FROM task WHERE taskID=?&quot;);</span>
<span class="fc" id="L91"> stmt.setString(1, &quot;&quot;+id);</span>
<span class="fc" id="L92"> ResultSet rs = stmt.executeQuery();</span>
<span class="fc" id="L93"> return rs.next();</span>
<span class="nc" id="L94"> } catch (SQLException e) {</span>
<span class="nc" id="L95"> throw new SQLStatmentException(&quot;Cant select data from database&quot;);</span>
<span class="fc" id="L95"> PreparedStatement stmt = connection.prepareStatement(&quot;Select * FROM task WHERE taskID=?&quot;);</span>
<span class="fc" id="L96"> stmt.setString(1, &quot;&quot;+id);</span>
<span class="fc" id="L97"> ResultSet rs = stmt.executeQuery();</span>
<span class="fc" id="L98"> return rs.next();</span>
<span class="fc" id="L99"> } catch (SQLException e) {</span>
<span class="fc" id="L100"> throw new SQLStatmentException(&quot;Cant select data from database&quot;);</span>
}
}
public void deleteTask(String name) {
<span class="fc bfc" id="L105" title="All 2 branches covered."> if(connection == null) {</span>
<span class="fc" id="L106"> throw new NullPointerException(&quot;You must first connect to the Database.&quot;);</span>
}
try {
<span class="fc" id="L101"> PreparedStatement stmt = connection.prepareStatement(&quot;DELETE FROM task WHERE taskName=?&quot;);</span>
<span class="fc" id="L102"> stmt.setString(1, name);</span>
<span class="fc" id="L103"> stmt.executeUpdate();</span>
<span class="nc" id="L104"> } catch (SQLException e) {</span>
<span class="nc" id="L105"> throw new SQLStatmentException(&quot;Cant delete data in database&quot;);</span>
<span class="fc" id="L106"> }</span>
<span class="fc" id="L107"> }</span>
<span class="fc" id="L109"> PreparedStatement stmt = connection.prepareStatement(&quot;DELETE FROM task WHERE taskName=?&quot;);</span>
<span class="fc" id="L110"> stmt.setString(1, name);</span>
<span class="fc" id="L111"> stmt.executeUpdate();</span>
<span class="fc" id="L112"> } catch (SQLException e) {</span>
<span class="fc" id="L113"> throw new SQLStatmentException(&quot;Cant delete data in database&quot;);</span>
<span class="fc" id="L114"> }</span>
<span class="fc" id="L115"> }</span>
public void updateDescription(int id, String description) {
<span class="fc bfc" id="L118" title="All 2 branches covered."> if(connection == null) {</span>
<span class="fc" id="L119"> throw new NullPointerException(&quot;You must first connect to the Database.&quot;);</span>
}
try {
<span class="fc" id="L111"> PreparedStatement stmt = connection.prepareStatement(&quot;UPDATE task SET taskDescription=? WHERE taskID=?&quot;);</span>
<span class="fc" id="L112"> stmt.setString(1, description);</span>
<span class="fc" id="L113"> stmt.setString(2, &quot;&quot;+id);</span>
<span class="fc" id="L114"> stmt.executeUpdate();</span>
<span class="fc" id="L122"> PreparedStatement stmt = connection.prepareStatement(&quot;UPDATE task SET taskDescription=? WHERE taskID=?&quot;);</span>
<span class="fc" id="L123"> stmt.setString(1, description);</span>
<span class="fc" id="L124"> stmt.setString(2, &quot;&quot;+id);</span>
<span class="fc" id="L125"> stmt.executeUpdate();</span>
<span class="fc" id="L127"> } catch (SQLException e) {</span>
<span class="fc" id="L128"> throw new SQLStatmentException(&quot;Cant update data in database&quot;);</span>
<span class="fc" id="L129"> }</span>
<span class="fc" id="L130"> }</span>
<span class="nc" id="L116"> } catch (SQLException e) {</span>
<span class="nc" id="L117"> throw new SQLStatmentException(&quot;Cant update data in database&quot;);</span>
<span class="fc" id="L118"> }</span>
<span class="fc" id="L119"> }</span>
// public void updateDescription(String name, String description) {
// try {
// PreparedStatement stmt = connection.prepareStatement(&quot;UPDATE task SET taskDescription=? WHERE taskName=?&quot;);
// stmt.setString(1, description);
// stmt.setString(2, name);
// stmt.executeUpdate();
//
// } catch (SQLException e) {
// throw new SQLStatmentException(&quot;Cant update data in database&quot;);
// }
// }
public void updateStatus(int id, TaskStatus status) {
<span class="fc bfc" id="L133" title="All 2 branches covered."> if(connection == null) {</span>
<span class="fc" id="L134"> throw new NullPointerException(&quot;You must first connect to the Database.&quot;);</span>
}
try {
<span class="fc" id="L133"> PreparedStatement stmt = connection.prepareStatement(&quot;UPDATE task SET taskStatus=? WHERE taskID=?&quot;);</span>
<span class="fc" id="L134"> stmt.setString(1, status.name());</span>
<span class="fc" id="L135"> stmt.setString(2, &quot;&quot;+id);</span>
<span class="fc" id="L136"> stmt.executeUpdate();</span>
<span class="fc" id="L137"> PreparedStatement stmt = connection.prepareStatement(&quot;UPDATE task SET taskStatus=? WHERE taskID=?&quot;);</span>
<span class="fc" id="L138"> stmt.setString(1, status.name());</span>
<span class="fc" id="L139"> stmt.setString(2, &quot;&quot;+id);</span>
<span class="fc" id="L140"> stmt.executeUpdate();</span>
<span class="fc" id="L142"> } catch (SQLException e) {</span>
<span class="fc" id="L143"> throw new SQLStatmentException(&quot;Cant update data in database&quot;);</span>
<span class="fc" id="L144"> }</span>
<span class="fc" id="L145"> }</span>
<span class="nc" id="L138"> } catch (SQLException e) {</span>
<span class="nc" id="L139"> throw new SQLStatmentException(&quot;Cant update data in database&quot;);</span>
<span class="fc" id="L140"> }</span>
<span class="fc" id="L141"> }</span>
// public void updateStatus(String name, TaskStatus status) {
// try {
// PreparedStatement stmt = connection.prepareStatement(&quot;UPDATE task SET taskStatus=? WHERE taskName=?&quot;);
// stmt.setString(1, status.name());
// stmt.setString(2, name);
// stmt.executeUpdate();
//
// } catch (SQLException e) {
// throw new SQLStatmentException(&quot;Cant update data in database&quot;);
// }
// }
public void updateWorker(int id, String worker) {
<span class="fc bfc" id="L149" title="All 2 branches covered."> if(connection == null) {</span>
<span class="fc" id="L150"> throw new NullPointerException(&quot;You must first connect to the Database.&quot;);</span>
}
try {
<span class="fc" id="L156"> PreparedStatement stmt = connection.prepareStatement(&quot;UPDATE task SET taskWorker=? WHERE taskID=?&quot;);</span>
<span class="fc" id="L157"> stmt.setString(1, worker);</span>
<span class="fc" id="L158"> stmt.setString(2, &quot;&quot;+id);</span>
<span class="fc" id="L159"> stmt.executeUpdate();</span>
<span class="fc" id="L153"> PreparedStatement stmt = connection.prepareStatement(&quot;UPDATE task SET taskWorker=? WHERE taskID=?&quot;);</span>
<span class="fc" id="L154"> stmt.setString(1, worker);</span>
<span class="fc" id="L155"> stmt.setString(2, &quot;&quot;+id);</span>
<span class="fc" id="L156"> stmt.executeUpdate();</span>
<span class="fc" id="L158"> } catch (SQLException e) {</span>
<span class="fc" id="L159"> throw new SQLStatmentException(&quot;Cant update data in database&quot;);</span>
<span class="fc" id="L160"> }</span>
<span class="fc" id="L161"> }</span>
<span class="nc" id="L161"> } catch (SQLException e) {</span>
<span class="nc" id="L162"> throw new SQLStatmentException(&quot;Cant update data in database&quot;);</span>
<span class="fc" id="L163"> }</span>
<span class="fc" id="L164"> }</span>
// public void updateWorker(String name, String worker) {
// try {
// PreparedStatement stmt = connection.prepareStatement(&quot;UPDATE task SET taskWorker=? WHERE taskName=?&quot;);
// stmt.setString(1, worker);
// stmt.setString(2, name);
// stmt.executeUpdate();
//
// } catch (SQLException e) {
// throw new SQLStatmentException(&quot;Cant update data in database&quot;);
// }
// }
public Task getTask(int id) {
<span class="fc bfc" id="L166" title="All 2 branches covered."> if(connection == null) {</span>
<span class="fc" id="L167"> throw new NullPointerException(&quot;You must first connect to the Database.&quot;);</span>
}
try {
<span class="fc" id="L180"> PreparedStatement stmt = connection.prepareStatement(&quot;SELECT * FROM task WHERE taskID=?&quot;);</span>
<span class="fc" id="L181"> stmt.setString(1, &quot;&quot;+id);</span>
<span class="fc" id="L182"> ResultSet rs = stmt.executeQuery();</span>
<span class="pc bpc" id="L183" title="1 of 2 branches missed."> if(rs.next()) {</span>
<span class="fc" id="L184"> return getTaskFromDatabase(rs);</span>
<span class="fc" id="L170"> PreparedStatement stmt = connection.prepareStatement(&quot;SELECT * FROM task WHERE taskID=?&quot;);</span>
<span class="fc" id="L171"> stmt.setString(1, &quot;&quot;+id);</span>
<span class="fc" id="L172"> ResultSet rs = stmt.executeQuery();</span>
<span class="fc bfc" id="L173" title="All 2 branches covered."> if(rs.next()) {</span>
<span class="fc" id="L174"> return getTaskFromDatabase(rs);</span>
} else {
<span class="nc" id="L186"> throw new TaskNotExistsException(&quot;No Task found in databse with id: &quot; + id);</span>
<span class="fc" id="L176"> throw new TaskNotExistsException(&quot;No Task found in databse with id: &quot; + id);</span>
}
<span class="nc" id="L188"> } catch (SQLException e) {</span>
<span class="nc" id="L189"> throw new SQLStatmentException(&quot;Cant select data from database&quot;);</span>
<span class="fc" id="L178"> } catch (SQLException e) {</span>
<span class="fc" id="L179"> throw new SQLStatmentException(&quot;Cant select data from database&quot;);</span>
}
}
public Task getTask(String name) {
<span class="fc bfc" id="L183" title="All 2 branches covered."> if(connection == null) {</span>
<span class="fc" id="L184"> throw new NullPointerException(&quot;You must first connect to the Database.&quot;);</span>
}
try {
<span class="fc" id="L194"> PreparedStatement stmt = connection.prepareStatement(&quot;SELECT * FROM task WHERE taskName=?&quot;);</span>
<span class="fc" id="L195"> stmt.setString(1, name);</span>
<span class="fc" id="L196"> ResultSet rs = stmt.executeQuery();</span>
<span class="pc bpc" id="L197" title="1 of 2 branches missed."> if(rs.next()) {</span>
<span class="fc" id="L198"> return getTaskFromDatabase(rs);</span>
<span class="fc" id="L187"> PreparedStatement stmt = connection.prepareStatement(&quot;SELECT * FROM task WHERE taskName=?&quot;);</span>
<span class="fc" id="L188"> stmt.setString(1, name);</span>
<span class="fc" id="L189"> ResultSet rs = stmt.executeQuery();</span>
<span class="fc bfc" id="L190" title="All 2 branches covered."> if(rs.next()) {</span>
<span class="fc" id="L191"> return getTaskFromDatabase(rs);</span>
}else{
<span class="nc" id="L200"> throw new TaskNotExistsException(&quot;No Task found in databse with name: &quot; + name);</span>
<span class="fc" id="L193"> throw new TaskNotExistsException(&quot;No Task found in databse with name: &quot; + name);</span>
}
<span class="nc" id="L203"> } catch (SQLException e) {</span>
<span class="nc" id="L204"> throw new SQLStatmentException(&quot;Cant select data from database&quot;);</span>
<span class="fc" id="L196"> } catch (SQLException e) {</span>
<span class="fc" id="L197"> throw new SQLStatmentException(&quot;Cant select data from database&quot;);</span>
}
}
public List&lt;Task&gt; getTaskList() {
<span class="fc bfc" id="L202" title="All 2 branches covered."> if(connection == null) {</span>
<span class="fc" id="L203"> throw new NullPointerException(&quot;You must first connect to the Database.&quot;);</span>
}
try {
<span class="fc" id="L210"> PreparedStatement stmt = connection.prepareStatement(&quot;SELECT * FROM task&quot;);</span>
<span class="fc" id="L211"> ResultSet rs = stmt.executeQuery();</span>
<span class="fc" id="L212"> List&lt;Task&gt; taskList = new ArrayList&lt;&gt;();</span>
<span class="fc bfc" id="L213" title="All 2 branches covered."> while(rs.next()) {</span>
<span class="fc" id="L214"> taskList.add(getTaskFromDatabase(rs));</span>
<span class="fc" id="L206"> PreparedStatement stmt = connection.prepareStatement(&quot;SELECT * FROM task&quot;);</span>
<span class="fc" id="L207"> ResultSet rs = stmt.executeQuery();</span>
<span class="fc" id="L208"> List&lt;Task&gt; taskList = new ArrayList&lt;&gt;();</span>
<span class="fc bfc" id="L209" title="All 2 branches covered."> while(rs.next()) {</span>
<span class="fc" id="L210"> taskList.add(getTaskFromDatabase(rs));</span>
}
<span class="fc" id="L216"> return taskList;</span>
<span class="nc" id="L217"> } catch (SQLException e) {</span>
<span class="nc" id="L218"> throw new SQLStatmentException(&quot;Cant select data from database&quot;);</span>
<span class="fc" id="L212"> return taskList;</span>
<span class="fc" id="L213"> } catch (SQLException e) {</span>
<span class="fc" id="L214"> throw new SQLStatmentException(&quot;Cant select data from database&quot;);</span>
}
}
private Task getTaskFromDatabase(ResultSet rs) throws SQLException {
<span class="fc" id="L223"> Task task = new Task(rs.getInt(&quot;taskID&quot;), rs.getString(&quot;taskName&quot;), rs.getString(&quot;taskDescription&quot;), rs.getString(&quot;taskWorker&quot;),TaskStatus.valueOf(rs.getString(&quot;taskStatus&quot;)), this);</span>
<span class="fc" id="L224"> return task;</span>
<span class="fc" id="L219"> Task task = new Task(rs.getInt(&quot;taskID&quot;), rs.getString(&quot;taskName&quot;), rs.getString(&quot;taskDescription&quot;), rs.getString(&quot;taskWorker&quot;),TaskStatus.valueOf(rs.getString(&quot;taskStatus&quot;)), this);</span>
<span class="fc" id="L220"> return task;</span>
}
}
</pre><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.13.202504020838</span></div></body></html>

View File

@@ -1 +1 @@
<?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="de"><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>hhn.temp.project.provider</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.source.html" class="el_source">Source Files</a><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">GSE2TaskTracker</a> &gt; <span class="el_package">hhn.temp.project.provider</span></div><h1>hhn.temp.project.provider</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><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick="toggleSort(this)">Classes</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">89 of 355</td><td class="ctr2">74 %</td><td class="bar">3 of 8</td><td class="ctr2">62 %</td><td class="ctr1">3</td><td class="ctr2">18</td><td class="ctr1">27</td><td class="ctr2">100</td><td class="ctr1">0</td><td class="ctr2">14</td><td class="ctr1">0</td><td class="ctr2">1</td></tr></tfoot><tbody><tr><td id="a0"><a href="MySql.html" class="el_class">MySql</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="30" height="10" title="89" alt="89"/><img src="../jacoco-resources/greenbar.gif" width="89" height="10" title="266" alt="266"/></td><td class="ctr2" id="c0">74 %</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="45" height="10" title="3" alt="3"/><img src="../jacoco-resources/greenbar.gif" width="75" height="10" title="5" alt="5"/></td><td class="ctr2" id="e0">62 %</td><td class="ctr1" id="f0">3</td><td class="ctr2" id="g0">18</td><td class="ctr1" id="h0">27</td><td class="ctr2" id="i0">100</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">14</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.13.202504020838</span></div></body></html>
<?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="de"><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>hhn.temp.project.provider</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.source.html" class="el_source">Source Files</a><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">GSE2TaskTracker</a> &gt; <span class="el_package">hhn.temp.project.provider</span></div><h1>hhn.temp.project.provider</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><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick="toggleSort(this)">Classes</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">12 of 450</td><td class="ctr2">97 %</td><td class="bar">1 of 30</td><td class="ctr2">96 %</td><td class="ctr1">1</td><td class="ctr2">29</td><td class="ctr1">3</td><td class="ctr2">123</td><td class="ctr1">0</td><td class="ctr2">14</td><td class="ctr1">0</td><td class="ctr2">1</td></tr></tfoot><tbody><tr><td id="a0"><a href="MySql.html" class="el_class">MySql</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="3" height="10" title="12" alt="12"/><img src="../jacoco-resources/greenbar.gif" width="116" height="10" title="438" alt="438"/></td><td class="ctr2" id="c0">97 %</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="4" height="10" title="1" alt="1"/><img src="../jacoco-resources/greenbar.gif" width="116" height="10" title="29" alt="29"/></td><td class="ctr2" id="e0">96 %</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g0">29</td><td class="ctr1" id="h0">3</td><td class="ctr2" id="i0">123</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">14</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.13.202504020838</span></div></body></html>

View File

@@ -1 +1 @@
<?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="de"><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>hhn.temp.project.provider</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.html" class="el_class">Classes</a><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">GSE2TaskTracker</a> &gt; <span class="el_package">hhn.temp.project.provider</span></div><h1>hhn.temp.project.provider</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><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick="toggleSort(this)">Classes</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">89 of 355</td><td class="ctr2">74 %</td><td class="bar">3 of 8</td><td class="ctr2">62 %</td><td class="ctr1">3</td><td class="ctr2">18</td><td class="ctr1">27</td><td class="ctr2">100</td><td class="ctr1">0</td><td class="ctr2">14</td><td class="ctr1">0</td><td class="ctr2">1</td></tr></tfoot><tbody><tr><td id="a0"><a href="MySql.java.html" class="el_source">MySql.java</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="30" height="10" title="89" alt="89"/><img src="../jacoco-resources/greenbar.gif" width="89" height="10" title="266" alt="266"/></td><td class="ctr2" id="c0">74 %</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="45" height="10" title="3" alt="3"/><img src="../jacoco-resources/greenbar.gif" width="75" height="10" title="5" alt="5"/></td><td class="ctr2" id="e0">62 %</td><td class="ctr1" id="f0">3</td><td class="ctr2" id="g0">18</td><td class="ctr1" id="h0">27</td><td class="ctr2" id="i0">100</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">14</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.13.202504020838</span></div></body></html>
<?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="de"><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>hhn.temp.project.provider</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.html" class="el_class">Classes</a><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">GSE2TaskTracker</a> &gt; <span class="el_package">hhn.temp.project.provider</span></div><h1>hhn.temp.project.provider</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><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick="toggleSort(this)">Classes</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">12 of 450</td><td class="ctr2">97 %</td><td class="bar">1 of 30</td><td class="ctr2">96 %</td><td class="ctr1">1</td><td class="ctr2">29</td><td class="ctr1">3</td><td class="ctr2">123</td><td class="ctr1">0</td><td class="ctr2">14</td><td class="ctr1">0</td><td class="ctr2">1</td></tr></tfoot><tbody><tr><td id="a0"><a href="MySql.java.html" class="el_source">MySql.java</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="3" height="10" title="12" alt="12"/><img src="../jacoco-resources/greenbar.gif" width="116" height="10" title="438" alt="438"/></td><td class="ctr2" id="c0">97 %</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="4" height="10" title="1" alt="1"/><img src="../jacoco-resources/greenbar.gif" width="116" height="10" title="29" alt="29"/></td><td class="ctr2" id="e0">96 %</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g0">29</td><td class="ctr1" id="h0">3</td><td class="ctr2" id="i0">123</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">14</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.13.202504020838</span></div></body></html>