-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdetekt_report.html
87 lines (82 loc) · 1.53 KB
/
detekt_report.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>detekt report</title>
<style>
h2 {
background-color: #666666;
padding: 0.2em;
color: #ffffff;
}
h3 {
background-color:#f8dfdf;
padding:0.5em;
}
.rule {
background-color: #dddddd;
padding: 0.3em;
font-weight: bold;
}
.description {
color:#000000;
padding:0.3em;
}
.location {
color: #690505;
font-family: monospace;
}
.message {
font-size: 0.8em;
color: #444444;
}
.rule-container {
border: 0.1em dashed #dddddd;
padding: 0.1em;
line-height: 1.5em;
}
</style>
</head>
<body>
<h1>detekt report</h1>
<h2>Metrics</h2>
<ul>
<li>
number of kt files: 15
</li>
<li>
number of packages: 12
</li>
<li>
number of classes: 18
</li>
<li>
number of functions: 21
</li>
<li>
number of properties: 8
</li>
</ul>
<h2>Findings</h2>
<h3>style</h3>
<div class="rule-container">
<span class="rule">
UnnecessaryAbstractClass
</span>
<span class="description">
An abstract class is unnecessary and can be refactored. An abstract class should have both abstract and concrete properties or functions. An abstract class without a concrete member can be refactored to an interface. An abstract class without an abstract member can be refactored to a concrete class.
</span>
</div>
<ul>
<li>
<span class="location">
/Users/sergi/Documents/projects/Pokeonary/app/src/main/java/com/slg/pokeonary/domain/UseCase.kt:3:1
</span>
<br />
<span class="message">
An abstract class without a concrete member can be refactored to an interface.
</span>
</li>
</ul>
</body>
</html>