Code Analysis: Infusionsoft Google Analytics 0.1

Function Rating Maintainability Complexity Lines of code
phpxmlrpc_verify_compat()
B
34 18 103
iSDK::vendorCon()
B
41 18 48
PHPUnit_Assert::assertEquals()
B
44 18 47
iSDK::cfgCon()
A
44 16 37
forward_request()
A
46 10 40
mail_send()
A
43 9 52
iSDK::methodCaller()
A
48 9 30
agesorter()
A
44 7 47
v1_countTheEntities()
A
47 7 37
PHPUnit_Assert::assertSame()
A
56 8 17
PHPUnit_Assert::assertNotSame()
A
56 8 17
getcomments()
S
47 6 39
LocalHostMultiTests::_runtests()
S
58 7 15
LocalhostTests::testGetCookies()
S
49 6 30
LocalhostTests::testClientMulticall1()
S
47 5 37
LocalhostTests::testClientMulticall2()
S
48 5 33
iSDK::log()
S
48 5 33
PHPUnit_TestSuite::addTestSuite()
S
57 6 16
Infusionsoft_GA::iga_options_page()
S
47 4 45
LocalhostTests::testServerMulticall()
S
46 4 44
addcomment()
S
47 4 38
xmlrpccall_simple()
S
54 5 22
LocalhostTests::testClientMulticall3()
S
48 4 34
Infusionsoft_GA::track_order()
S
45 3 47
LocalhostTests::fail()
S
57 5 16
LocalhostTests::testBoolean()
S
50 4 31
PHPUnit_Assert::assertContains()
S
62 5 11
PHPUnit_Assert::assertNotContains()
S
62 5 11
LocalhostTests::send()
S
56 4 19
getallheaders_xmlrpc()
S
56 4 18
v1_arrayOfStructs()
S
57 4 17
InvalidHostTests::testCurlKAErr()
S
52 3 25
LocalhostTests::testString()
S
52 3 24
LocalhostTests::testBase64()
S
55 3 22
LocalhostTests::testAutoRegisteredClass()
S
56 3 22
LocalhostTests::testSetCookies()
S
53 3 22
findstate()
S
55 3 22
LocalhostTests::testCountEntities()
S
55 3 19
LocalHostMultiTests::testHttpsProxy()
S
56 3 19
bitflipper()
S
56 3 19
LocalhostTests::setUp()
S
57 3 18
LocalHostMultiTests::testHttp11Proxy()
S
57 3 18
ParsingBugsTests::testValidNumbers()
S
47 1 47
PHPUnit_TestSuite::run()
S
65 4 8
PHPUnit_TestCase::fail()
S
59 3 15
PHPUnit_TestDecorator::PHPUnit_TestDecorator()
S
68 4 7
PHPUnit_TestResult::toString()
S
60 3 14
Infusionsoft_GA::connect()
S
58 3 14
iSDK::infuDate()
S
58 3 14
iSDK::addCon()
S
60 3 13
LocalhostTests::testSendTwiceSameMsg()
S
63 3 11
PHPUnit_Assert::assertNotRegExp()
S
63 3 11
PHPUnit_Assert::assertRegExp()
S
63 3 11
dispatch()
S
62 3 11
ParsingBugsTests::testStringBug()
S
53 1 34
iSDK::uploadFile()
S
59 2 16
PHPUnit_Assert::assertFalse()
S
65 3 9
PHPUnit_Assert::_convertToString()
S
64 3 10
agesorter_compare()
S
63 3 10
PHPUnit_TestResult::removeListener()
S
68 3 7
PHPUnit_TestResult::addListener()
S
70 3 6
PHPUnit_TestResult::wasSuccessful()
S
69 3 7
ParsingBugsTests::testBrokenRequests()
S
54 1 30
PHPUnit_Assert::assertNotNull()
S
65 3 9
PHPUnit_Assert::assertNull()
S
65 3 9
PHPUnit_Assert::assertTrue()
S
65 3 9
LocalhostTests::testAutoRegisteredFunction()
S
61 2 14
LocalHostMultiTests::testHttp11Deflate()
S
61 2 13
LocalHostMultiTests::testHttps()
S
61 2 13
LocalHostMultiTests::testHttp11Gzip()
S
61 2 13
ParsingBugsTests::testUnicodeInErrorString()
S
55 1 28
LocalhostTests::testAddingDoubles()
S
62 2 12
LocalhostTests::testDateTime()
S
61 2 12
LocalhostTests::testAutoRegisteredMethod()
S
62 2 12
ParsingBugsTests::testBrokenResponses()
S
55 1 27
ParsingBugsTests::testDoubleStuffInValueTag()
S
54 1 27
end_test()
S
62 2 11
LocalhostTests::testInvalidNumber()
S
63 2 11
LocalHostMultiTests::testHttp11()
S
64 2 11
ParsingBugsTests::TestLocale()
S
61 2 11
LocalhostTests::testAdding()
S
63 2 11
inner_findstate()
S
64 2 11
ParsingBugsTests::testBuggyHttp()
S
55 1 25
ParsingBugsTests::testNilvalue()
S
53 1 24
ParsingBugsTests::testDoubleDataInArrayTag()
S
58 1 19
iSDK::attachEmail()
S
57 1 18
ParsingBugsTests::testUTF8Response()
S
57 1 17
iSDK::updateEmailTemplate()
S
59 1 16
ParsingBugsTests::testAutoCoDec()
S
56 1 16
iSDK::addEmailTemplate()
S
59 1 15
PHPUnit_TestSuite::testAt()
S
70 2 7
LocalhostTests::testCodeInjectionServerSide()
S
66 2 9
LocalhostTests::testCatchWarnings()
S
64 2 10
LocalHostMultiTests::testDeflate()
S
65 2 10
LocalHostMultiTests::testKeepAlives()
S
65 2 10
LocalHostMultiTests::testGzip()
S
65 2 10
LocalHostMultiTests::testProxy()
S
66 2 10
iSDK::payPlan()
S
59 1 15
iSDK::validateCard()
S
70 2 6
stripslashes_deep()
S
71 2 6
InvalidHostTests::setUp()
S
67 2 8
PHPUnit_TestSuite::countTestCases()
S
69 2 7
iSDK::getHandle()
S
70 2 6
PHPUnit_Assert::setLooselyTyped()
S
75 2 5
PHPUnit_TestCase::PHPUnit_TestCase()
S
75 2 5
PHPUnit_TestCase::pass()
S
75 2 5
begin_test()
S
68 2 7
setcookies()
S
63 2 9
i_whichToolkit()
S
63 2 10
PHPUnit_TestResult::addError()
S
69 2 6
PHPUnit_TestResult::addFailure()
S
69 2 6
PHPUnit_TestResult::endTest()
S
72 2 5
Infusionsoft_GA::__construct()
S
68 2 7
PHPUnit_TestResult::startTest()
S
72 2 5
iSDK::createEmailTemplate()
S
59 1 15
PHPUnit_TestSuite::PHPUnit_TestSuite()
S
72 2 6
iSDK::addRecurringAdv()
S
60 1 14
iSDK::sendEmail()
S
61 1 13
ParsingBugsTests::testWhiteSpace()
S
62 1 13
ParsingBugsTests::testAutodecodeResponse()
S
61 1 13
iSDK::placeOrder()
S
61 1 13
iSDK::commOverride()
S
62 1 12
v1_manyTypes()
S
64 1 11
LocalhostTests::testCatchExceptions()
S
62 1 11
iSDK::addOrderItem()
S
63 1 11
iSDK::addRecurring()
S
63 1 11
iSDK::dsQueryOrderBy()
S
63 1 11
ParsingBugsTests::testNoDecodeResponse()
S
64 1 11
iSDK::getFreeTrial()
S
73 1 5
PHPUnit_TestResult::errors()
S
83 1 3
PHPUnit_TestResult::passedTests()
S
83 1 3
v1_nestedStruct()
S
62 1 10
iSDK::getAffiliatesByProgram()
S
73 1 5
PHPUnit_TestResult::stop()
S
82 1 3
PHPUnit_TestResult::addPassedTest()
S
80 1 3
i_echoValue()
S
92 1 1
iSDK::authenticateUser()
S
68 1 7
iSDK::updateCon()
S
70 1 6
LocalHostMultiTests::testISOResponses()
S
74 1 5
v1_simpleStructReturn()
S
63 1 10
PHPUnit_TestSuite::addTest()
S
80 1 3
PHPUnit_Assert::fail()
S
100 1 1
ParsingBugsTests::testAddScalarToStruct()
S
71 1 5
i_echoStruct()
S
92 1 1
iSDK::grpRemove()
S
70 1 6
PHPUnit_TestResult::run()
S
72 1 6
ParsingBugsTests::testAddStructToStruct()
S
66 1 8
v1_moderateSizeArrayCheck()
S
66 1 8
iSDK::rescheduleCampaignStep()
S
69 1 7
iSDK::loadCon()
S
70 1 6
iSDK::setInvoiceSyncStatus()
S
70 1 6
i_echoString()
S
92 1 1
PHPUnit_TestSuite::getName()
S
83 1 3
InvalidHostTests::test404()
S
68 1 7
PHPUnit_TestCase::tearDown()
S
100 1 1
PHPUnit_TestSuite::testCount()
S
81 1 3
iSDK::getDefaultQuickSearch()
S
73 1 5
PHPUnit_TestDecorator::toString()
S
82 1 3
iSDK::resumeCampaignForContact()
S
70 1 6
iSDK::getResourcesForAffiliateProgram()
S
73 1 5
iSDK::getOrderTotalDiscount()
S
73 1 5
PHPUnit_TestListener::addError()
S
100 1 1
iSDK::decreaseInventory()
S
70 1 6
iSDK::deactivateCreditCard()
S
73 1 5
iSDK::savedSearchAllFields()
S
68 1 7
iSDK::getCategoryDiscount()
S
73 1 5
iSDK::addCategoryAssignmentToCategoryDiscount()
S
70 1 6
iSDK::getNextCampaignStep()
S
69 1 7
iSDK::getQuickSearches()
S
73 1 5
iSDK::quickSearch()
S
65 1 9
iSDK::addMoveNotes()
S
67 1 8
iSDK::moveTicketStage()
S
67 1 8
iSDK::getAllShippingOptions()
S
76 1 4
iSDK::getAllConfiguredShippingOptions()
S
76 1 4
iSDK::addShippingTotalDiscount()
S
65 1 9
Infusionsoft_GA::register_settings()
S
80 1 3
iSDK::getShippingTotalDiscount()
S
73 1 5
iSDK::getProductBasedShippingOption()
S
73 1 5
iSDK::getProductShippingPricesForProductShippingOption()
S
73 1 5
iSDK::campRemove()
S
70 1 6
iSDK::getWeightBasedShippingOption()
S
73 1 5
iSDK::getAvailableMergeFields()
S
73 1 5
iSDK::getUpsShippingOption()
S
73 1 5
iSDK::affPayouts()
S
68 1 7
iSDK::sendTemplate()
S
71 1 6
PHPUnit_TestResult::errorCount()
S
81 1 3
iSDK::runAS()
S
70 1 6
xmlrpc_server_methods_container::phpwarninggenerator()
S
75 1 4
InvalidHostTests::testSrvNotFound()
S
66 1 8
xmlrpc_server_methods_container::findstate()
S
80 1 3
iSDK::getEmailTemplate()
S
73 1 5
iSDK::affRunningTotals()
S
73 1 5
iSDK::applyActivityHistoryTemplate()
S
68 1 7
PHPUnit_TestResult::toHTML()
S
79 1 3
iSDK::optStatus()
S
73 1 5
iSDK::getActivityHistoryTemplateMap()
S
76 1 4
iSDK::optIn()
S
71 1 6
iSDK::campPause()
S
70 1 6
iSDK::optOut()
S
71 1 6
iSDK::addWithDupCheck()
S
70 1 6
iSDK::getFile()
S
70 1 6
LocalhostTests::_multicall_msg()
S
71 1 5
iSDK::requestCcSubmissionToken()
S
68 1 7
iSDK::affSummary()
S
68 1 7
iSDK::replaceFile()
S
69 1 7
PHPUnit_TestSuite::runTest()
S
82 1 3
iSDK::renameFile()
S
69 1 7
iSDK::requestCreditCardId()
S
73 1 5
LocalhostTests::testZeroParams()
S
76 1 4
PHPUnit_TestFailure::thrownException()
S
83 1 3
iSDK::manualPmt()
S
64 1 10
iSDK::getAllPaymentOptions()
S
76 1 4
PHPUnit_TestCase::runTest()
S
70 1 8
PHPUnit_TestFailure::failedTest()
S
83 1 3
PHPUnit_Assert::assertType()
S
71 1 7
iSDK::addOrderTotalDiscount()
S
64 1 10
iSDK::grpAssign()
S
70 1 6
iSDK::getProductTotalDiscount()
S
73 1 5
iSDK::recalculateTax()
S
73 1 5
iSDK::dsUpdateWithImage()
S
68 1 7
iSDK::getWebFormHtml()
S
73 1 5
iSDK::getFlatRateShippingOption()
S
73 1 5
iSDK::getWebTrackingScriptUrl()
S
76 1 4
PHPUnit_TestCase::runBare()
S
73 1 6
iSDK::getAffiliatePrograms()
S
76 1 4
iSDK::updateCustomField()
S
70 1 6
iSDK::mergeCon()
S
71 1 6
iSDK::amtOwed()
S
73 1 5
iSDK::savedSearch()
S
67 1 8
PHPUnit_TestListener::startTest()
S
100 1 1
PHPUnit_TestDecorator::countTestCases()
S
82 1 3
iSDK::campAssign()
S
70 1 6
ParsingBugsTests::testStructMemExists()
S
68 1 7
iSDK::getWebTrackingServiceTag()
S
76 1 4
iSDK::dsDelete()
S
70 1 6
PHPUnit_TestCase::setUp()
S
100 1 1
iSDK::dsFind()
S
64 1 10
ParsingBugsTests::testUnicodeInMemberName()
S
64 1 9
iSDK::getPluginStatus()
S
73 1 5
PHPUnit_TestDecorator::getTest()
S
83 1 3
iSDK::setPaymentSyncStatus()
S
70 1 6
i_echoIntegerArray()
S
92 1 1
PHPUnit_TestResult::shouldStop()
S
83 1 3
iSDK::addCategoryDiscount()
S
67 1 8
iSDK::findByEmail()
S
71 1 6
bomb()
S
91 1 1
ParsingBugsTests::testAddArrayToArray()
S
69 1 6
iSDK::affCommissions()
S
68 1 7
iSDK::dsGetSetting()
S
71 1 6
i_echoInteger()
S
92 1 1
iSDK::getOrderTotalShippingOption()
S
73 1 5
ParsingBugsTests::testStringInt()
S
72 1 5
LocalHostMultiTests::testUTF8Requests()
S
77 1 4
iSDK::getAvailableFields()
S
70 1 6
iSDK::deleteInvoice()
S
73 1 5
iSDK::addCustomField()
S
67 1 8
iSDK::achieveGoal()
S
68 1 7
iSDK::dsAddWithImage()
S
70 1 6
iSDK::getCampaigneeStepDetails()
S
69 1 7
LocalHostMultiTests::testUTF8Responses()
S
74 1 5
ParsingBugsTests::testUTF8IntString()
S
72 1 5
xmlrpc_server_methods_container::exceptiongenerator()
S
80 1 3
PHPUnit_TestListener::addFailure()
S
100 1 1
iSDK::getOrderId()
S
73 1 5
iSDK::getDownloadUrl()
S
70 1 6
ParsingBugsTests::testEncodeArray()
S
72 1 5
iSDK::dsQuery()
S
65 1 9
PHPUnit_TestCase::getName()
S
83 1 3
iSDK::updateSubscriptionNextBillDate()
S
70 1 6
PHPUnit_TestSuite::tests()
S
83 1 3
iSDK::blankOrder()
S
65 1 9
iSDK::dsAdd()
S
70 1 6
PHPUnit_TestCase::toString()
S
83 1 3
echoback()
S
75 1 4
Infusionsoft_GA::iga_options()
S
78 1 3
iSDK::recurringInvoice()
S
73 1 5
iSDK::addFreeTrial()
S
65 1 9
iSDK::increaseInventory()
S
70 1 6
PHPUnit_TestResult::runCount()
S
83 1 3
iSDK::enableLogging()
S
81 1 3
ParsingBugsTests::testEncodeRecursive()
S
75 1 4
iSDK::setLog()
S
81 1 3
iSDK::chargeInvoice()
S
65 1 9
ParsingBugsTests::testMinusOneString()
S
72 1 5
iSDK::dsLoad()
S
69 1 7
PHPUnit_TestCase::countTestCases()
S
83 1 3
PHPUnit_TestSuite::setName()
S
82 1 3
iSDK::locateCard()
S
70 1 6
PHPUnit::run()
S
73 1 5
PHPUnit_TestCase::createResult()
S
83 1 3
i_echoFloat()
S
92 1 1
iSDK::dsUpdate()
S
68 1 7
iSDK::getWeightBasedShippingRanges()
S
73 1 5
PHPUnit_TestCase::run()
S
74 1 5
PHPUnit_TestDecorator::run()
S
100 1 1
iSDK::getOrderQuantityShippingOption()
S
73 1 5
PHPUnit_TestDecorator::basicRun()
S
82 1 3
PHPUnit_TestSuite::toString()
S
83 1 3
iSDK::getProgramsForAffiliate()
S
73 1 5
iSDK::decrementInventory()
S
73 1 5
iSDK::getPayments()
S
73 1 5
ParsingBugsTests::testUTF8Request()
S
66 1 8
iSDK::incrementInventory()
S
73 1 5
PHPUnit_TestFailure::PHPUnit_TestFailure()
S
77 1 4
PHPUnit_TestResult::failureCount()
S
81 1 3
iSDK::getRedirectLinksForAffiliate()
S
73 1 5
i_echoFloatArray()
S
92 1 1
i_echoParam()
S
76 1 4
i_echoBase64()
S
92 1 1
addtwodouble()
S
71 1 5
v1_echoStruct()
S
76 1 4
v1_easyStruct()
S
65 1 8
addtwo()
S
71 1 5
echosixtyfour()
S
75 1 4
display_error()
S
73 1 5
stringecho()
S
73 1 5
payload_is_safe()
S
83 1 3
iSDK::getInvoiceId()
S
73 1 5
PHPUnit_TestFailure::toString()
S
69 1 8
iSDK::affClawbacks()
S
68 1 7
iSDK::getInventory()
S
73 1 5
iSDK::appEcho()
S
73 1 5
iSDK::getCategoryAssignmentsForCategoryDiscount()
S
73 1 5
PHPUnit_TestCase::setName()
S
82 1 3
iSDK::getWebFormMap()
S
76 1 4
i_echoStructArray()
S
92 1 1
iSDK::getOrderTotalShippingRanges()
S
73 1 5
iSDK::deleteSubscription()
S
73 1 5
i_echoStringArray()
S
92 1 1
PHPUnit_TestResult::failures()
S
83 1 3
iSDK::addProductTotalDiscount()
S
64 1 10
getcookies()
S
80 1 3
LocalHostMultiTests::testISORequests()
S
77 1 4
i_echoDate()
S
92 1 1
PHPUnit_TestListener::endTest()
S
100 1 1