@@ -1991,6 +1991,11 @@ class Logchecker | |||||
return $this->language; | return $this->language; | ||||
} | } | ||||
public function isCombinedLog(): bool | |||||
{ | |||||
return !is_null($this->Combined) && $this->Combined > 0; | |||||
} | |||||
public static function getAcceptValues(): string | public static function getAcceptValues(): string | ||||
{ | { | ||||
return ".txt,.TXT,.log,.LOG"; | return ".txt,.TXT,.log,.LOG"; | ||||
@@ -43,6 +43,7 @@ class LogcheckerTest extends TestCase | |||||
'ripper' => $logchecker->getRipper(), | 'ripper' => $logchecker->getRipper(), | ||||
'version' => $logchecker->getRipperVersion(), | 'version' => $logchecker->getRipperVersion(), | ||||
'language' => $logchecker->getLanguage(), | 'language' => $logchecker->getLanguage(), | ||||
'combined' => $logchecker->isCombinedLog(), | |||||
'score' => $logchecker->getScore(), | 'score' => $logchecker->getScore(), | ||||
'checksum' => $logchecker->getChecksumState(), | 'checksum' => $logchecker->getChecksumState(), | ||||
'details' => $logchecker->getDetails() | 'details' => $logchecker->getDetails() | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "EAC", | "ripper": "EAC", | ||||
"version": "0.99 prebeta 1", | "version": "0.99 prebeta 1", | ||||
"language": "en", | "language": "en", | ||||
"combined": true, | |||||
"score": 76, | "score": 76, | ||||
"checksum": "checksum_missing", | "checksum": "checksum_missing", | ||||
"details": [ | "details": [ | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "EAC", | "ripper": "EAC", | ||||
"version": "0.99 prebeta 4", | "version": "0.99 prebeta 4", | ||||
"language": "cs", | "language": "cs", | ||||
"combined": false, | |||||
"score": 100, | "score": 100, | ||||
"checksum": "checksum_missing", | "checksum": "checksum_missing", | ||||
"details": [ | "details": [ | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "EAC", | "ripper": "EAC", | ||||
"version": null, | "version": null, | ||||
"language": "en", | "language": "en", | ||||
"combined": false, | |||||
"score": 59, | "score": 59, | ||||
"checksum": "checksum_missing", | "checksum": "checksum_missing", | ||||
"details": [ | "details": [ | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "EAC", | "ripper": "EAC", | ||||
"version": "1.3", | "version": "1.3", | ||||
"language": "en", | "language": "en", | ||||
"combined": false, | |||||
"score": 100, | "score": 100, | ||||
"checksum": "checksum_ok", | "checksum": "checksum_ok", | ||||
"details": [] | "details": [] | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "EAC", | "ripper": "EAC", | ||||
"version": "1.0 beta 3", | "version": "1.0 beta 3", | ||||
"language": "en", | "language": "en", | ||||
"combined": false, | |||||
"score": 89, | "score": 89, | ||||
"checksum": "checksum_ok", | "checksum": "checksum_ok", | ||||
"details": [ | "details": [ | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "EAC", | "ripper": "EAC", | ||||
"version": "1.0 beta 6", | "version": "1.0 beta 6", | ||||
"language": "en", | "language": "en", | ||||
"combined": false, | |||||
"score": 100, | "score": 100, | ||||
"checksum": "checksum_ok", | "checksum": "checksum_ok", | ||||
"details": [] | "details": [] | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "EAC", | "ripper": "EAC", | ||||
"version": "0.99 prebeta 5", | "version": "0.99 prebeta 5", | ||||
"language": "en", | "language": "en", | ||||
"combined": false, | |||||
"score": 100, | "score": 100, | ||||
"checksum": "checksum_missing", | "checksum": "checksum_missing", | ||||
"details": [] | "details": [] | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "EAC", | "ripper": "EAC", | ||||
"version": "1.0 beta 3", | "version": "1.0 beta 3", | ||||
"language": "en", | "language": "en", | ||||
"combined": false, | |||||
"score": 59, | "score": 59, | ||||
"checksum": "checksum_ok", | "checksum": "checksum_ok", | ||||
"details": [ | "details": [ | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "EAC", | "ripper": "EAC", | ||||
"version": null, | "version": null, | ||||
"language": "pl", | "language": "pl", | ||||
"combined": false, | |||||
"score": 4, | "score": 4, | ||||
"checksum": "checksum_missing", | "checksum": "checksum_missing", | ||||
"details": [ | "details": [ | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "whipper", | "ripper": "whipper", | ||||
"version": "0.7.4.dev76+g57d386e", | "version": "0.7.4.dev76+g57d386e", | ||||
"language": "en", | "language": "en", | ||||
"combined": false, | |||||
"score": 100, | "score": 100, | ||||
"checksum": "checksum_ok", | "checksum": "checksum_ok", | ||||
"details": [] | "details": [] | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "whipper", | "ripper": "whipper", | ||||
"version": "0.7.3", | "version": "0.7.3", | ||||
"language": "en", | "language": "en", | ||||
"combined": false, | |||||
"score": 100, | "score": 100, | ||||
"checksum": "checksum_ok", | "checksum": "checksum_ok", | ||||
"details": [] | "details": [] | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "whipper", | "ripper": "whipper", | ||||
"version": "0.7.4.dev76+g57d386e", | "version": "0.7.4.dev76+g57d386e", | ||||
"language": "en", | "language": "en", | ||||
"combined": false, | |||||
"score": 100, | "score": 100, | ||||
"checksum": "checksum_invalid", | "checksum": "checksum_invalid", | ||||
"details": [] | "details": [] | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "whipper", | "ripper": "whipper", | ||||
"version": "0.7.4.dev76+g57d386e", | "version": "0.7.4.dev76+g57d386e", | ||||
"language": "en", | "language": "en", | ||||
"combined": false, | |||||
"score": 100, | "score": 100, | ||||
"checksum": "checksum_missing", | "checksum": "checksum_missing", | ||||
"details": [] | "details": [] | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "XLD", | "ripper": "XLD", | ||||
"version": "20100711", | "version": "20100711", | ||||
"language": "en", | "language": "en", | ||||
"combined": false, | |||||
"score": 100, | "score": 100, | ||||
"checksum": "checksum_missing", | "checksum": "checksum_missing", | ||||
"details": [] | "details": [] | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "XLD", | "ripper": "XLD", | ||||
"version": "20161007", | "version": "20161007", | ||||
"language": "en", | "language": "en", | ||||
"combined": false, | |||||
"score": 100, | "score": 100, | ||||
"checksum": "checksum_ok", | "checksum": "checksum_ok", | ||||
"details": [] | "details": [] | ||||
@@ -2,6 +2,7 @@ | |||||
"ripper": "XLD", | "ripper": "XLD", | ||||
"version": "20181019", | "version": "20181019", | ||||
"language": "en", | "language": "en", | ||||
"combined": false, | |||||
"score": 100, | "score": 100, | ||||
"checksum": "checksum_ok", | "checksum": "checksum_ok", | ||||
"details": [] | "details": [] | ||||