Cdn_Core D

Total Complexity 153
Dependencies 8
Dependents 1
Total lines 971
Lines of code 578
Logical lines of code 285
Comment lines 262
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
is_cdn_authorized()
D
31 50 87
get_cdn()
C
24
19 198
is_cdnfsd_authorized()
A
50 13 29
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
get_metadata_files()
S
68 3 7
docroot_filename_to_absolute_path()
S
65 3 9
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
build_file_descriptor()
S
67 1 8
relative_path_to_url()
S
74 1 4
__construct()
S
76 1 4
abspath_to_relative_path()
S
79 1 3
docroot_filename_to_uri()
S
73 1 4
on_rackspace_cf_new_access_state()
S
73 1 5
on_rackspace_cdn_new_access_state()
S
73 1 5
purge_all()
S
72 1 5
on_google_drive_new_access_token()
S
73 1 5