ffPostGetter S

Total Complexity 36
Dependencies 3
Dependents 3
Total lines 253
Lines of code 140
Logical lines of code 66
Comment lines 54
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
filterByTaxonomy()
S
52 5 28
getPostByTypeSingle()
S
58 5 14
filterByCategory()
S
63 3 11
initTaxQueryFilter()
S
70 2 6
getPostsByType()
S
66 2 9
__construct()
S
77 1 4
_getPostCollectionFactory()
S
82 1 3
_setWPLayer()
S
81 1 3
_getWPLayer()
S
82 1 3
filterByTag()
S
73 1 5
setFilterRelation_AND()
S
73 1 5
setFilterRelation_OR()
S
73 1 5
addArg()
S
76 1 4
addArgHasFeatured()
S
76 1 4
setNumberOfPosts()
S
76 1 4
getPage()
S
80 1 3
getPost()
S
80 1 3
getPostBySlug()
S
75 1 4
getSingle()
S
81 1 3
getPostByID()
S
72 1 6
getAllPages()
S
80 1 3
getAllPosts()
S
80 1 3
getAll()
S
81 1 3
_setPostCollectionFactory()
S
77 1 4