WP_Thumb B

Total Complexity 89
Dependencies 1
Dependents 4
Total lines 575
Lines of code 284
Logical lines of code 181
Comment lines 140
Methods 23
Properties 3

Methods 23

Method Rating Maintainability Complexity Lines of code
generateCacheFile()
A
45 12 37
setArgs()
A
44 9 47
getFilePath()
A
55 10 19
getCacheFileDirectory()
A
48 7 31
crop_from_position()
S
51 7 26
__construct()
S
61 7 13
setFilePath()
S
56 6 17
returnImage()
S
63 5 10
getCacheFileName()
S
61 4 11
crop_from_center()
S
60 3 13
error()
S
79 2 3
uploadDir()
S
68 2 7
getCacheFilePath()
S
68 2 7
getFileExtension()
S
66 2 8
getArg()
S
71 2 6
getFileURLForFilePath()
S
65 2 8
clearUploadDirCache()
S
80 1 3
isRemote()
S
78 1 3
errored()
S
80 1 3
getArgs()
S
81 1 3
get_home_path()
S
77 1 3
getCacheFileURL()
S
80 1 3
getFileURL()
S
80 1 3