Files

482 lines
12 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<h1>BusinessException.java</h1>
<table class="src">
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_1'/>
1
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_1'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''>package com.project.auth.application.support.exception;</span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_2'/>
2
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_2'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''></span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_3'/>
3
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_3'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''>public abstract class BusinessException extends RuntimeException {</span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_4'/>
4
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_4'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''></span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_5'/>
5
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_5'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''> private final ClientFacingErrorCode errorCode;</span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_6'/>
6
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_6'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''></span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_7'/>
7
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_7'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''> protected BusinessException(ClientFacingErrorCode errorCode) {</span></pre></td></tr>
<tr>
<td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_8'/>
8
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_8'></a>
<span>
</span>
</span>
</td>
<td class='covered'><pre><span class=''> super(errorCode.message());</span></pre></td></tr>
<tr>
<td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_9'/>
9
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_9'></a>
<span>
</span>
</span>
</td>
<td class='covered'><pre><span class=''> this.errorCode = errorCode;</span></pre></td></tr>
<tr>
<td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_10'/>
10
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_10'></a>
<span>
</span>
</span>
</td>
<td class='covered'><pre><span class=''> }</span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_11'/>
11
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_11'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''></span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_12'/>
12
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_12'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''> protected BusinessException(ClientFacingErrorCode errorCode, String detailMessage) {</span></pre></td></tr>
<tr>
<td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_13'/>
13
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_13'></a>
<span>
</span>
</span>
</td>
<td class='covered'><pre><span class=''> super(detailMessage);</span></pre></td></tr>
<tr>
<td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_14'/>
14
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_14'></a>
<span>
</span>
</span>
</td>
<td class='covered'><pre><span class=''> this.errorCode = errorCode;</span></pre></td></tr>
<tr>
<td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_15'/>
15
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_15'></a>
<span>
</span>
</span>
</td>
<td class='covered'><pre><span class=''> }</span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_16'/>
16
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_16'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''></span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_17'/>
17
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_17'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''> protected BusinessException(ClientFacingErrorCode errorCode, Throwable cause) {</span></pre></td></tr>
<tr>
<td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_18'/>
18
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_18'></a>
<span>
</span>
</span>
</td>
<td class='covered'><pre><span class=''> super(errorCode.message(), cause);</span></pre></td></tr>
<tr>
<td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_19'/>
19
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_19'></a>
<span>
</span>
</span>
</td>
<td class='covered'><pre><span class=''> this.errorCode = errorCode;</span></pre></td></tr>
<tr>
<td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_20'/>
20
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_20'></a>
<span>
</span>
</span>
</td>
<td class='covered'><pre><span class=''> }</span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_21'/>
21
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_21'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''></span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_22'/>
22
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_22'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''> protected BusinessException(ClientFacingErrorCode errorCode, String detailMessage, Throwable cause) {</span></pre></td></tr>
<tr>
<td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_23'/>
23
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_23'></a>
<span>
</span>
</span>
</td>
<td class='covered'><pre><span class=''> super(detailMessage, cause);</span></pre></td></tr>
<tr>
<td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_24'/>
24
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_24'></a>
<span>
</span>
</span>
</td>
<td class='covered'><pre><span class=''> this.errorCode = errorCode;</span></pre></td></tr>
<tr>
<td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_25'/>
25
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_25'></a>
<span>
</span>
</span>
</td>
<td class='covered'><pre><span class=''> }</span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_26'/>
26
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_26'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''></span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_27'/>
27
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_27'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''> public ClientFacingErrorCode getErrorCode() {</span></pre></td></tr>
<tr>
<td class='covered'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_28'/>
28
</td>
<td class='killed'>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_28'>1</a>
<span>
1. getErrorCode : replaced return value with null for com/project/auth/application/support/exception/BusinessException::getErrorCode &rarr; KILLED<br/>
</span>
</span>
</td>
<td class='covered'><pre><span class='killed'> return errorCode;</span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_29'/>
29
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_29'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''> }</span></pre></td></tr>
<tr>
<td class='na'>
<a name='org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_30'/>
30
</td>
<td class=''>
<span class='pop'>
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_30'></a>
<span>
</span>
</span>
</td>
<td class=''><pre><span class=''>}</span></pre></td></tr>
<tr><td></td><td></td><td><h2>Mutations</h2></td></tr>
<tr>
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@7cbd9d24_28'>28</a></td>
<td></td>
<td>
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@7cbd9d24_28'/>
<p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>getErrorCode<br/><b>Killed by : </b>com.project.auth.application.support.exception.BusinessExceptionTest.[engine:junit-jupiter]/[class:com.project.auth.application.support.exception.BusinessExceptionTest]/[method:cause_constructor_preserves_cause_and_uses_error_code_message()]</span></span> replaced return value with null for com/project/auth/application/support/exception/BusinessException::getErrorCode &rarr; KILLED</span>
</div>
</td>
</tr>
</table>
<h2>Active mutators</h2>
<ul>
<li class='mutator'>CONDITIONALS_BOUNDARY</li>
<li class='mutator'>EMPTY_RETURNS</li>
<li class='mutator'>FALSE_RETURNS</li>
<li class='mutator'>INCREMENTS</li>
<li class='mutator'>INVERT_NEGS</li>
<li class='mutator'>MATH</li>
<li class='mutator'>NEGATE_CONDITIONALS</li>
<li class='mutator'>NULL_RETURNS</li>
<li class='mutator'>PRIMITIVE_RETURNS</li>
<li class='mutator'>TRUE_RETURNS</li>
<li class='mutator'>VOID_METHOD_CALLS</li>
</ul>
<h2>Tests examined</h2>
<ul>
<li>com.project.auth.application.support.exception.BusinessExceptionTest.[engine:junit-jupiter]/[class:com.project.auth.application.support.exception.BusinessExceptionTest]/[method:cause_constructor_preserves_cause_and_uses_error_code_message()] (0 ms)</li><li>com.project.auth.application.support.exception.BusinessExceptionTest.[engine:junit-jupiter]/[class:com.project.auth.application.support.exception.BusinessExceptionTest]/[method:detail_message_and_cause_constructor_preserves_both()] (1 ms)</li><li>com.project.auth.application.support.exception.BusinessExceptionTest.[engine:junit-jupiter]/[class:com.project.auth.application.support.exception.BusinessExceptionTest]/[method:detail_message_constructor_overrides_message()] (5 ms)</li><li>com.project.auth.application.support.exception.BusinessExceptionTest.[engine:junit-jupiter]/[class:com.project.auth.application.support.exception.BusinessExceptionTest]/[method:single_arg_constructor_uses_error_code_message()] (64 ms)</li>
</ul>
<br/>
Report generated by <a href='https://pitest.org'>PIT</a> 1.19.1
</body>
</html>