PEAR_TestSuite
Current view:
Date: Sun Sep 2 5:18:43 UTC 2007 Executable lines: 25570
Code covered: 59.54% Executed lines: 15225
Legend: Low: 0% to 35% Medium: 35% to 70% High: 70% to 100%

Coverage (hide details)
data
60.73 %60.73%
60.73% 15049 / 24782 lines
HTML_BBCodeParserTest Lines hit
testBug11400 0.08% 21 / 24782 lines
testQparse 0.10% 24 / 24782 lines
QA_PEAR_CI_StatusOverview_Renderer_HTMLTest Lines hit
testRender 0.32% 80 / 24782 lines
HTML_Common2_Test Lines hit
testAnyOptionAllowed 0.02% 5 / 24782 lines
testAttributeNamesAreLowercased 0.14% 34 / 24782 lines
testAttributeValuesAreStrings 0.11% 27 / 24782 lines
testAttributesAsStringAccepted 0.12% 30 / 24782 lines
testCanWatchAttributes 0.20% 49 / 24782 lines
testConstructorSetsDefaultAttributes 0.07% 17 / 24782 lines
testDefaultCommentIsNull 0.04% 11 / 24782 lines
testDefaultIndentLevelIsZero 0.04% 11 / 24782 lines
testFluentInterfaces 0.15% 37 / 24782 lines
testIndentLevelIsNonnegative 0.06% 16 / 24782 lines
testNonXhtmlAttributesTransformed 0.17% 42 / 24782 lines
testUnknownAttributeIsNull 0.05% 12 / 24782 lines
testUnknownOptionIsNull 0.00% 1 / 24782 lines
testWellFormedXhtmlGenerated 0.10% 26 / 24782 lines
HTML_QuickForm2Test Lines hit
testCannotAddToContainer 0.18% 45 / 24782 lines
testConstructorSetsDefaultAction 0.19% 47 / 24782 lines
testConstructorSetsIdAndMethod 0.19% 47 / 24782 lines
testIdAndMethodAreReadonly 0.18% 45 / 24782 lines
testSetDataSources 0.19% 47 / 24782 lines
testTrackSubmit 0.20% 49 / 24782 lines
testValidateChecksWhetherFormIsSubmitted 0.19% 47 / 24782 lines
HTML_QuickForm2_ContainerOverloadTest Lines hit
testAddElements 0.17% 41 / 24782 lines
testAddElementsWithBracketsInName 0.19% 48 / 24782 lines
testAddUnknownType 0.10% 24 / 24782 lines
HTML_QuickForm2_ContainerTest Lines hit
testValidate 0.10% 25 / 24782 lines
HTML_QuickForm2_ElementTest Lines hit
testCanNotRemoveNameOrId 0.10% 26 / 24782 lines
testCanSetId 0.06% 15 / 24782 lines
testCanSetName 0.10% 26 / 24782 lines
testDataSourcePriority 0.18% 45 / 24782 lines
testManualIdsNotReused 0.17% 43 / 24782 lines
testSetValueFromSubmitDatasource 0.20% 49 / 24782 lines
testUniqueIdsGenerated 0.15% 37 / 24782 lines
testUpdateValueFromNewDataSource 0.20% 49 / 24782 lines
testUpdateValueOnNameChange 0.18% 45 / 24782 lines
HTML_QuickForm2_Element_ButtonTest Lines hit
testCannotBeFrozen 0.10% 26 / 24782 lines
testConstructorSetsContent 0.10% 26 / 24782 lines
testSetValueFromSubmitDataSource 0.19% 47 / 24782 lines
HTML_QuickForm2_Element_FieldsetTest Lines hit
testFieldsetIsEmptyByDefault 0.10% 25 / 24782 lines
testLegend 0.10% 25 / 24782 lines
HTML_QuickForm2_Element_InputButtonTest Lines hit
testCannotBeFrozen 0.10% 26 / 24782 lines
HTML_QuickForm2_Element_InputCheckableTest Lines hit
testConstructorSetsContent 0.10% 26 / 24782 lines
testContentRendering 0.08% 20 / 24782 lines
testFrozenHtmlGeneration 0.13% 31 / 24782 lines
testGetValueDisabled 0.10% 25 / 24782 lines
testSetAndGetValue 0.10% 25 / 24782 lines
HTML_QuickForm2_Element_InputCheckboxTest Lines hit
testCheckboxUncheckedOnSubmit 0.19% 47 / 24782 lines
testDefaultValueAttributeIs1 0.10% 25 / 24782 lines
HTML_QuickForm2_Element_InputFileTest Lines hit
testCannotBeFrozen 0.10% 26 / 24782 lines
testSetValueFromSubmitDataSource 0.19% 47 / 24782 lines
HTML_QuickForm2_Element_InputHiddenTest Lines hit
testCannotBeFrozen 0.10% 26 / 24782 lines
HTML_QuickForm2_Element_InputImageTest Lines hit
testCannotBeFrozen 0.10% 26 / 24782 lines
testPhpBug745Workaround 0.14% 35 / 24782 lines
testSetValueFromSubmitDataSource 0.20% 49 / 24782 lines
HTML_QuickForm2_Element_InputPasswordTest Lines hit
testFrozenOutputIsMasked 0.15% 36 / 24782 lines
HTML_QuickForm2_Element_InputResetTest Lines hit
testCannotBeFrozen 0.10% 26 / 24782 lines
HTML_QuickForm2_Element_InputSubmitTest Lines hit
testCannotBeFrozen 0.10% 26 / 24782 lines
testSetValueFromSubmitDataSource 0.19% 47 / 24782 lines
HTML_QuickForm2_Element_InputTest Lines hit
testCanSetAndGetValue 0.10% 25 / 24782 lines
testFrozenHtmlGeneration 0.15% 36 / 24782 lines
testHtmlGeneration 0.10% 25 / 24782 lines
testTypeAttributeIsReadonly 0.10% 25 / 24782 lines
HTML_QuickForm2_Element_SelectTest Lines hit
testAddOptgroup 0.10% 25 / 24782 lines
testAddOption 0.10% 25 / 24782 lines
testAddOptionToOptgroup 0.10% 25 / 24782 lines
testBug11138 0.13% 31 / 24782 lines
testDisabledOptionsDoNotProduceValues 0.10% 25 / 24782 lines
testDisabledSelectHasNoValue 0.10% 26 / 24782 lines
testFrozenHtmlGeneration 0.15% 36 / 24782 lines
testLoadOptions 0.10% 26 / 24782 lines
testSelectIsEmptyByDefault 0.10% 25 / 24782 lines
testSelectMultipleFrozenHtmlGeneration 0.13% 31 / 24782 lines
testSelectMultipleName 0.10% 26 / 24782 lines
testSelectMultipleNoOptionsSelectedOnSubmit 0.20% 49 / 24782 lines
testSelectMultipleValueIsArray 0.10% 26 / 24782 lines
testSelectSingleValueIsScalar 0.10% 25 / 24782 lines
HTML_QuickForm2_Element_TextareaTest Lines hit
testFrozenHtmlGeneration 0.15% 36 / 24782 lines
testSetAndGetValue 0.10% 25 / 24782 lines
testTextareaIsEmptyByDefault 0.10% 25 / 24782 lines
testValueOutputIsEscaped 0.12% 30 / 24782 lines
HTML_QuickForm2_FactoryTest Lines hit
testCreateElementInvalidFile 0.00% 1 / 24782 lines
HTML_QuickForm2_NodeTest Lines hit
testValidate 0.10% 25 / 24782 lines
testValidateUntilErrorMessage 0.10% 25 / 24782 lines
HTML_QuickForm2_RuleTest Lines hit
testOperatorPrecedence 0.10% 26 / 24782 lines
testSetAndGetMessage 0.05% 12 / 24782 lines
testSetAndGetOptions 0.05% 12 / 24782 lines
testSetErrorOnlyOnChainFailure 0.12% 30 / 24782 lines
testShortCircuitedEvaluationAnd 0.13% 31 / 24782 lines
testShortCircuitedEvaluationOr 0.13% 31 / 24782 lines
testValidateChained 0.13% 33 / 24782 lines
testValidateSingle 0.10% 24 / 24782 lines
HTML_QuickForm2_Rule_CompareTest Lines hit
testBug10754 0.09% 23 / 24782 lines
testCompareToOtherElement 0.07% 17 / 24782 lines
testConfigHandling 0.11% 28 / 24782 lines
testConfigOverridesOptions 0.09% 22 / 24782 lines
testDefaultOperatorIsEqual 0.07% 17 / 24782 lines
testDisallowBogusOperators 0.06% 14 / 24782 lines
testOperandRequired 0.05% 13 / 24782 lines
testOptionsHandling 0.11% 27 / 24782 lines
HTML_QuickForm2_Rule_EmptyTest Lines hit
testFailedUploadIsNotEmpty 0.01% 2 / 24782 lines
testValidateGenericElement 0.01% 2 / 24782 lines
testValidateInputFileElement 0.01% 2 / 24782 lines
HTML_QuickForm2_Rule_NonemptyTest Lines hit
testValidateGenericElement 0.01% 2 / 24782 lines
testValidateInputFileElement 0.01% 2 / 24782 lines
HTML_QuickForm2_Rule_RegexTest Lines hit
testBug10799 0.03% 7 / 24782 lines
testConfigHandling 0.02% 6 / 24782 lines
testConfigOverridesOptions 0.02% 6 / 24782 lines
testOptionsHandling 0.03% 7 / 24782 lines
testRegexIsRequired 0.03% 7 / 24782 lines
HTML_QuickForm2_Rule_RequiredTest Lines hit
testCannotAppendWithOr_ 0.01% 2 / 24782 lines
HTML_QuickForm2_DataSource_ArrayTest Lines hit
testGetValue 0.05% 12 / 24782 lines
testQuotesAndBackslashesEscaped 0.04% 10 / 24782 lines
testReturnsNullForAbsentValue 0.05% 12 / 24782 lines
HTML_QuickForm2_DataSource_SuperGlobalTest Lines hit
testGetUpload 0.19% 48 / 24782 lines
testGetUploadReturnsNullForAbsentValue 0.11% 27 / 24782 lines
testQuotesAndBackslashesEscaped 0.10% 25 / 24782 lines
testRequestMethodGet 0.07% 17 / 24782 lines
testRequestMethodPost 0.11% 27 / 24782 lines
HTML_Template_PHPLIBTest Lines hit
testSetBlock 0.31% 78 / 24782 lines
testSetFile 0.16% 40 / 24782 lines
testSetRoot 0.12% 30 / 24782 lines
testSetUnknowns 0.25% 62 / 24782 lines
testSetVar 0.27% 67 / 24782 lines
Services_W3C_HTMLValidatorTest Lines hit
testValidate 0.01% 2 / 24782 lines
testValidateFile 0.01% 2 / 24782 lines
testValidateFragment 0.01% 2 / 24782 lines
HTTP_SessionTest Lines hit
testGet 0.04% 11 / 24782 lines
testGetLocal 0.08% 19 / 24782 lines
testGetRef 0.05% 13 / 24782 lines
testId 0.00% 1 / 24782 lines
testIsExpired 0.04% 9 / 24782 lines
testIsIdle 0.04% 10 / 24782 lines
testLocalName 0.02% 6 / 24782 lines
testName 0.00% 1 / 24782 lines
testRegenerateId
0.01% 3 / 24782 lines
testSessionValidThru 0.03% 7 / 24782 lines
testSet
0.02% 4 / 24782 lines
testSetExpire
0.01% 3 / 24782 lines
testSetGcMaxLifetime 0.02% 5 / 24782 lines
testSetGcProbability 0.03% 8 / 24782 lines
testSetIdle 0.02% 5 / 24782 lines
testSetLocal
0.04% 11 / 24782 lines
testSetRef 0.01% 3 / 24782 lines
testStart 0.04% 10 / 24782 lines
testUseCookies 0.02% 5 / 24782 lines
testUseTransSID 0.02% 5 / 24782 lines
HTTP_Session_ContainerTest Lines hit
testParseOptions 0.06% 14 / 24782 lines
tests_UnicodeNormalizerTest Lines hit
testBaseNFKD 0.04% 9 / 24782 lines
tests_UnicodeNormalizer_CompilerTest Lines hit
testCompileAll 0.04% 9 / 24782 lines
tests_UnicodeNormalizer_FileTest Lines hit
testPut 0.04% 10 / 24782 lines
tests_UnicodeNormalizer_StringTest Lines hit
testChar2unicode 0.16% 39 / 24782 lines
testDec2ucn 0.01% 2 / 24782 lines
testGetChar 0.08% 19 / 24782 lines
testSplit 0.06% 16 / 24782 lines
testString2unicode 0.23% 56 / 24782 lines
testUnicode2char 0.07% 17 / 24782 lines
testUnicode2string 0.09% 22 / 24782 lines
Mail_MboxTest Lines hit
testAppend 0.20% 50 / 24782 lines
testAppendNoReopen 0.22% 55 / 24782 lines
testClose 0.14% 34 / 24782 lines
testGet 0.17% 43 / 24782 lines
testGetDebug 0.14% 34 / 24782 lines
testGetTmpDir 0.14% 35 / 24782 lines
testHasBeenModified 0.34% 84 / 24782 lines
testInsert 0.32% 79 / 24782 lines
testOpen 0.13% 33 / 24782 lines
testRemove 0.29% 73 / 24782 lines
testSetDebug 0.13% 33 / 24782 lines
testSetTmpDir 0.14% 34 / 24782 lines
testSize 0.13% 33 / 24782 lines
testUpdate 0.27% 67 / 24782 lines
test_move 0.16% 40 / 24782 lines
Numbers_RomanTest Lines hit
testEquality 0.42% 104 / 24782 lines
testToNumber 0.19% 46 / 24782 lines
testToNumeral 0.27% 66 / 24782 lines
testToRoman 0.23% 56 / 24782 lines
Net_URL2Test Lines hit
testAddQueryString 0.25% 61 / 24782 lines
testAddQueryStringArray 0.26% 65 / 24782 lines
testAddRawQueryString 0.31% 77 / 24782 lines
testGetQueryString 0.27% 68 / 24782 lines
testGetStandardPort 0.03% 8 / 24782 lines
testGetURL
0.35% 86 / 24782 lines
testRemoveQueryString 0.33% 81 / 24782 lines
testRemoveQueryStringArray 0.34% 85 / 24782 lines
testSetAnchor 0.21% 52 / 24782 lines
testSetProtocol 0.23% 58 / 24782 lines
Net_WifiTest Lines hit
testParseCurrentConfig 0.26% 64 / 24782 lines
testParseScan 0.49% 121 / 24782 lines
PEAR_PackageUpdate_TestCase_DefaultConfig Lines hit
testCorruptedPrefFile
unserialize(): Error at offset 0 of 3 bytes
0.09% 22 / 24782 lines
testWrongDriver 0.29% 72 / 24782 lines
testWrongPrefFile 0.26% 64 / 24782 lines
Core_IsCamelCapsTest Lines hit
testInvalidClassFormat 0.03% 8 / 24782 lines
testInvalidClassFormatPrivate 0.02% 4 / 24782 lines
testInvalidNotClassFormatPrivate 0.09% 23 / 24782 lines
testInvalidNotClassFormatPublic 0.09% 22 / 24782 lines
testValidClassFormatPublic 0.07% 18 / 24782 lines
testValidNotClassFormatPrivate 0.10% 24 / 24782 lines
testValidNotClassFormatPublic 0.08% 21 / 24782 lines
PHP CodeSniffer Standards Lines hit
ArrayDeclaration 0.20% 49 / 24782 lines
BlockComment 0.20% 49 / 24782 lines
CastSpacing 0.20% 49 / 24782 lines
ClassComment 0.25% 61 / 24782 lines
ClassDeclaration 0.20% 49 / 24782 lines
ClassFileName 0.20% 49 / 24782 lines
ClosingDeclarationComment 0.20% 49 / 24782 lines
ClosingTag 0.20% 49 / 24782 lines
ComparisonOperatorUsage 0.20% 49 / 24782 lines
ConcatenationSpacing 0.20% 49 / 24782 lines
ControlSignature 0.20% 49 / 24782 lines
ControlStructureSpacing 0.20% 49 / 24782 lines
CyclomaticComplexity 0.25% 61 / 24782 lines
DisallowObEndFlush 0.20% 49 / 24782 lines
DisallowShortOpenTag 0.12% 29 / 24782 lines
DisallowTabIndent 0.20% 49 / 24782 lines
DocCommentAlignment 0.20% 49 / 24782 lines
DoubleQuoteUsage 0.20% 49 / 24782 lines
EchoedStrings 0.20% 49 / 24782 lines
ElseIfDeclaration 0.20% 49 / 24782 lines
EmbeddedPhp 0.20% 49 / 24782 lines
EmptyCatchComment 0.20% 49 / 24782 lines
Eval 0.20% 49 / 24782 lines
EvalObjectFactory 0.20% 49 / 24782 lines
FileComment 0.25% 61 / 24782 lines
FileExtension 0.20% 49 / 24782 lines
ForEachLoopDeclaration 0.20% 49 / 24782 lines
ForLoopDeclaration 0.20% 49 / 24782 lines
ForbiddenFunctions 0.20% 49 / 24782 lines
FunctionCallArgumentSpacing 0.20% 49 / 24782 lines
FunctionCallSignature 0.20% 49 / 24782 lines
FunctionClosingBraceSpace 0.20% 49 / 24782 lines
FunctionComment 0.25% 61 / 24782 lines
FunctionCommentThrowTag 0.20% 49 / 24782 lines
FunctionDeclaration 0.20% 49 / 24782 lines
FunctionDeclarationArgumentSpacing 0.20% 49 / 24782 lines
FunctionSpacing 0.20% 49 / 24782 lines
GlobalFunction 0.20% 49 / 24782 lines
GlobalKeyword 0.20% 49 / 24782 lines
Heredoc 0.20% 49 / 24782 lines
IncludeSystem 0.20% 49 / 24782 lines
IncludingFile 0.20% 49 / 24782 lines
IncrementDecrementUsage 0.20% 49 / 24782 lines
InlineComment 0.20% 49 / 24782 lines
InlineControlStructure 0.20% 49 / 24782 lines
InlineIfDeclaration 0.20% 49 / 24782 lines
InnerFunctions 0.20% 49 / 24782 lines
LineEndings 0.20% 49 / 24782 lines
LineLength 0.25% 63 / 24782 lines
LongConditionClosingComment 0.20% 49 / 24782 lines
LowerCaseConstant 0.20% 49 / 24782 lines
LowercaseClassKeywords 0.20% 49 / 24782 lines
LowercaseDeclaration 0.20% 49 / 24782 lines
LowercaseFunctionKeywords 0.20% 49 / 24782 lines
LowercasePHPFunctions 0.20% 49 / 24782 lines
MemberVarScope 0.20% 49 / 24782 lines
MemberVarSpacing 0.20% 49 / 24782 lines
MethodScope 0.20% 49 / 24782 lines
MultipleStatementAlignment 0.20% 49 / 24782 lines
NestingLevel 0.25% 61 / 24782 lines
NoSpaceAfterCast 0.20% 49 / 24782 lines
NonExecutableCode 0.20% 49 / 24782 lines
OpeningFunctionBraceBsdAllman 0.20% 49 / 24782 lines
OpeningFunctionBraceKernighanRitchie 0.20% 49 / 24782 lines
OperatorBracket 0.20% 49 / 24782 lines
OperatorSpacing 0.20% 49 / 24782 lines
OutputBufferingIndent 0.20% 49 / 24782 lines
PostStatementComment 0.20% 49 / 24782 lines
ReturnFunctionValue 0.20% 49 / 24782 lines
ScopeClosingBrace 0.20% 49 / 24782 lines
ScopeIndent 0.20% 49 / 24782 lines
SelfMemberReference 0.20% 49 / 24782 lines
SpaceAfterCast 0.20% 49 / 24782 lines
StaticThisUsage 0.20% 49 / 24782 lines
SuperfluousWhitespace 0.20% 49 / 24782 lines
SwitchDeclaration 0.20% 49 / 24782 lines
UpperCaseConstant 0.20% 49 / 24782 lines
UpperCaseConstantName 0.20% 49 / 24782 lines
ValidClassName 0.20% 49 / 24782 lines
ValidDefaultValue 0.20% 49 / 24782 lines
ValidFunctionName 0.20% 49 / 24782 lines
ValidInterfaceName 0.20% 49 / 24782 lines
ValidLogicalOperators 0.20% 49 / 24782 lines
ValidVariableName 0.25% 61 / 24782 lines
VariableComment 0.25% 61 / 24782 lines
tests_DocBlockGeneratorTest Lines hit
testParameters 0.04% 9 / 24782 lines
testPearFile 0.56% 140 / 24782 lines
testTagAlign 0.48% 119 / 24782 lines
testTypes 0.63% 155 / 24782 lines
tests_phpDocumentorTParserGetInlineTagsTests Lines hit
testShowCorrectBehaviorInlineExampleWhenParsePrivateOff 0.90% 223 / 24782 lines
testShowCorrectBehaviorInlineExampleWhenParsePrivateOn 0.90% 223 / 24782 lines
testShowCorrectBehaviorInlineInternalWhenParsePrivateOff 0.85% 210 / 24782 lines
testShowCorrectBehaviorInlineInternalWhenParsePrivateOn 0.86% 212 / 24782 lines
testShowCorrectBehaviorInlineLinkWhenParsePrivateOff 0.95% 235 / 24782 lines
testShowCorrectBehaviorInlineLinkWhenParsePrivateOn 0.95% 235 / 24782 lines
testShowCorrectBehaviorInlineSourceWhenParsePrivateOff 0.92% 229 / 24782 lines
testShowCorrectBehaviorInlineSourceWhenParsePrivateOn 0.92% 229 / 24782 lines
testShowCorrectBehaviorInlineTutorialWhenParsePrivateOff 0.90% 223 / 24782 lines
testShowCorrectBehaviorInlineTutorialWhenParsePrivateOn 0.90% 223 / 24782 lines
tests_HighlightParserGetInlineTagsTests Lines hit
testShowCorrectBehaviorWhenGivenOneEmptyArg 0.69% 172 / 24782 lines
testShowCorrectBehaviorWhenGivenOneEmptyArgAndFalse 0.69% 172 / 24782 lines
testShowCorrectBehaviorWhenGivenOneEmptyArgAndTrue 0.69% 172 / 24782 lines
tests_IntermediateParserAddPrivatePageTests Lines hit
testShowCorrectBehaviorWhenPrivatePageArrayIsEmpty 0.69% 172 / 24782 lines
testShowCorrectBehaviorWhenPrivatePageArrayIsNotAlreadyEmpty 0.69% 172 / 24782 lines
tests_ParserClassGetSourceLocationTests Lines hit
testWhenLocationNotSetAndPearizeFalse 0.69% 172 / 24782 lines
testWhenLocationNotSetAndPearizeNull 0.69% 172 / 24782 lines
testWhenLocationNotSetAndPearizeTrue 0.69% 172 / 24782 lines
testWhenNonPearLocationSetAndPearizeFalse 0.69% 172 / 24782 lines
testWhenNonPearLocationSetAndPearizeNull 0.69% 172 / 24782 lines
testWhenNonPearLocationSetAndPearizeTrue 0.69% 172 / 24782 lines
testWhenNonPearLocationSetIncludingDotsAndPearizeFalse 0.69% 172 / 24782 lines
testWhenNonPearLocationSetIncludingDotsAndPearizeNull 0.69% 172 / 24782 lines
testWhenNonPearLocationSetIncludingDotsAndPearizeTrue 0.69% 172 / 24782 lines
testWhenNonPearRelativeLocationSetAndPearizeFalse 0.69% 172 / 24782 lines
testWhenNonPearRelativeLocationSetAndPearizeNull 0.69% 172 / 24782 lines
testWhenNonPearRelativeLocationSetAndPearizeTrue 0.69% 172 / 24782 lines
testWhenPearLocationSetAndPearizeFalse 0.69% 172 / 24782 lines
testWhenPearLocationSetAndPearizeNull 0.69% 172 / 24782 lines
testWhenPearLocationSetAndPearizeTrue 0.69% 172 / 24782 lines
testWhenPearLocationSetIncludingDotsAndPearizeFalse 0.69% 172 / 24782 lines
testWhenPearLocationSetIncludingDotsAndPearizeNull 0.69% 172 / 24782 lines
testWhenPearLocationSetIncludingDotsAndPearizeTrue 0.69% 172 / 24782 lines
testWhenPearRelativeLocationSetAndPearizeFalse 0.69% 172 / 24782 lines
testWhenPearRelativeLocationSetAndPearizeNull 0.69% 172 / 24782 lines
testWhenPearRelativeLocationSetAndPearizeTrue 0.69% 172 / 24782 lines
tests_ParserPageGetSourceLocationTests Lines hit
testWhenLocationNotSetAndPearizeFalse 0.69% 172 / 24782 lines
testWhenLocationNotSetAndPearizeNull 0.69% 172 / 24782 lines
testWhenLocationNotSetAndPearizeTrue 0.69% 172 / 24782 lines
testWhenNonPearLocationSetAndPearizeFalse 0.69% 172 / 24782 lines
testWhenNonPearLocationSetAndPearizeNull 0.69% 172 / 24782 lines
testWhenNonPearLocationSetAndPearizeTrue 0.69% 172 / 24782 lines
testWhenNonPearLocationSetIncludingDotsAndPearizeFalse 0.69% 172 / 24782 lines
testWhenNonPearLocationSetIncludingDotsAndPearizeNull 0.69% 172 / 24782 lines
testWhenNonPearLocationSetIncludingDotsAndPearizeTrue 0.69% 172 / 24782 lines
testWhenNonPearRelativeLocationSetAndPearizeFalse 0.69% 172 / 24782 lines
testWhenNonPearRelativeLocationSetAndPearizeNull 0.69% 172 / 24782 lines
testWhenNonPearRelativeLocationSetAndPearizeTrue 0.69% 172 / 24782 lines
testWhenPearLocationSetAndPearizeFalse 0.69% 172 / 24782 lines
testWhenPearLocationSetAndPearizeNull 0.69% 172 / 24782 lines
testWhenPearLocationSetAndPearizeTrue 0.69% 172 / 24782 lines
testWhenPearLocationSetIncludingDotsAndPearizeFalse 0.69% 172 / 24782 lines
testWhenPearLocationSetIncludingDotsAndPearizeNull 0.69% 172 / 24782 lines
testWhenPearLocationSetIncludingDotsAndPearizeTrue 0.69% 172 / 24782 lines
testWhenPearRelativeLocationSetAndPearizeFalse 0.69% 172 / 24782 lines
testWhenPearRelativeLocationSetAndPearizeNull 0.69% 172 / 24782 lines
testWhenPearRelativeLocationSetAndPearizeTrue 0.69% 172 / 24782 lines
tests_phpDocumentorSetupCleanConverterNamePieceTests Lines hit
testDoNotAllowTruePathingOnPrimaryWithOneArg 0.69% 172 / 24782 lines
testDoNotAllowTruePathingOnPrimaryWithTwoArgs 0.69% 172 / 24782 lines
testDoNotAllowTruePathingOnSecondary 0.69% 172 / 24782 lines
testDoNotAllowTruePathingOnTertiary 0.69% 172 / 24782 lines
testExtremeExampleAndInvalidSecondary 0.69% 172 / 24782 lines
testExtremeExampleAndInvalidTertiaryA 0.69% 172 / 24782 lines
testExtremeExampleAndInvalidTertiaryB 0.69% 172 / 24782 lines
testExtremeExampleButValidPrimaryWithOneArg 0.69% 172 / 24782 lines
testExtremeExampleButValidPrimaryWithTwoArgs 0.69% 172 / 24782 lines
testExtremeExampleButValidSecondary 0.69% 172 / 24782 lines
testNormalSecondaryDefault 0.69% 172 / 24782 lines
testNormalSecondaryDocbookPeardoc2 0.69% 172 / 24782 lines
testNormalSecondaryFrames 0.69% 172 / 24782 lines
testNormalSecondarySmarty 0.69% 172 / 24782 lines
testNormalTertiaryDefault 0.69% 172 / 24782 lines
testNormalTertiaryDomDefault 0.69% 172 / 24782 lines
testNormalTertiaryDomEarthli 0.69% 172 / 24782 lines
testNormalTertiaryDomL0l33t 0.69% 172 / 24782 lines
testNormalTertiaryDomPhpdocde 0.69% 172 / 24782 lines
testNormalTertiaryDomPhphtmllib 0.69% 172 / 24782 lines
testNormalTertiaryEarthli 0.69% 172 / 24782 lines
testNormalTertiaryHands 0.69% 172 / 24782 lines
testNormalTertiaryL0l33t 0.69% 172 / 24782 lines
testNormalTertiaryPear 0.69% 172 / 24782 lines
testNormalTertiaryPhp 0.69% 172 / 24782 lines
testNormalTertiaryPhpdocde 0.69% 172 / 24782 lines
testNormalTertiaryPhphtmllib 0.69% 172 / 24782 lines
testNormalWithOneArgPrimaryCHM 0.69% 172 / 24782 lines
testNormalWithOneArgPrimaryHTML 0.69% 172 / 24782 lines
testNormalWithOneArgPrimaryPDF 0.69% 172 / 24782 lines
testNormalWithOneArgPrimaryXML 0.69% 172 / 24782 lines
testNormalWithTwoArgsPrimaryCHM 0.69% 172 / 24782 lines
testNormalWithTwoArgsPrimaryHTML 0.69% 172 / 24782 lines
testNormalWithTwoArgsPrimaryPDF 0.69% 172 / 24782 lines
testNormalWithTwoArgsPrimaryXML 0.69% 172 / 24782 lines
testPreventUpToParentPathingOnPrimaryWithOneArg 0.69% 172 / 24782 lines
testPreventUpToParentPathingOnPrimaryWithTwoArgs 0.69% 172 / 24782 lines
testPreventUpToParentPathingOnSecondary 0.69% 172 / 24782 lines
testPreventUpToParentPathingOnTertiary 0.69% 172 / 24782 lines
testUserDefinedTertiaryValue 0.69% 172 / 24782 lines
tests_phpDocumentorSetupDecideOnOrOffTests Lines hit
testBasicOff 0.04% 9 / 24782 lines
testBasicOn 0.04% 11 / 24782 lines
testFuzzyEmpty 0.04% 11 / 24782 lines
testFuzzyFalseA 0.04% 9 / 24782 lines
testFuzzyFalseB 0.04% 9 / 24782 lines
testFuzzyFalseC 0.04% 9 / 24782 lines
testFuzzyNoA 0.04% 9 / 24782 lines
testFuzzyNoB 0.04% 9 / 24782 lines
testFuzzyNoC 0.04% 9 / 24782 lines
testFuzzyOffA 0.04% 9 / 24782 lines
testFuzzyOffB 0.04% 9 / 24782 lines
testFuzzyOnA 0.04% 11 / 24782 lines
testFuzzyOnB 0.04% 11 / 24782 lines
testFuzzyOne 0.04% 11 / 24782 lines
testFuzzyTrueA 0.04% 11 / 24782 lines
testFuzzyTrueB 0.04% 11 / 24782 lines
testFuzzyTrueC 0.04% 11 / 24782 lines
testFuzzyYesA 0.04% 11 / 24782 lines
testFuzzyYesB 0.04% 11 / 24782 lines
testFuzzyYesC 0.04% 11 / 24782 lines
testFuzzyYesD 0.04% 11 / 24782 lines
testFuzzyYesE 0.04% 11 / 24782 lines
testFuzzyZero 0.04% 9 / 24782 lines
testUnexpectedGreatLiterature 0.04% 9 / 24782 lines
testUnexpectedLargeNumber 0.04% 9 / 24782 lines
testUnexpectedNegative 0.04% 9 / 24782 lines
testUnexpectedNull 0.04% 9 / 24782 lines
testUnexpectedSpaces 0.04% 11 / 24782 lines
QA_PEAR_CI_CodingStandardsResults_Renderer_HTMLTest Lines hit
testRender 0.02% 6 / 24782 lines
testStatusOverview 0.18% 44 / 24782 lines
QA_PEAR_CI_StatusOverviewTest Lines hit
testAddError 0.15% 38 / 24782 lines
testAddWarning 0.18% 44 / 24782 lines
testGetCategories 0.05% 12 / 24782 lines
testGetStatus 0.16% 40 / 24782 lines
testLoadFile
This test has not been implemented yet.
0.02% 6 / 24782 lines
testRegisterCategory 0.05% 12 / 24782 lines
testSave 0.25% 63 / 24782 lines
testSingleton 0.06% 14 / 24782 lines
QA_PEAR_CI_UnitTestResults_Renderer_HTMLTest Lines hit
testRender 0.15% 37 / 24782 lines
QA_Peardoc_CoverageTest Lines hit
testGetCategory 0.07% 18 / 24782 lines
testGetPackageList 0.04% 9 / 24782 lines
QA_Peardoc_Coverage_ClassListTest Lines hit
testAuth 0.10% 24 / 24782 lines
testMDB2 0.10% 24 / 24782 lines
testNetWifi 0.06% 16 / 24782 lines
QA_Peardoc_Coverage_MethodListTest Lines hit
testGetMethodsAuth 0.12% 30 / 24782 lines
testGetMethodsMDB2 0.12% 30 / 24782 lines
QA_Peardoc_Coverage_Renderer_DeveloperListTest Lines hit
testGetPackageMaintainers 0.18% 45 / 24782 lines
SQL_Parser_Test Lines hit
create #1 0.13% 31 / 24782 lines
create #10
SQL still fails to be parsed
SQL: create dogfood

