ffOnePageRevisionManager S

Total Complexity 26
Dependencies 1
Dependents 1
Total lines 230
Lines of code 114
Logical lines of code 66
Comment lines 49
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
_deleteOldRevisions()
S
61 3 12
getRevisionList()
S
68 2 8
getListOfRevisionsForCurrentPost()
S
63 2 10
_insertNewRevision()
S
62 1 12
__construct()
S
81 1 3
addNewRevision()
S
73 1 5
setRevisionAsContent()
S
69 1 7
getRevisionContent()
S
76 1 4
getCurrentRevisionNumber()
S
76 1 4
setPostId()
S
80 1 3
_setMainContent()
S
76 1 4
_deleteRevisionByNumber()
S
76 1 4
_setRevisionList()
S
80 1 3
_getNewRevisionNumber()
S
70 1 6
_createRevisionList()
S
69 1 7
_getNewRevisionName()
S
79 1 3
_getPostId()
S
82 1 3
_setPostId()
S
77 1 4
_getPostMeta()
S
82 1 3
_setPostMeta()
S
81 1 3
_getAllowedNumberOfRevisions()
S
82 1 3
_setAllowedNumberOfRevisions()
S
81 1 3