Cdn_Core D

Total Complexity 183
Dependencies 8
Dependents 1
Total lines 984
Lines of code 665
Logical lines of code 326
Comment lines 200
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
is_cdn_authorized()
D
27
63 108
get_cdn()
D
21
23 239
is_cdnfsd_authorized()
C
41 25 49
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
abspath_to_relative_path()
S
79 1 3
__construct()
S
76 1 4
docroot_filename_to_uri()
S
73 1 4
on_stackpath2_new_access_token()
S
73 1 5
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