-
Notifications
You must be signed in to change notification settings - Fork 3
/
coverage.clover
138 lines (138 loc) · 9.71 KB
/
coverage.clover
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1585424195">
<project timestamp="1585424195">
<file name="/Users/midorikocak/Documents/src/nano-auth/src/AuthInterface.php">
<metrics loc="16" ncloc="16" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
<package name="midorikocak\nanoauth">
<file name="/Users/midorikocak/Documents/src/nano-auth/src/Authentication.php">
<class name="midorikocak\nanoauth\Authentication" namespace="midorikocak\nanoauth">
<metrics complexity="10" methods="6" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="20" coveredstatements="16" elements="26" coveredelements="19"/>
</class>
<line num="20" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="6"/>
<line num="22" type="stmt" count="6"/>
<line num="23" type="stmt" count="6"/>
<line num="25" type="method" name="login" visibility="public" complexity="3" crap="3.02" count="4"/>
<line num="27" type="stmt" count="4"/>
<line num="28" type="stmt" count="4"/>
<line num="29" type="stmt" count="4"/>
<line num="34" type="stmt" count="4"/>
<line num="36" type="stmt" count="4"/>
<line num="37" type="stmt" count="4"/>
<line num="38" type="stmt" count="4"/>
<line num="41" type="stmt" count="0"/>
<line num="44" type="method" name="logout" visibility="public" complexity="2" crap="2.15" count="2"/>
<line num="46" type="stmt" count="2"/>
<line num="47" type="stmt" count="0"/>
<line num="49" type="stmt" count="2"/>
<line num="51" type="method" name="isLogged" visibility="public" complexity="1" crap="1" count="5"/>
<line num="53" type="stmt" count="5"/>
<line num="59" type="method" name="getLoggedUser" visibility="public" complexity="1" crap="1" count="2"/>
<line num="61" type="stmt" count="2"/>
<line num="64" type="method" name="register" visibility="public" complexity="2" crap="2.26" count="1"/>
<line num="67" type="stmt" count="1"/>
<line num="69" type="stmt" count="1"/>
<line num="70" type="stmt" count="1"/>
<line num="71" type="stmt" count="0"/>
<line num="72" type="stmt" count="0"/>
<metrics loc="75" ncloc="69" classes="1" methods="6" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="20" coveredstatements="16" elements="26" coveredelements="19"/>
</file>
<file name="/Users/midorikocak/Documents/src/nano-auth/src/AuthorizationTrait.php">
<class name="AuthorizationTrait" namespace="midorikocak\nanoauth">
<metrics complexity="6" methods="3" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="6" coveredstatements="6" elements="9" coveredelements="9"/>
</class>
<line num="11" type="method" name="checkLogin" visibility="public" complexity="3" crap="3" count="2"/>
<line num="13" type="stmt" count="2"/>
<line num="14" type="stmt" count="1"/>
<line num="17" type="stmt" count="1"/>
<line num="20" type="method" name="getAuthentication" visibility="public" complexity="2" crap="2" count="1"/>
<line num="22" type="stmt" count="1"/>
<line num="25" type="method" name="setAuthentication" visibility="public" complexity="1" crap="1" count="2"/>
<line num="27" type="stmt" count="2"/>
<line num="28" type="stmt" count="2"/>
<metrics loc="29" ncloc="29" classes="1" methods="3" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="6" coveredstatements="6" elements="9" coveredelements="9"/>
</file>
<file name="/Users/midorikocak/Documents/src/nano-auth/src/UnauthorizedException.php">
<class name="midorikocak\nanoauth\UnauthorizedException" namespace="midorikocak\nanoauth">
<metrics complexity="2" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="4" elements="5" coveredelements="5"/>
</class>
<line num="11" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="1"/>
<line num="13" type="stmt" count="1"/>
<line num="14" type="stmt" count="1"/>
<line num="16" type="stmt" count="1"/>
<line num="17" type="stmt" count="1"/>
<metrics loc="18" ncloc="18" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="4" elements="5" coveredelements="5"/>
</file>
<file name="/Users/midorikocak/Documents/src/nano-auth/src/User.php">
<class name="midorikocak\nanoauth\User" namespace="midorikocak\nanoauth">
<metrics complexity="9" methods="6" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="12" elements="19" coveredelements="17"/>
</class>
<line num="19" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="4"/>
<line num="21" type="stmt" count="4"/>
<line num="22" type="stmt" count="4"/>
<line num="23" type="stmt" count="4"/>
<line num="24" type="stmt" count="4"/>
<line num="25" type="stmt" count="4"/>
<line num="27" type="method" name="getPassword" visibility="public" complexity="1" crap="1" count="4"/>
<line num="29" type="stmt" count="4"/>
<line num="32" type="method" name="getUsername" visibility="public" complexity="1" crap="1" count="1"/>
<line num="34" type="stmt" count="1"/>
<line num="37" type="method" name="getEmail" visibility="public" complexity="1" crap="1" count="1"/>
<line num="39" type="stmt" count="1"/>
<line num="42" type="method" name="getId" visibility="public" complexity="2" crap="2" count="1"/>
<line num="44" type="stmt" count="1"/>
<line num="50" type="method" name="setId" visibility="public" complexity="2" crap="2.06" count="1"/>
<line num="52" type="stmt" count="1"/>
<line num="53" type="stmt" count="0"/>
<line num="56" type="stmt" count="1"/>
<line num="57" type="stmt" count="1"/>
<metrics loc="58" ncloc="55" classes="1" methods="6" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="12" elements="19" coveredelements="17"/>
</file>
<file name="/Users/midorikocak/Documents/src/nano-auth/src/UserRepository.php">
<class name="midorikocak\nanoauth\UserRepository" namespace="midorikocak\nanoauth">
<metrics complexity="9" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="24" coveredstatements="11" elements="29" coveredelements="12"/>
</class>
<line num="19" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="6"/>
<line num="21" type="stmt" count="6"/>
<line num="22" type="stmt" count="6"/>
<line num="28" type="method" name="read" visibility="public" complexity="2" crap="6" count="0"/>
<line num="30" type="stmt" count="0"/>
<line num="31" type="stmt" count="0"/>
<line num="32" type="stmt" count="0"/>
<line num="34" type="stmt" count="0"/>
<line num="37" type="method" name="readAll" visibility="public" complexity="3" crap="3.07" count="4"/>
<line num="39" type="stmt" count="4"/>
<line num="40" type="stmt" count="4"/>
<line num="42" type="stmt" count="0"/>
<line num="44" type="stmt" count="4"/>
<line num="45" type="stmt" count="4"/>
<line num="52" type="method" name="save" visibility="public" complexity="2" crap="2.50" count="1"/>
<line num="54" type="stmt" count="1"/>
<line num="55" type="stmt" count="0"/>
<line num="56" type="stmt" count="0"/>
<line num="57" type="stmt" count="0"/>
<line num="58" type="stmt" count="0"/>
<line num="59" type="stmt" count="0"/>
<line num="62" type="stmt" count="1"/>
<line num="64" type="stmt" count="1"/>
<line num="65" type="stmt" count="1"/>
<line num="66" type="stmt" count="1"/>
<line num="72" type="method" name="remove" visibility="public" complexity="1" crap="2" count="0"/>
<line num="74" type="stmt" count="0"/>
<line num="75" type="stmt" count="0"/>
<line num="76" type="stmt" count="0"/>
<metrics loc="78" ncloc="67" classes="1" methods="5" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="24" coveredstatements="11" elements="29" coveredelements="12"/>
</file>
</package>
<file name="/Users/midorikocak/Documents/src/nano-auth/src/AuthenticationInterface.php">
<metrics loc="19" ncloc="16" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
<file name="/Users/midorikocak/Documents/src/nano-auth/src/RegisterableInterface.php">
<metrics loc="10" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
<file name="/Users/midorikocak/Documents/src/nano-auth/src/UserInterface.php">
<metrics loc="18" ncloc="18" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
<metrics files="9" loc="321" ncloc="298" classes="5" methods="21" coveredmethods="13" conditionals="0" coveredconditionals="0" statements="67" coveredstatements="49" elements="88" coveredelements="62"/>
</project>
</coverage>