WCML_Downloadable_Products B

Total Complexity 82
Dependencies 11
Dependents 4
Total lines 474
Lines of code 300
Logical lines of code 176
Comment lines 87
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
getVariationsDownloadableFiles()
B
38 16 71
product_options_downloads_custom_option()
A
51 11 25
sync_files_to_translations()
A
53 10 20
save_files_option()
S
55 7 17
saveProductMode()
S
50 6 31
isDownloadableFilesSetToUseSame()
S
55 6 20
getDownloadableFiles()
S
56 6 18
isDownloadableProduct()
S
57 4 19
hasDownloadableVariation()
S
55 3 21
get_files_data()
S
60 3 13
load_custom_files_js_css()
S
59 2 14
__construct()
S
70 2 6
add_hooks()
S
66 1 7
duplicateDownloadableFilesToTranslatedProduct()
S
74 1 4
saveProductModeOnAjaxSaveVariations()
S
76 1 4
saveProductModeOnVariationsBulkEdit()
S
81 1 3
parseDownloadableFileField()
S
77 1 3
buildDownloadableFileField()
S
73 1 4