Code Analysis: Review Site Builder 1.3.0

Function Rating Maintainability Complexity Lines of code
timthumb::processImageAndWriteToCache()
D
15
65 250
timthumb::__construct()
B
33 21 90
timthumb::getLocalImagePath()
A
42 13 50
timthumb::getURL()
A
40 11 60
timthumb::serveWebshot()
A
42 11 48
timthumb::cleanCache()
A
47 9 34
timthumb::tryBrowserCache()
A
48 9 34
timthumb::calcDocRoot()
A
52 8 23
timthumb::handleErrors()
S
56 7 21
timthumb::serveCacheFile()
S
48 6 33
timthumb::tryServerCache()
S
49 6 32
timthumb::getIP()
S
59 7 15
timthumb::returnBytes()
S
63 7 9
timthumb::serveExternalImage()
S
50 5 30
wprv_save_review_details_ratings()
S
60 6 13
wprv_full_review()
S
60 6 13
timthumb::run()
S
53 5 25
timthumb::serveInternalImage()
S
54 5 23
timthumb::serveImg()
S
55 5 20
ahm_plugin::load_styles()
S
58 5 14
ahm_plugin::load_scripts()
S
58 5 14
timthumb::sendImageHeaders()
S
52 4 25
timthumb::openImage()
S
57 4 18
timthumb::start()
S
59 4 16
ahm_plugin::load_modules()
S
61 4 12
timthumb::debug()
S
61 4 11
wprv_custom_init()
S
42 1 55
timthumb::getMimeType()
S
68 3 7
rating_star()
S
63 3 10
timthumb::realpath()
S
68 3 7
timthumb::setMemoryLimit()
S
62 2 11
timthumb::serveErrors()
S
61 2 11
timthumb::__destruct()
S
70 2 6
timthumb::param()
S
69 2 7
timthumb::haveErrors()
S
71 2 6
timthumb::curlWrite()
S
65 2 9
ahm_plugin::render_plugin()
S
100 1 2
wprv_review()
S
82 1 3
wprv_review_rating()
S
73 1 5
wprv_thumb_image()
S
76 1 4
ahm_plugin::prepeare()
S
100 1 2
ahm_plugin::action()
S
100 1 2
wprv_all_reviews()
S
82 1 3
timthumb::error()
S
72 1 5
wprv_install()
S
74 1 5
ahm_plugin::filter()
S
100 1 2
wprv_add_custom_box()
S
70 1 5
ahm_plugin::new_header_tab()
S
74 1 4
wprv_review_details()
S
76 1 4
timthumb::set404()
S
81 1 3
ahm_plugin::__construct()
S
75 1 4
wprv_admin_scripts()
S
70 1 7
timthumb::toDelete()
S
74 1 4
wprv_review_short_code()
S
77 1 4
timthumb::securityChecks()
S
91 1 2
timthumb::is404()
S
82 1 3
timthumb::sanityFail()
S
79 1 3
wprv_enqueue_scripts()
S
72 1 6