PISOL_ENQ_CaptchaGenerator S

Total Complexity 41
Dependencies 3
Dependents 1
Total lines 392
Lines of code 298
Logical lines of code 138
Comment lines 16
Methods 20
Properties 6

Methods 20

Method Rating Maintainability Complexity Lines of code
enqueueScripts()
S
40 1 110
__construct()
S
52 5 25
get_characters()
S
58 5 16
generateCaptchaImageGD()
S
53 3 22
validateCaptcha()
S
63 3 11
get_captcha_length()
S
71 3 5
addCaptchaText()
S
58 2 15
generate_captcha_image()
S
64 3 10
addNoise()
S
63 2 9
generateCaptchaCode()
S
65 2 8
captcha_enabled()
S
68 2 7
get_instance()
S
72 2 6
custom_checkout_captcha_field()
S
59 1 14
generateCaptchaImageImagick()
S
61 1 12
refreshCaptcha()
S
67 1 8
get_captcha_placeholder()
S
76 1 4
get_refresh_captcha_title()
S
80 1 3
send_generated_captcha_image()
S
78 1 4
captcha_width()
S
73 1 5
image_library_available()
S
76 1 4