Voya_Despachos_Calculo D

Total Complexity 180
Dependencies 3
Dependents 1
Total lines 888
Lines of code 788
Logical lines of code 351
Comment lines 23
Methods 21
Properties 30

Methods 21

Method Rating Maintainability Complexity Lines of code
calculate_shipping()
D
27
35 127
__construct()
C
41 26 40
freeShipping()
B
37 22 76
reorderShippingMethods()
B
43 24 46
init_form_fields()
A
27
4 199
validateAndGetDimensions()
A
52 13 24
finalPackageDimensions()
A
38 9 77
getRequestInitialData()
A
51 10 26
saveFinalDimensionsInMetadata()
A
45 8 40
mapPlaces()
S
54 6 20
ignoreCity()
S
61 5 11
admin_options()
S
49 3 38
write_log()
S
68 3 7
checkAndAddDefaultShipping()
S
60 2 14
getSSLVerify()
S
70 2 7
freeShippingOnly()
S
71 2 6
formatMultiplePackagesContents()
S
68 2 7
init()
S
69 1 6
getRequestHeaders()
S
70 1 6
roundUp()
S
78 1 3
getStandardName()
S
61 1 8