Cdn_Core B

Total Complexity 94
Dependencies 8
Dependents 2
Total lines 795
Lines of code 496
Logical lines of code 230
Comment lines 186
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
get_cdn()
D
22
22 227
uri_to_cdn_uri()
A
50 13 24
purge()
A
51 8 23
upload()
S
54 6 18
delete()
S
56 6 16
queue_add()
S
49 4 36
get_attachment_files()
S
58 4 16
_get_sizes_files()
S
59 4 15
normalize_attachment_file()
S
62 3 11
docroot_filename_to_absolute_path()
S
65 3 9
get_metadata_files()
S
68 3 7
get_files_for_upload()
S
59 2 14
url_to_cdn_url()
S
62 2 11
get_region_id()
S
64 2 11
queue_upload_url()
S
63 2 10
on_rackspace_cdn_new_access_state()
S
73 1 5
on_rackspace_cf_new_access_state()
S
73 1 5
on_stackpath2_new_access_token()
S
73 1 5
docroot_filename_to_uri()
S
73 1 4
on_google_drive_new_access_token()
S
73 1 5
purge_all()
S
72 1 5
abspath_to_relative_path()
S
79 1 3
relative_path_to_url()
S
74 1 4
build_file_descriptor()
S
67 1 8
__construct()
S
76 1 4