Expected:
 [array with parsed SQL]
Result:
Parse error: Unknown object to create on line 1
create dogfood
       ^ found: "dogfood"
*********************
0.05% 12 / 24782 lines
create #11
SQL still fails to be parsed
SQL: create table dunce (name varchar

Expected:
 [array with parsed SQL]
Result:
Parse error: Expected ) on line 1
create table dunce (name varchar
                                 ^ found: "*end of input*"
*********************
0.05% 12 / 24782 lines
create #12
SQL still fails to be parsed
SQL: create table dunce (name varchar(2,3))

Expected:
 [array with parsed SQL]
Result:
Parse error: Expected 1 parameter on line 1
create table dunce (name varchar(2,3))
                                    ^ found: ")"
*********************
0.05% 12 / 24782 lines
create #2 0.13% 31 / 24782 lines
create #3 0.13% 31 / 24782 lines
create #4 0.13% 31 / 24782 lines
create #5
SQL still fails to be parsed
SQL: CREATE TABLE films ( 
             code      CHARACTER(5) CONSTRAINT firstkey PRIMARY KEY, 
             title     CHARACTER VARYING(40) NOT NULL, 
             did       DECIMAL(3) NOT NULL, 
             date_prod DATE, 
             kind      CHAR(10), 
             len       INTERVAL minute to hour
             CONSTRAINT production UNIQUE(date_prod)
)

Expected:
 [array with parsed SQL]
Result:
Parse error: hour is not smaller than minute on line 7
             len       INTERVAL minute to hour
                                          ^ found: "hour"
*********************
0.05% 12 / 24782 lines
create #6 0.13% 31 / 24782 lines
create #7 0.13% 31 / 24782 lines
create #8 0.13% 31 / 24782 lines
create #9
SQL still fails to be parsed
SQL: create table nodefinitions

Expected:
 [array with parsed SQL]
Result:
Parse error: Expected ( on line 1
create table nodefinitions
                           ^ found: "*end of input*"
*********************
0.05% 12 / 24782 lines
delete #1
Output format has changed
SQL: delete from dog where cat = 4 and horse <> "dead meat" or mouse = 'furry'
array (                                  = array (
  'command' => 'delete',                 =   'command' => 'delete',
  'table_names' =>                       =   'table_names' => 
  array (                                =   array (
    0 => 'dog',                          =     0 => 'dog',
  ),                                     =   ),
  'where_clause' =>                      =   'where_clause' => 
  array (                                =   array (
    'arg_1' =>                           =     'arg_1' => 
    array (                              =     array (
      'arg_1' =>                         =       'arg_1' => 
      array (                            =       array (
        'value' => 'cat',                =         'value' => 'cat',
        'type' => 'ident',               =         'type' => 'ident',
      ),                                 =       ),
      'op' => '=',                       =       'op' => '=',
      'arg_2' =>                         =       'arg_2' => 
      array (                            =       array (
        'value' => 4,                    =         'value' => 4,
        'type' => 'int_val',             =         'type' => 'int_val',
      ),                                 =       ),
    ),                                   =     ),
    'op' => 'and',                       =     'op' => 'and',
    'arg_2' =>                           =     'arg_2' => 
    array (                              =     array (
      'arg_1' =>                         =       'arg_1' => 
      array (                            =       array (
        'arg_1' =>                       =         'arg_1' => 
        array (                          =         array (
          'value' => 'horse',            =           'value' => 'horse',
          'type' => 'ident',             =           'type' => 'ident',
        ),                               =         ),
        'op' => '<>',                    =         'op' => '<>',
        'arg_2' =>                       =         'arg_2' => 
        array (                          =         array (
          'value' => 'dead meat',        =           'value' => 'dead meat',
          'type' => 'text_val',          !           'type' => 'ident',
        ),                               =         ),
      ),                                 =       ),
      'op' => 'or',                      =       'op' => 'or',
      'arg_2' =>                         =       'arg_2' => 
      array (                            =       array (
        'arg_1' =>                       =         'arg_1' => 
        array (                          =         array (
          'value' => 'mouse',            =           'value' => 'mouse',
          'type' => 'ident',             =           'type' => 'ident',
        ),                               =         ),
        'op' => '=',                     =         'op' => '=',
        'arg_2' =>                       =         'arg_2' => 
        array (                          =         array (
          'value' => 'furry',            =           'value' => 'furry',
          'type' => 'text_val',          =           'type' => 'text_val',
        ),                               =         ),
      ),                                 =       ),
    ),                                   =     ),
  ),                                     =   ),
)                                        = )

*********************
0.13% 31 / 24782 lines
delete #2
SQL still fails to be parsed
SQL: delete from

Expected:
 [array with parsed SQL]
Result:
Parse error: Expected a table name on line 1
delete from
            ^ found: "*end of input*"
*********************
0.05% 12 / 24782 lines
delete #3
SQL still fails to be parsed
SQL: delete from cat

Expected:
 [array with parsed SQL]
Result:
Parse error: Expected "where" on line 1
delete from cat
                ^ found: "*end of input*"
*********************
0.05% 12 / 24782 lines
delete #4
SQL still fails to be parsed
SQL: delete from where cat = 53

Expected:
 [array with parsed SQL]
Result:
Parse error: Expected a table name on line 1
delete from where cat = 53
            ^ found: "where"
*********************
0.05% 12 / 24782 lines
delete #5
SQL still fails to be parsed
SQL: delete from dog where mouse is happy

Expected:
 [array with parsed SQL]
Result:
Parse error: Expected "null" on line 1
delete from dog where mouse is happy
                               ^ found: "happy"
*********************
0.05% 12 / 24782 lines
drop #1 0.13% 31 / 24782 lines
drop #2 0.13% 31 / 24782 lines
drop #3
SQL still fails to be parsed
SQL: drop table play cascade restrict

Expected:
 [array with parsed SQL]
Result:
Parse error: Unexpected token on line 1
drop table play cascade restrict
                        ^ found: "restrict"
*********************
0.05% 12 / 24782 lines
drop #4
SQL still fails to be parsed
SQL: drop table cat where mouse = floor

Expected:
 [array with parsed SQL]
Result:
Parse error: Unexpected token on line 1
drop table cat where mouse = floor
                     ^ found: "mouse"
*********************
0.05% 12 / 24782 lines
drop #5
SQL still fails to be parsed
SQL: drop elephant

Expected:
 [array with parsed SQL]
Result:
Parse error: Unknown object to drop on line 1
drop elephant
     ^ found: "elephant"
*********************
0.05% 12 / 24782 lines
employment #1 0.13% 31 / 24782 lines
employment #10 0.13% 31 / 24782 lines
employment #11 0.13% 31 / 24782 lines
employment #12 0.13% 31 / 24782 lines
employment #13 0.13% 31 / 24782 lines
employment #14 0.13% 31 / 24782 lines
employment #15 0.13% 31 / 24782 lines
employment #16 0.13% 31 / 24782 lines
employment #17 0.13% 31 / 24782 lines
employment #18 0.13% 31 / 24782 lines
employment #19 0.13% 31 / 24782 lines
employment #2
SQL still fails to be parsed
SQL: 
create table departments (
	id int auto_increment default 0,
	title varchar(30)
)

Expected:
 [array with parsed SQL]
Result:
Parse error: Unexpected token auto_increment on line 3
	id int auto_increment default 0,
        ^ found: "auto_increment"
*********************
0.05% 12 / 24782 lines
employment #20 0.13% 31 / 24782 lines
employment #21 0.13% 31 / 24782 lines
employment #3 0.13% 31 / 24782 lines
employment #4 0.13% 31 / 24782 lines
employment #5 0.13% 31 / 24782 lines
employment #6 0.13% 31 / 24782 lines
employment #7 0.13% 31 / 24782 lines
employment #8 0.13% 31 / 24782 lines
employment #9 0.13% 31 / 24782 lines
insert #1 0.13% 31 / 24782 lines
insert #2 0.13% 31 / 24782 lines
insert #3
SQL seems to run fine now, please update the expected test result!
0.03% 7 / 24782 lines
select #1 0.13% 31 / 24782 lines
select #10 0.13% 31 / 24782 lines
select #11 0.13% 31 / 24782 lines
select #12 0.13% 31 / 24782 lines
select #13 0.13% 31 / 24782 lines
select #14 0.13% 31 / 24782 lines
select #15 0.13% 31 / 24782 lines
select #16 0.13% 31 / 24782 lines
select #17
Output format has changed
SQL: select count(child_table.name) from parent_table ,child_table where parent_table.id = child_table.id
array (                                  = array (
  'command' => 'select',                 =   'command' => 'select',
  'set_function' =>                      =   'set_function' => 
  array (                                =   array (
    0 =>                                 =     0 => 
    array (                              =     array (
      'name' => 'count',                 =       'name' => 'count',
      'arg' =>                           =       'arg' => 
      array (                            =       array (
        0 => 'child_table.name',         =         0 => 'child_table.name',
      ),                                 =       ),
      'type' =>                          =       'type' => 
      array (                            =       array (
        0 => 'ident',                    !         0 => 'ident.ident',
      ),                                 =       ),
    ),                                   =     ),
  ),                                     =   ),
  'table_names' =>                       =   'table_names' => 
  array (                                =   array (
    0 => 'parent_table',                 =     0 => 'parent_table',
    1 => 'child_table',                  =     1 => 'child_table',
  ),                                     =   ),
  'table_aliases' =>                     =   'table_aliases' => 
  array (                                =   array (
    0 => '',                             =     0 => '',
    1 => '',                             =     1 => '',
  ),                                     =   ),
  'table_join_clause' =>                 =   'table_join_clause' => 
  array (                                =   array (
    0 => '',                             =     0 => '',
    1 => '',                             =     1 => '',
  ),                                     =   ),
  'table_join' =>                        =   'table_join' => 
  array (                                =   array (
    0 => ',',                            =     0 => ',',
  ),                                     =   ),
  'where_clause' =>                      =   'where_clause' => 
  array (                                =   array (
    'arg_1' =>                           =     'arg_1' => 
    array (                              =     array (
      'value' => 'parent_table.id',      =       'value' => 'parent_table.id',
      'type' => 'ident',                 =       'type' => 'ident',
    ),                                   =     ),
    'op' => '=',                         =     'op' => '=',
    'arg_2' =>                           =     'arg_2' => 
    array (                              =     array (
      'value' => 'child_table.id',       =       'value' => 'child_table.id',
      'type' => 'ident',                 =       'type' => 'ident',
    ),                                   =     ),
  ),                                     =   ),
)                                        = )

*********************
0.13% 31 / 24782 lines
select #18
Output format has changed
SQL: select parent_table.name, count(child_table.name) from parent_table ,child_table where parent_table.id = child_table.id group by parent_table.name
array (                                  = array (
  'command' => 'select',                 =   'command' => 'select',
  'column_tables' =>                     =   'column_tables' => 
  array (                                =   array (
    0 => 'parent_table',                 =     0 => 'parent_table',
  ),                                     =   ),
  'column_names' =>                      =   'column_names' => 
  array (                                =   array (
    0 => 'name',                         =     0 => 'name',
  ),                                     =   ),
  'column_aliases' =>                    =   'column_aliases' => 
  array (                                =   array (
    0 => '',                             =     0 => '',
  ),                                     =   ),
  'set_function' =>                      =   'set_function' => 
  array (                                =   array (
    0 =>                                 =     0 => 
    array (                              =     array (
      'name' => 'count',                 =       'name' => 'count',
      'arg' =>                           =       'arg' => 
      array (                            =       array (
        0 => 'child_table.name',         =         0 => 'child_table.name',
      ),                                 =       ),
      'type' =>                          =       'type' => 
      array (                            =       array (
        0 => 'ident',                    !         0 => 'ident.ident',
      ),                                 =       ),
    ),                                   =     ),
  ),                                     =   ),
  'table_names' =>                       =   'table_names' => 
  array (                                =   array (
    0 => 'parent_table',                 =     0 => 'parent_table',
    1 => 'child_table',                  =     1 => 'child_table',
  ),                                     =   ),
  'table_aliases' =>                     =   'table_aliases' => 
  array (                                =   array (
    0 => '',                             =     0 => '',
    1 => '',                             =     1 => '',
  ),                                     =   ),
  'table_join_clause' =>                 =   'table_join_clause' => 
  array (                                =   array (
    0 => '',                             =     0 => '',
    1 => '',                             =     1 => '',
  ),                                     =   ),
  'table_join' =>                        =   'table_join' => 
  array (                                =   array (
    0 => ',',                            =     0 => ',',
  ),                                     =   ),
  'where_clause' =>                      =   'where_clause' => 
  array (                                =   array (
    'arg_1' =>                           =     'arg_1' => 
    array (                              =     array (
      'value' => 'parent_table.id',      =       'value' => 'parent_table.id',
      'type' => 'ident',                 =       'type' => 'ident',
    ),                                   =     ),
    'op' => '=',                         =     'op' => '=',
    'arg_2' =>                           =     'arg_2' => 
    array (                              =     array (
      'value' => 'child_table.id',       =       'value' => 'child_table.id',
      'type' => 'ident',                 =       'type' => 'ident',
    ),                                   =     ),
  ),                                     =   ),
  'group_by' =>                          =   'group_by' => 
  array (                                =   array (
    0 => 'parent_table.name',            =     0 => 'parent_table.name',
  ),                                     =   ),
)                                        = )

*********************
0.13% 31 / 24782 lines
select #19 0.13% 31 / 24782 lines
select #2 0.13% 31 / 24782 lines
select #20 0.13% 31 / 24782 lines
select #21 0.13% 31 / 24782 lines
select #22 0.13% 31 / 24782 lines
select #23
SQL seems to run fine now, please update the expected test result!
0.03% 7 / 24782 lines
select #24
SQL seems to run fine now, please update the expected test result!
0.03% 7 / 24782 lines
select #25 0.13% 31 / 24782 lines
select #26 0.13% 31 / 24782 lines
select #27 0.13% 31 / 24782 lines
select #28 0.13% 31 / 24782 lines
select #29
SQL still fails to be parsed
SQL: select 4b from test where 7iModule_Solution = 3

Expected:
 [array with parsed SQL]
Result:
Parse error: Expected an operator on line 1
select 4b from test where 7iModule_Solution = 3
                           ^ found: "iModule_Solution"
*********************
0.05% 12 / 24782 lines
select #3 0.13% 31 / 24782 lines
select #30 0.13% 31 / 24782 lines
select #31 0.13% 31 / 24782 lines
select #4 0.13% 31 / 24782 lines
select #5 0.13% 31 / 24782 lines
select #6 0.13% 31 / 24782 lines
select #7 0.13% 31 / 24782 lines
select #8 0.13% 31 / 24782 lines
select #9 0.13% 31 / 24782 lines
tables #1
SQL still fails to be parsed
SQL: CREATE TABLE event (
	id INTEGER AUTO_INCREMENT PRIMARY KEY,
	foreign_id INTEGER,
	active BOOLEAN DEFAULT 'true',
	status SET('canceled','sold out','rescheduled','changed location'),
	category_id VARCHAR(10),
	status_desc VARCHAR(40),
	title VARCHAR(40),
	featuring VARCHAR(40),
	sponsors VARCHAR(40),
	uri VARCHAR(30),
	image VARCHAR(30),
	description TEXT,
	location_id_primary INTEGER,
	location_id_secondary INTEGER,
	cost VARCHAR(30),
	contact_id INTEGER,
	flags SET('interpreter','childcare')
)

Expected:
 [array with parsed SQL]
Result:
Parse error: Unexpected token AUTO_INCREMENT on line 2
	id INTEGER AUTO_INCREMENT PRIMARY KEY,
            ^ found: "AUTO_INCREMENT"
*********************
0.05% 12 / 24782 lines
tables #2
SQL still fails to be parsed
SQL: 
CREATE TABLE event_category (
	id INTEGER AUTO_INCREMENT PRIMARY KEY,
	name VARCHAR(30)
)

Expected:
 [array with parsed SQL]
Result:
Parse error: Unexpected token AUTO_INCREMENT on line 3
	id INTEGER AUTO_INCREMENT PRIMARY KEY,
            ^ found: "AUTO_INCREMENT"
*********************
0.05% 12 / 24782 lines
tables #3
SQL still fails to be parsed
SQL: 
CREATE TABLE notice (
	id INTEGER AUTO_INCREMENT PRIMARY KEY,
	title VARCHAR(50),
	description TEXT,
	uri VARCHAR(30),
	link_only BOOLEAN,
	image VARCHAR(30),
)

Expected:
 [array with parsed SQL]
Result:
Parse error: Unexpected token AUTO_INCREMENT on line 3
	id INTEGER AUTO_INCREMENT PRIMARY KEY,
            ^ found: "AUTO_INCREMENT"
*********************
0.05% 12 / 24782 lines
tables #4
SQL still fails to be parsed
SQL: 
CREATE TABLE schedule (
	id INTEGER AUTO_INCREMENT PRIMARY KEY,
	event_id INTEGER,
	date_start DATE,
	date_finish DATE,
	time_start TIME,
	time_finish TIME,
	repeats ENUM('once','daily','weekly','monthly'),
	type ENUM('event', 'notice', 'location'),
	spotlight BOOLEAN
)

Expected:
 [array with parsed SQL]
Result:
Parse error: Unexpected token AUTO_INCREMENT on line 3
	id INTEGER AUTO_INCREMENT PRIMARY KEY,
            ^ found: "AUTO_INCREMENT"
*********************
0.05% 12 / 24782 lines
tables #5
SQL still fails to be parsed
SQL: 
CREATE TABLE contacts (
	id INTEGER AUTO_INCREMENT PRIMARY KEY,
	name VARCHAR(40),
	email VARCHAR(40),
	organization VARCHAR(40),
	phone VARCHAR(16)
)

Expected:
 [array with parsed SQL]
Result:
Parse error: Unexpected token AUTO_INCREMENT on line 3
	id INTEGER AUTO_INCREMENT PRIMARY KEY,
            ^ found: "AUTO_INCREMENT"
*********************
0.05% 12 / 24782 lines
tables #6
SQL still fails to be parsed
SQL: 
CREATE TABLE location (
	id INTEGER AUTO_INCREMENT PRIMARY KEY,
	name VARCHAR(40),
	description VARCHAR(40),
	address TEXT,
	capacity INTEGER,
)

Expected:
 [array with parsed SQL]
Result:
Parse error: Unexpected token AUTO_INCREMENT on line 3
	id INTEGER AUTO_INCREMENT PRIMARY KEY,
            ^ found: "AUTO_INCREMENT"
*********************
0.05% 12 / 24782 lines
tables #7 0.13% 31 / 24782 lines
tables #8 0.13% 31 / 24782 lines
update #1
SQL still fails to be parsed
SQL: update dogmeat set horse=2 dog='forty' where moose <> 'howdydoo'

Expected:
 [array with parsed SQL]
Result:
Parse error: Expected "where" or "," on line 1
update dogmeat set horse=2 dog='forty' where moose <> 'howdydoo'
                           ^ found: "dog"
*********************
0.05% 12 / 24782 lines
update #2
SQL still fails to be parsed
SQL: update dogmeat set horse=2, dog='forty' where moose != 'howdydoo'

Expected:
 [array with parsed SQL]
Result:
Parse error: Expected an operator on line 1
update dogmeat set horse=2, dog='forty' where moose != 'howdydoo'
                                                    ^ found: "!="
*********************
0.05% 12 / 24782 lines
update #3 0.13% 31 / 24782 lines
update #4 0.13% 31 / 24782 lines
update #5 0.13% 31 / 24782 lines
update #6
Output format has changed
SQL: update table2 set col=1 where col > 2 and col <> 4 or dog="Hello"
array (                                  = array (
  'command' => 'update',                 =   'command' => 'update',
  'table_names' =>                       =   'table_names' => 
  array (                                =   array (
    0 => 'table2',                       =     0 => 'table2',
  ),                                     =   ),
  'column_names' =>                      =   'column_names' => 
  array (                                =   array (
    0 => 'col',                          =     0 => 'col',
  ),                                     =   ),
  'values' =>                            =   'values' => 
  array (                                =   array (
    0 =>                                 =     0 => 
    array (                              =     array (
      'value' => 1,                      =       'value' => 1,
      'type' => 'int_val',               =       'type' => 'int_val',
    ),                                   =     ),
  ),                                     =   ),
  'where_clause' =>                      =   'where_clause' => 
  array (                                =   array (
    'arg_1' =>                           =     'arg_1' => 
    array (                              =     array (
      'arg_1' =>                         =       'arg_1' => 
      array (                            =       array (
        'value' => 'col',                =         'value' => 'col',
        'type' => 'ident',               =         'type' => 'ident',
      ),                                 =       ),
      'op' => '>',                       =       'op' => '>',
      'arg_2' =>                         =       'arg_2' => 
      array (                            =       array (
        'value' => 2,                    =         'value' => 2,
        'type' => 'int_val',             =         'type' => 'int_val',
      ),                                 =       ),
    ),                                   =     ),
    'op' => 'and',                       =     'op' => 'and',
    'arg_2' =>                           =     'arg_2' => 
    array (                              =     array (
      'arg_1' =>                         =       'arg_1' => 
      array (                            =       array (
        'arg_1' =>                       =         'arg_1' => 
        array (                          =         array (
          'value' => 'col',              =           'value' => 'col',
          'type' => 'ident',             =           'type' => 'ident',
        ),                               =         ),
        'op' => '<>',                    =         'op' => '<>',
        'arg_2' =>                       =         'arg_2' => 
        array (                          =         array (
          'value' => 4,                  =           'value' => 4,
          'type' => 'int_val',           =           'type' => 'int_val',
        ),                               =         ),
      ),                                 =       ),
      'op' => 'or',                      =       'op' => 'or',
      'arg_2' =>                         =       'arg_2' => 
      array (                            =       array (
        'arg_1' =>                       =         'arg_1' => 
        array (                          =         array (
          'value' => 'dog',              =           'value' => 'dog',
          'type' => 'ident',             =           'type' => 'ident',
        ),                               =         ),
        'op' => '=',                     =         'op' => '=',
        'arg_2' =>                       =         'arg_2' => 
        array (                          =         array (
          'value' => 'Hello',            =           'value' => 'Hello',
          'type' => 'text_val',          !           'type' => 'ident',
        ),                               =         ),
      ),                                 =       ),
    ),                                   =     ),
  ),                                     =   ),
)                                        = )

*********************
0.13% 31 / 24782 lines
update #7 0.13% 31 / 24782 lines
usr
22.34 %22.34%
22.34% 176 / 788 lines
PEAR_PackageUpdate_TestCase_DefaultConfig Lines hit
testCorruptedPrefFile
unserialize(): Error at offset 0 of 3 bytes
1.02% 8 / 788 lines
testWrongDriver 16.88% 133 / 788 lines
testWrongPrefFile 12.06% 95 / 788 lines
HTML_QuickForm2Test Lines hit
testCannotAddToContainer 1.14% 9 / 788 lines
testIdAndMethodAreReadonly 1.14% 9 / 788 lines
testSetDataSources 1.14% 9 / 788 lines
HTML_QuickForm2_ContainerOverloadTest Lines hit
testAddUnknownType 1.14% 9 / 788 lines
HTML_QuickForm2_ContainerTest Lines hit
testCanNotRemoveNameOrId 1.14% 9 / 788 lines
testCannotRemoveNonExisting 1.14% 9 / 788 lines
testCannotSetContainerOnSelf 1.14% 9 / 788 lines
testInsertBeforeNonExistingElement 1.14% 9 / 788 lines
HTML_QuickForm2_ElementTest Lines hit
testCanNotRemoveNameOrId 1.14% 9 / 788 lines
HTML_QuickForm2_Element_InputTest Lines hit
testTypeAttributeIsReadonly 1.14% 9 / 788 lines
HTML_QuickForm2_FactoryTest Lines hit
testCreateElementInvalidFile 1.14% 9 / 788 lines
testCreateElementNonExistingClass 1.14% 9 / 788 lines
testCreateElementNonExistingFile 1.14% 9 / 788 lines
testCreateNotRegisteredElement 1.14% 9 / 788 lines
testCreateNotRegisteredRule 1.14% 9 / 788 lines
testCreateRuleInvalidFile 1.14% 9 / 788 lines
testCreateRuleNonExistingClass 1.14% 9 / 788 lines
testCreateRuleNonExistingFile 1.14% 9 / 788 lines
testGetRuleConfig 1.14% 9 / 788 lines
HTML_QuickForm2_Rule_CompareTest Lines hit
testDisallowBogusOperators 1.14% 9 / 788 lines
testOperandRequired 1.14% 9 / 788 lines
HTML_QuickForm2_Rule_RegexTest Lines hit
testRegexIsRequired 1.14% 9 / 788 lines
HTML_QuickForm2_Rule_RequiredTest Lines hit
testCannotAppendWithOr_ 1.14% 9 / 788 lines
testMustBeFirstInChain 1.14% 9 / 788 lines
Net_WifiTest Lines hit
testParseCurrentConfig 2.54% 20 / 788 lines
testParseScan 2.54% 20 / 788 lines

Generated by: PHPUnit 3.1.5 and Xdebug 2.0.0RC4.
Logfile: Plain Text | TAP | XML | Code Coverage