|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<coverage generated="1748078245"> |
3 |
| - <project timestamp="1748078245"> |
| 2 | +<coverage generated="1750146033"> |
| 3 | + <project timestamp="1750146033"> |
4 | 4 | <file name="/home/runner/work/php-local-filesystem/php-local-filesystem/src/LocalFilesystem.php">
|
5 | 5 | <class name="MaxSLab\Filesystem\Local\LocalFilesystem" namespace="global">
|
6 | 6 | <metrics complexity="44" methods="26" coveredmethods="26" conditionals="0" coveredconditionals="0" statements="82" coveredstatements="82" elements="108" coveredelements="108"/>
|
7 | 7 | </class>
|
8 |
| - <line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="32"/> |
9 |
| - <line num="58" type="stmt" count="32"/> |
10 |
| - <line num="59" type="stmt" count="32"/> |
11 |
| - <line num="60" type="stmt" count="32"/> |
12 |
| - <line num="66" type="method" name="prepareFullPath" visibility="public" complexity="1" crap="1" count="31"/> |
13 |
| - <line num="68" type="stmt" count="31"/> |
14 |
| - <line num="74" type="method" name="fileExists" visibility="public" complexity="1" crap="1" count="4"/> |
15 |
| - <line num="76" type="stmt" count="4"/> |
| 8 | + <line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="34"/> |
| 9 | + <line num="58" type="stmt" count="34"/> |
| 10 | + <line num="59" type="stmt" count="34"/> |
| 11 | + <line num="60" type="stmt" count="34"/> |
| 12 | + <line num="66" type="method" name="prepareFullPath" visibility="public" complexity="1" crap="1" count="33"/> |
| 13 | + <line num="68" type="stmt" count="33"/> |
| 14 | + <line num="74" type="method" name="fileExists" visibility="public" complexity="1" crap="1" count="6"/> |
| 15 | + <line num="76" type="stmt" count="6"/> |
16 | 16 | <line num="82" type="method" name="directoryExists" visibility="public" complexity="1" crap="1" count="4"/>
|
17 | 17 | <line num="84" type="stmt" count="4"/>
|
18 | 18 | <line num="92" type="method" name="setPermissions" visibility="public" complexity="1" crap="1" count="2"/>
|
19 | 19 | <line num="94" type="stmt" count="2"/>
|
20 |
| - <line num="102" type="method" name="getPermissions" visibility="public" complexity="2" crap="2" count="5"/> |
21 |
| - <line num="104" type="stmt" count="5"/> |
22 |
| - <line num="106" type="stmt" count="5"/> |
| 20 | + <line num="102" type="method" name="getPermissions" visibility="public" complexity="2" crap="2" count="6"/> |
| 21 | + <line num="104" type="stmt" count="6"/> |
| 22 | + <line num="106" type="stmt" count="6"/> |
23 | 23 | <line num="107" type="stmt" count="1"/>
|
24 |
| - <line num="110" type="stmt" count="4"/> |
| 24 | + <line num="110" type="stmt" count="5"/> |
25 | 25 | <line num="121" type="method" name="listPathnames" visibility="public" complexity="2" crap="2" count="2"/>
|
26 | 26 | <line num="123" type="stmt" count="2"/>
|
27 | 27 | <line num="125" type="stmt" count="2"/>
|
28 | 28 | <line num="126" type="stmt" count="1"/>
|
29 | 29 | <line num="129" type="stmt" count="1"/>
|
30 |
| - <line num="141" type="method" name="writeToFile" visibility="public" complexity="2" crap="2" count="14"/> |
31 |
| - <line num="143" type="stmt" count="14"/> |
32 |
| - <line num="145" type="stmt" count="14"/> |
33 |
| - <line num="147" type="stmt" count="14"/> |
| 30 | + <line num="141" type="method" name="writeToFile" visibility="public" complexity="2" crap="2" count="16"/> |
| 31 | + <line num="143" type="stmt" count="16"/> |
| 32 | + <line num="145" type="stmt" count="16"/> |
| 33 | + <line num="147" type="stmt" count="16"/> |
34 | 34 | <line num="148" type="stmt" count="1"/>
|
35 |
| - <line num="151" type="stmt" count="13"/> |
| 35 | + <line num="151" type="stmt" count="15"/> |
36 | 36 | <line num="161" type="method" name="readFile" visibility="public" complexity="2" crap="2" count="2"/>
|
37 | 37 | <line num="163" type="stmt" count="2"/>
|
38 | 38 | <line num="165" type="stmt" count="2"/>
|
|
90 | 90 | <line num="337" type="stmt" count="1"/>
|
91 | 91 | <line num="339" type="stmt" count="1"/>
|
92 | 92 | <line num="343" type="stmt" count="2"/>
|
93 |
| - <line num="349" type="method" name="prepareDirectoryForFile" visibility="private" complexity="2" crap="2" count="16"/> |
94 |
| - <line num="351" type="stmt" count="16"/> |
95 |
| - <line num="353" type="stmt" count="16"/> |
| 93 | + <line num="349" type="method" name="prepareDirectoryForFile" visibility="private" complexity="2" crap="2" count="18"/> |
| 94 | + <line num="351" type="stmt" count="18"/> |
| 95 | + <line num="353" type="stmt" count="18"/> |
96 | 96 | <line num="354" type="stmt" count="1"/>
|
97 |
| - <line num="357" type="stmt" count="16"/> |
98 |
| - <line num="363" type="method" name="setPermissionsByFullPath" visibility="private" complexity="2" crap="2" count="15"/> |
99 |
| - <line num="365" type="stmt" count="15"/> |
| 97 | + <line num="357" type="stmt" count="17"/> |
| 98 | + <line num="363" type="method" name="setPermissionsByFullPath" visibility="private" complexity="2" crap="2" count="17"/> |
| 99 | + <line num="365" type="stmt" count="17"/> |
100 | 100 | <line num="366" type="stmt" count="1"/>
|
101 |
| - <line num="373" type="method" name="createDirectoryByFullPath" visibility="private" complexity="2" crap="2" count="21"/> |
102 |
| - <line num="375" type="stmt" count="21"/> |
| 101 | + <line num="373" type="method" name="createDirectoryByFullPath" visibility="private" complexity="2" crap="2" count="23"/> |
| 102 | + <line num="375" type="stmt" count="23"/> |
103 | 103 | <line num="376" type="stmt" count="1"/>
|
104 | 104 | <line num="383" type="method" name="deleteDirectoryByFullPath" visibility="private" complexity="2" crap="2" count="3"/>
|
105 | 105 | <line num="385" type="stmt" count="3"/>
|
106 | 106 | <line num="386" type="stmt" count="1"/>
|
107 | 107 | <line num="393" type="method" name="deleteFileByFullPath" visibility="private" complexity="2" crap="2" count="3"/>
|
108 | 108 | <line num="395" type="stmt" count="3"/>
|
109 | 109 | <line num="396" type="stmt" count="1"/>
|
110 |
| - <line num="403" type="method" name="getDirectoryPermissionsFromParams" visibility="private" complexity="1" crap="1" count="16"/> |
111 |
| - <line num="405" type="stmt" count="16"/> |
112 |
| - <line num="411" type="method" name="getFilePermissionsFromParams" visibility="private" complexity="1" crap="1" count="13"/> |
113 |
| - <line num="413" type="stmt" count="13"/> |
| 110 | + <line num="403" type="method" name="getDirectoryPermissionsFromParams" visibility="private" complexity="1" crap="1" count="18"/> |
| 111 | + <line num="405" type="stmt" count="18"/> |
| 112 | + <line num="411" type="method" name="getFilePermissionsFromParams" visibility="private" complexity="1" crap="1" count="15"/> |
| 113 | + <line num="413" type="stmt" count="15"/> |
114 | 114 | <line num="416" type="method" name="getLastErrorAsException" visibility="private" complexity="1" crap="1" count="14"/>
|
115 | 115 | <line num="418" type="stmt" count="14"/>
|
116 | 116 | <metrics loc="421" ncloc="275" classes="1" methods="26" coveredmethods="26" conditionals="0" coveredconditionals="0" statements="82" coveredstatements="82" elements="108" coveredelements="108"/>
|
|
127 | 127 | <class name="MaxSLab\Filesystem\Local\LocalFilesystemHelper" namespace="global">
|
128 | 128 | <metrics complexity="2" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="2" elements="4" coveredelements="4"/>
|
129 | 129 | </class>
|
130 |
| - <line num="19" type="method" name="normalizePath" visibility="public" complexity="1" crap="1" count="36"/> |
131 |
| - <line num="21" type="stmt" count="36"/> |
132 |
| - <line num="24" type="method" name="filepermsToOctatValue" visibility="public" complexity="1" crap="1" count="8"/> |
133 |
| - <line num="26" type="stmt" count="8"/> |
| 130 | + <line num="19" type="method" name="normalizePath" visibility="public" complexity="1" crap="1" count="38"/> |
| 131 | + <line num="21" type="stmt" count="38"/> |
| 132 | + <line num="24" type="method" name="filepermsToOctatValue" visibility="public" complexity="1" crap="1" count="9"/> |
| 133 | + <line num="26" type="stmt" count="9"/> |
134 | 134 | <metrics loc="29" ncloc="26" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="2" elements="4" coveredelements="4"/>
|
135 | 135 | </file>
|
136 | 136 | <metrics files="3" loc="470" ncloc="318" classes="3" methods="29" coveredmethods="29" conditionals="0" coveredconditionals="0" statements="85" coveredstatements="85" elements="114" coveredelements="114"/>
|
|
0 commit comments