|
|
|
@ -1,60 +1,57 @@
|
|
|
|
|
|
|
|
|
|
` java:S112f"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
` java:S112q"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
` java:S112|"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
a java:S112‡"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
a java:S112’"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
a java:S112<18>"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
a java:S112¨"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
a java:S112³"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
a java:S112¡"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
n java:S117<18>"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(×àÿÅ8ú½Í<C2BD>‰1
|
|
|
|
|
` java:S112m"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
` java:S112x"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
a java:S112ƒ"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
a java:S112Ž"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
a java:S112™"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
a java:S112¤"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
a java:S112¯"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
a java:S112º"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
|
|
|
|
|
g java:S117˜"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(×àÿÅ
|
|
|
|
|
>
|
|
|
|
|
java:S1604`"(Make this anonymous inner class a lambda(êáÇñ
|
|
|
|
|
java:S1604Y"(Make this anonymous inner class a lambda(Æ·»°
|
|
|
|
|
>
|
|
|
|
|
java:S1604g"(Make this anonymous inner class a lambda(êáÇñ
|
|
|
|
|
C
|
|
|
|
|
java:S1604k"(Make this anonymous inner class a lambda(Ëݳûÿÿÿÿ
|
|
|
|
|
java:S1604r"(Make this anonymous inner class a lambda(Ëݳûÿÿÿÿ
|
|
|
|
|
C
|
|
|
|
|
java:S1604v"(Make this anonymous inner class a lambda(ßó¤—ùÿÿÿÿ
|
|
|
|
|
java:S1604}"(Make this anonymous inner class a lambda(ßó¤—ùÿÿÿÿ
|
|
|
|
|
D
|
|
|
|
|
java:S1604<EFBFBD>"(Make this anonymous inner class a lambda(‰‘¼“ÿÿÿÿÿ
|
|
|
|
|
java:S1604ˆ"(Make this anonymous inner class a lambda(‰‘¼“ÿÿÿÿÿ
|
|
|
|
|
D
|
|
|
|
|
java:S1604Œ"(Make this anonymous inner class a lambda(÷³¿úÿÿÿÿ
|
|
|
|
|
java:S1604“"(Make this anonymous inner class a lambda(÷³¿úÿÿÿÿ
|
|
|
|
|
?
|
|
|
|
|
java:S1604—"(Make this anonymous inner class a lambda(Ÿ…³Á
|
|
|
|
|
java:S1604ž"(Make this anonymous inner class a lambda(Ÿ…³Á
|
|
|
|
|
?
|
|
|
|
|
java:S1604¢"(Make this anonymous inner class a lambda(ÚŠõ¨
|
|
|
|
|
java:S1604©"(Make this anonymous inner class a lambda(ÚŠõ¨
|
|
|
|
|
?
|
|
|
|
|
java:S1604"(Make this anonymous inner class a lambda(¶±»ù
|
|
|
|
|
java:S1604´"(Make this anonymous inner class a lambda(¶±»ù
|
|
|
|
|
?
|
|
|
|
|
java:S1604¸"(Make this anonymous inner class a lambda(±ë¦þ
|
|
|
|
|
T
|
|
|
|
|
java:S1153Ÿ"1Directly append the argument of String.valueOf().(Ÿà¯Üûÿÿÿÿ8ÿ½Í<C2BD>‰1
|
|
|
|
|
java:S1604¿"(Make this anonymous inner class a lambda(±ë¦þ
|
|
|
|
|
V
|
|
|
|
|
java:S2184›"@Cast one of the operands of this integer division to a "double".(—½[
|
|
|
|
|
X
|
|
|
|
|
java:S2184œ"ACast one of the operands of this division operation to a "float".(ÒÏ“×
|
|
|
|
|
]
|
|
|
|
|
java:S2184¢"ACast one of the operands of this division operation to a "float".(‹öÚÈùÿÿÿÿ
|
|
|
|
|
[
|
|
|
|
|
java:S2184£"DCast one of the operands of this subtraction operation to a "float".(¸õÀ½
|
|
|
|
|
]
|
|
|
|
|
java:S2184Š"@Cast one of the operands of this integer division to a "double".(—½[8ÿ½Í<C2BD>‰1
|
|
|
|
|
_
|
|
|
|
|
java:S2184‹"ACast one of the operands of this division operation to a "float".(ÒÏ“×8€¾Í<C2BE>‰1
|
|
|
|
|
d
|
|
|
|
|
java:S2184‘"ACast one of the operands of this division operation to a "float".(‹öÚÈùÿÿÿÿ8€¾Í<C2BE>‰1
|
|
|
|
|
b
|
|
|
|
|
java:S2184’"DCast one of the operands of this subtraction operation to a "float".(¸õÀ½8€¾Í<C2BE>‰1
|
|
|
|
|
d
|
|
|
|
|
java:S2184ž"ACast one of the operands of this division operation to a "float".(‹öÚÈùÿÿÿÿ8€¾Í<C2BE>‰1
|
|
|
|
|
b
|
|
|
|
|
java:S2184Ÿ"DCast one of the operands of this subtraction operation to a "float".(¸õÀ½8€¾Í<C2BE>‰1
|
|
|
|
|
java:S2184¯"ACast one of the operands of this division operation to a "float".(‹öÚÈùÿÿÿÿ
|
|
|
|
|
[
|
|
|
|
|
java:S2184°"DCast one of the operands of this subtraction operation to a "float".(¸õÀ½
|
|
|
|
|
[
|
|
|
|
|
java:S2184 "DCast one of the operands of this subtraction operation to a "float".(¬Óé<C393>
|
|
|
|
|
d
|
|
|
|
|
java:S2184¯"ACast one of the operands of this addition operation to a "float".(•‹öƒýÿÿÿÿ8<>¾Í<C2BE>‰1
|
|
|
|
|
g
|
|
|
|
|
java:S2184¯"DCast one of the operands of this subtraction operation to a "float".(•‹öƒýÿÿÿÿ8<>¾Í<C2BE>‰1
|
|
|
|
|
d
|
|
|
|
|
java:S2184°"ACast one of the operands of this division operation to a "float".(ÝÒŒÑþÿÿÿÿ8<>¾Í<C2BE>‰1
|
|
|
|
|
java:S2184±"DCast one of the operands of this subtraction operation to a "float".(¬Óé<C393>
|
|
|
|
|
]
|
|
|
|
|
java:S2184À"ACast one of the operands of this addition operation to a "float".(•‹öƒýÿÿÿÿ
|
|
|
|
|
`
|
|
|
|
|
java:S2184À"DCast one of the operands of this subtraction operation to a "float".(•‹öƒýÿÿÿÿ
|
|
|
|
|
]
|
|
|
|
|
java:S2184Á"ACast one of the operands of this division operation to a "float".(ÝÒŒÑþÿÿÿÿ
|
|
|
|
|
\
|
|
|
|
|
java:S2184×"@Cast one of the operands of this integer division to a "double".(ÂÀ‰öùÿÿÿÿ
|
|
|
|
|
c
|
|
|
|
|
java:S2184Æ"@Cast one of the operands of this integer division to a "double".(ÂÀ‰öùÿÿÿÿ8<>¾Í<C2BE>‰1
|
|
|
|
|
j
|
|
|
|
|
java:S2095Ù"LUse try-with-resources or close this "DatagramSocket" in a "finally" clause.(³Âв8ìõÌ<C3B5>‰1
|
|
|
|
|
j
|
|
|
|
|
java:S2095ƒ"LUse try-with-resources or close this "DatagramSocket" in a "finally" clause.(©Áá‚8±¾Í<C2BE>‰1
|
|
|
|
|
java:S2095Ž"LUse try-with-resources or close this "DatagramSocket" in a "finally" clause.(©Áá‚
|
|
|
|
|
o java:S115-"ZRename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.(ƴư
|
|
|
|
|
t java:S115."ZRename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.(¨Öܶüÿÿÿÿ
|
|
|
|
|
t java:S116:"ZRename this field "Trans_to_Detect" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(¾¥Âöûÿÿÿÿ
|
|
|
|
@ -71,6 +68,10 @@ p java:S116F"VRename this field "TakeOff_btn" to match the regular expression
|
|
|
|
|
p java:S116G"VRename this field "Landing_btn" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ÅÔ““þÿÿÿÿ
|
|
|
|
|
u
|
|
|
|
|
java:S1450F"ZRemove the "TakeOff_btn" field and declare it as a local variable in the relevant methods.(€‚òœüÿÿÿÿ
|
|
|
|
|
o
|
|
|
|
|
java:S1450H"TRemove the "angle" field and declare it as a local variable in the relevant methods.(§úþóþÿÿÿÿ
|
|
|
|
|
r
|
|
|
|
|
java:S1450I"WRemove the "distance" field and declare it as a local variable in the relevant methods.(×¾¶Ðøÿÿÿÿ
|
|
|
|
|
[
|
|
|
|
|
java:S1124-"EReorder the modifiers to comply with the Java Language Specification.(ƴư
|
|
|
|
|
`
|
|
|
|
@ -79,35 +80,35 @@ java:S1124."EReorder the modifiers to comply with the Java Language Specificati
|
|
|
|
|
java:S1124/"EReorder the modifiers to comply with the Java Language Specification.(ß×á
|
|
|
|
|
[
|
|
|
|
|
java:S11240"EReorder the modifiers to comply with the Java Language Specification.(Ó¾þá
|
|
|
|
|
h java:S100_"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ü™âîùÿÿÿÿ
|
|
|
|
|
h java:S100f"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ü™âîùÿÿÿÿ
|
|
|
|
|
m
|
|
|
|
|
java:S3776_"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.(ü™âîùÿÿÿÿ
|
|
|
|
|
java:S3776f"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.(ü™âîùÿÿÿÿ
|
|
|
|
|
D
|
|
|
|
|
java:S1185Ê"(Remove this method to simply inherit it.(ñ‰ÿÜýÿÿÿÿ
|
|
|
|
|
java:S1185Ñ"(Remove this method to simply inherit it.(ñ‰ÿÜýÿÿÿÿ
|
|
|
|
|
L
|
|
|
|
|
java:S2696Ú"6Make the enclosing method "static" or remove this set.(èª
|
|
|
|
|
W java:S125Û"<This block of commented-out lines of code should be removed.(<28>éäøÿÿÿÿ
|
|
|
|
|
W java:S125à"<This block of commented-out lines of code should be removed.(çéŸþÿÿÿÿ
|
|
|
|
|
java:S2696á"6Make the enclosing method "static" or remove this set.(èª
|
|
|
|
|
W java:S125â"<This block of commented-out lines of code should be removed.(<28>éäøÿÿÿÿ
|
|
|
|
|
W java:S125ç"<This block of commented-out lines of code should be removed.(çéŸþÿÿÿÿ
|
|
|
|
|
R
|
|
|
|
|
java:S2696ç"6Make the enclosing method "static" or remove this set.(Ôø±üûÿÿÿÿ
|
|
|
|
|
k java:S100<18>"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(×àÿÅ8Ú¾Í<C2BE>‰1
|
|
|
|
|
N
|
|
|
|
|
java:S1172•"+Remove this unused method parameter "view".(àï’†üÿÿÿÿ8Û¾Í<C2BE>‰1
|
|
|
|
|
p java:S116®"SRename this field "BG_COLOR" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(þ¨ò‘8Þ¾Í<C2BE>‰1
|
|
|
|
|
r
|
|
|
|
|
java:S1450¼"TRemove the "mPath" field and declare it as a local variable in the relevant methods.(ä“<C3A4>Â8á¾Í<C2BE>‰1
|
|
|
|
|
c
|
|
|
|
|
java:S1610Ç"@Convert the abstract class "OnUnlockListener" into an interface.(׋›Îøÿÿÿÿ8â¾Í<C2BE>‰1
|
|
|
|
|
D java:S131ñ""Add a default case to this switch.(<28>äÃùÿÿÿÿÿ8ç¾Í<C2BE>‰1
|
|
|
|
|
D java:S131º""Add a default case to this switch.(ãÁð™øÿÿÿÿ8ì¾Í<C2BE>‰1
|
|
|
|
|
java:S2696ï"6Make the enclosing method "static" or remove this set.(Ôø±üûÿÿÿÿ
|
|
|
|
|
W java:S125÷"<This block of commented-out lines of code should be removed.(ÏúˆÃýÿÿÿÿ
|
|
|
|
|
F
|
|
|
|
|
java:S2093Þ"*Change this "try" to a try-with-resources.(ç£ê<C2A3>úÿÿÿÿ
|
|
|
|
|
d java:S100˜"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(×àÿÅ
|
|
|
|
|
i java:S116¿"SRename this field "BG_COLOR" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(þ¨ò‘
|
|
|
|
|
k
|
|
|
|
|
java:S1450Í"TRemove the "mPath" field and declare it as a local variable in the relevant methods.(ä“<C3A4>Â
|
|
|
|
|
R java:S125¥"<This block of commented-out lines of code should be removed.(Ê蘋
|
|
|
|
|
\
|
|
|
|
|
java:S1610Ø"@Convert the abstract class "OnUnlockListener" into an interface.(׋›Îøÿÿÿÿ
|
|
|
|
|
= java:S131‚""Add a default case to this switch.(<28>äÃùÿÿÿÿÿ
|
|
|
|
|
= java:S131Ë""Add a default case to this switch.(ãÁð™øÿÿÿÿ
|
|
|
|
|
9
|
|
|
|
|
java:S1128*"Remove this duplicated import.(°þÊóøÿÿÿÿ
|
|
|
|
|
C
|
|
|
|
|
java:S1068/"-Remove this unused "SEND_PORT" private field.(ß×á
|
|
|
|
|
B
|
|
|
|
|
java:S10683"'Remove this unused "buf" private field.(ÅØè<C398>þÿÿÿÿ
|
|
|
|
|
L
|
|
|
|
|
java:S10685"1Remove this unused "receiveSocket" private field.(ÜÁ‰Óúÿÿÿÿ
|
|
|
|
|
D
|
|
|
|
|
java:S10686".Remove this unused "sendSocket" private field.(éêÖé
|
|
|
|
|
J
|
|
|
|
@ -117,10 +118,12 @@ java:S1068:"3Remove this unused "Trans_to_Detect" private field.(
|
|
|
|
|
B
|
|
|
|
|
java:S1068<"'Remove this unused "btn" private field.(ãȧ<C388>üÿÿÿÿ
|
|
|
|
|
J
|
|
|
|
|
java:S1068F"/Remove this unused "TakeOff_btn" private field.(€‚òœüÿÿÿÿ
|
|
|
|
|
J
|
|
|
|
|
java:S1068G"/Remove this unused "Landing_btn" private field.(ÅÔ““þÿÿÿÿ
|
|
|
|
|
D
|
|
|
|
|
java:S1068H")Remove this unused "angle" private field.(§úþóþÿÿÿÿ
|
|
|
|
|
G
|
|
|
|
|
java:S1068¼")Remove this unused "mPath" private field.(ä“<C3A4>Â8î¾Í<C2BE>‰1
|
|
|
|
|
M
|
|
|
|
|
java:S1068Â"/Remove this unused "mIsUnlocked" private field.(ˆø•ö8î¾Í<C2BE>‰1
|
|
|
|
|
java:S1068I",Remove this unused "distance" private field.(×¾¶Ðøÿÿÿÿ
|
|
|
|
|
@
|
|
|
|
|
java:S1068Í")Remove this unused "mPath" private field.(ä“<C3A4>Â
|
|
|
|
|
F
|
|
|
|
|
java:S1068Ó"/Remove this unused "mIsUnlocked" private field.(ˆø•ö
|