Ecwid_Crypt_Base D

Total Complexity 229
Dependencies 4
Dependents 0
Total lines 2,281
Lines of code 1,170
Logical lines of code 644
Comment lines 906
Methods 35
Properties 31

Methods 35

Method Rating Maintainability Complexity Lines of code
decrypt()
D
22
49 206
encrypt()
D
23
46 195
_createInlineCryptFunction()
C
23
10 341
_openssl_ctr_process()
B
38 19 70
setPassword()
B
39 16 59
isValidEngine()
A
48 12 35
Ecwid_Crypt_Base()
A
54 9 22
_openssl_ofb_process()
A
49 7 32
_hashInlineCryptFunction()
S
52 6 23
_openssl_translate_mode()
S
61 6 14
_increment_str()
S
52 5 24
_setEngine()
S
58 4 18
_unpad()
S
63 4 10
_pad()
S
60 3 13
disableContinuousBuffer()
S
64 3 11
setPreferredEngine()
S
64 3 11
setKey()
S
66 2 9
_setupKey()
S
76 2 3
setIV()
S
70 2 7
_clearBuffers()
S
66 2 7
_setup()
S
71 2 7
_decryptBlock()
S
76 2 3
_encryptBlock()
S
76 2 3
enableContinuousBuffer()
S
70 2 7
getBlockLength()
S
81 1 3
getEngine()
S
83 1 3
setKeyLength()
S
74 1 5
disablePadding()
S
82 1 3
_string_shift()
S
73 1 5
_string_pop()
S
72 1 5
enablePadding()
S
82 1 3
_setupInlineCrypt()
S
82 1 3
getKeyLength()
S
81 1 3
_getLambdaFunctions()
S
77 1 4
__construct()
S
82 1 3