WP_Job_Manager_Data_Cleaner_Test S

Total Complexity 29
Dependencies 2
Dependents 0
Total lines 586
Lines of code 376
Logical lines of code 148
Comment lines 118
Methods 16
Properties 12

Methods 16

Method Rating Maintainability Complexity Lines of code
setupTaxonomyTerms()
S
41 4 73
testCleanupUserMeta()
S
50 4 31
testJobManagerCronJobsRemoved()
S
54 4 22
testJobManagerTaxonomiesDeleted()
S
47 2 48
testOtherTaxonomiesUntouched()
S
49 1 37
setupPosts()
S
52 1 31
setupPages()
S
52 1 30
testJobManagerRolesAndCapsDeleted()
S
56 1 17
testJobManagerPostsTrashed()
S
68 2 7
testOtherPostsUntouched()
S
66 2 8
testJobManagerPagesTrashed()
S
64 2 9
testJobManagerTransientsDeleted()
S
58 1 15
getPostIdsWithTerm()
S
60 1 15
setupUsers()
S
60 1 13
testJobManagerOptionsDeleted()
S
60 1 13
setUp()
S
70 1 7