MigrationTest S

Total Complexity 21
Dependencies 3
Dependents 0
Total lines 220
Lines of code 164
Logical lines of code 73
Comment lines 8
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
testMigrationScriptFunctionsAreChained()
S
53 2 24
testMigrationScriptFunctionsAreCalled()
S
53 2 24
testMigrationScriptChainsUpdatesOptions()
S
60 2 13
testMigrationScriptUpdatesOptions()
S
60 2 13
testNoMigrationScriptsAreNotRunIfNewInstall()
S
60 2 13
updateVersions()
S
60 1 14
tableVersions()
S
62 1 13
setUp()
S
70 1 5
testNeedsTable()
S
74 1 4
testNeedsUpdate()
S
74 1 4
testAddingNewOptions()
S
70 1 5
testRemoveOldOptions()
S
70 1 5
testMinorPointUpgradeMigrationScriptsAreReturned()
S
69 1 6
testMajorPointUpgradeMigrationScriptsAreReturned()
S
69 1 6
testNotUpgradeMigrationScriptsAreReturnedIfNewInstall()
S
69 1 6
testMultipleUpgradeMigrationScriptsAreReturned()
S
65 1 9