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
getListOfRevisionsForCurrentPost()
S
63 2 10
getRevisionList()
S
68 2 8
_insertNewRevision()
S
62 1 12
_getNewRevisionNumber()
S
70 1 6
_getAllowedNumberOfRevisions()
S
82 1 3
_setPostMeta()
S
81 1 3
_getPostMeta()
S
82 1 3
_setPostId()
S
77 1 4
_getPostId()
S
82 1 3
_getNewRevisionName()
S
79 1 3
_createRevisionList()
S
69 1 7
__construct()
S
81 1 3
_setRevisionList()
S
80 1 3
addNewRevision()
S
73 1 5
_deleteRevisionByNumber()
S
76 1 4
_setMainContent()
S
76 1 4
setPostId()
S
80 1 3
getCurrentRevisionNumber()
S
76 1 4
getRevisionContent()
S
76 1 4
setRevisionAsContent()
S
69 1 7
_setAllowedNumberOfRevisions()
S
81 1 3