Completed
Push — try/add-jetpack-purchase-token ( 0a4d98...ef8438 )
by
unknown
10:51
created

Jetpack_IDC::enqueue_idc_notice_files()   B

Complexity

Conditions 3
Paths 2

Size

Total Lines 58

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 3
nc 2
nop 0
dl 0
loc 58
rs 8.9163
c 0
b 0
f 0

How to fix   Long Method   

Long Method

Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.

For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.

Commonly applied refactorings include:

1
<?php
2
/**
3
 * Identity Crisis handler.
4
 *
5
 * @deprecated 9.8.0. Functionality moved to the automattic/identity-crisis package.
6
 * @package automattic/jetpack
7
 */
8