Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B ShortURL\Model\ShortURL::onBeforeWrite() 0 22 6 42 1 0 0
A Model\ShortURL::getLinkChanged() 0 10 6 26.83 1 0 0
A ShortURL\Model\ShortURL::getCMSFields() 0 25 1 1 2 0 0
A Model\ShortURLTest::testGetValidate() 0 12 1 ? 1 0 0
A SiteTreeDataExtension::updateCMSFields() 0 5 2 6 1 0 1
A Model\ShortURLTest::testGetLongURL() 0 3 1 ? 1 0 0
A ShortURL\Model\ShortURL::getToken() 0 1 1 2 0 0 0
A ShortURLTest::testGetCMSFields() 0 3 1 ? 1 0 0
A ShortURL\Model\ShortURL::getLongURL() 0 8 1 1 1 0 0
A ShortURL\Model\ShortURL::validate() 0 8 4 4.07 1 0 0
A ShortURL\Model\ShortURL::getDomain() 0 1 1 2 1 0 0