Class | Coverage |
---|---|
PrivateBin\Data\S3Storage | 0% |
PrivateBin\Data\GoogleCloudStorage | 79% |
Class | CRAP |
---|---|
PrivateBin\Data\S3Storage | 4692 |
PrivateBin\Data\GoogleCloudStorage | 105 |
Method | Coverage |
---|---|
getAllPastes | 0% |
getAllPastes | 0% |
__construct | 0% |
_listAllObjects | 0% |
_getKey | 0% |
_upload | 0% |
create | 0% |
read | 0% |
delete | 0% |
exists | 0% |
createComment | 0% |
readComments | 0% |
existsComment | 0% |
purgeValues | 0% |
setValue | 0% |
getValue | 0% |
_getExpiredPastes | 0% |
getAllPastes | 0% |
read | 55% |
_select | 60% |
_getDataType | 66% |
_getAttachmentType | 66% |
_getKey | 66% |
_sanitize | 66% |
_upgradeDatabase | 70% |
_getConfig | 71% |
delete | 71% |
_getMetaType | 75% |
purgeValues | 75% |
_getPrimaryKeyClauses | 77% |
_createCommentTable | 78% |
Method | CRAP |
---|---|
purgeValues | 132 |
__construct | 110 |
_getExpiredPastes | 90 |
getAllPastes | 30 |
delete | 30 |
setValue | 30 |
getAllPastes | 30 |
_upload | 20 |
getValue | 20 |
_upgradeDatabase | 17 |
readComments | 12 |
purgeValues | 11 |
_select | 10 |
_sanitize | 8 |
_listAllObjects | 6 |
_getKey | 6 |
create | 6 |
read | 6 |
createComment | 6 |
delete | 5 |
_getDataType | 4 |
_getAttachmentType | 4 |
_getPrimaryKeyClauses | 4 |
read | 3 |
_getConfig | 3 |
_getMetaType | 3 |
_getKey | 2 |
_createCommentTable | 2 |