BSKPDFM_Security_Validator S

Total Complexity 48
Dependencies 1
Dependents 1
Total lines 355
Lines of code 194
Logical lines of code 140
Comment lines 55
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
bsk_dd_validate_uploaded_file()
S
53 7 23
verify_file_signature()
S
57 6 17
verify_mime_type()
S
58 4 15
bsk_dd_detect_file_type()
S
62 4 11
bsk_dd_validate_pdf_file()
S
56 3 17
bsk_dd_validate_svg_file()
S
58 3 16
bsk_dd_validate_png_file()
S
58 3 15
bsk_dd_validate_jpeg_file()
S
58 3 15
bsk_dd_validate_gif_file()
S
58 3 15
check_svg_signature()
S
59 3 15
get_allowed_mimes()
S
65 3 9
bsk_dd_validate_xml_structure()
S
63 2 11
get_file_header()
S
68 2 7
get_file_tail()
S
66 2 8