This commit is contained in:
ziji Wu 2019-10-11 09:05:56 +08:00
parent 7abe778b07
commit f1c344fa9b
8 changed files with 101 additions and 0 deletions

View File

@ -0,0 +1,13 @@
f squid:S1192"RDefine a constant instead of duplicating this literal " AFTER DELETE ON " 3 times.(“áâB
u squid:S1192"[Define a constant instead of duplicating this literal " TEXT NOT NULL DEFAULT ''," 5 times.(ƒþÞ¿ùÿÿÿÿ
7 squid:S1214""Move constants to a class or enum.(áÅÔö
_ squid:S1192"JDefine a constant instead of duplicating this literal " UPDATE " 8 times.(ìó¥Ä
b squid:S1192"HDefine a constant instead of duplicating this literal " SET " 8 times.(Õ÷Ë“üÿÿÿÿ
[ squid:S1192"FDefine a constant instead of duplicating this literal "=new." 6 times.(Øëž°
^ squid:S1192"IDefine a constant instead of duplicating this literal " WHERE " 8 times.(Øëž°
a squid:S1192"GDefine a constant instead of duplicating this literal " BEGIN" 6 times.(ÕêïŠþÿÿÿÿ
s squid:S1192"^Define a constant instead of duplicating this literal " INTEGER NOT NULL DEFAULT 0," 11 times.(çÀœª
` squid:S1192"FDefine a constant instead of duplicating this literal "=old." 6 times.(”»ÎÔüÿÿÿÿ
 squid:S1192"yDefine a constant instead of duplicating this literal " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," 4 times.(ö’¸¸þÿÿÿÿ
b squid:S1192"HDefine a constant instead of duplicating this literal " BEGIN " 4 times.(ÕêïŠþÿÿÿÿ

View File

@ -0,0 +1,2 @@
e squid:S00101"MRename this class name to match the regular expression '^[A-Z][a-zA-Z0-9]*$'.(–¿ÖÜ

View File

@ -0,0 +1,14 @@
L squid:S1135"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
= squid:S1148"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
_ squid:S2147"ECombine this catch with the one at line 117, which has the same body.(ÿëÛßúÿÿÿÿ
= squid:S1148"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
= squid:S1148"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
L squid:S1135"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
L squid:S1135"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
= squid:S1148"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
e squid:S1301"KReplace this "switch" statement by "if" statements to increase readability.(öÛ«°þÿÿÿÿ
Z squid:S2147"ECombine this catch with the one at line 117, which has the same body.(ï­£Ä
Z squid:S2147"ECombine this catch with the one at line 117, which has the same body.(‚ùïÄ
L squid:S1135"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
= squid:S1148"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ

View File

@ -0,0 +1,17 @@
V squid:S1126"AReplace this if-then-else statement by a single return statement.(®ÎÚÉ
n squid:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(À—’¢
ˆ"squid:ClassVariableVisibilityCheck"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.(“²<E2809C>Öúÿÿÿÿ
Isquid:EmptyStatementUsageCheck"Remove this empty statement.(ôŸŽìúÿÿÿÿ
ˆ"squid:ClassVariableVisibilityCheck"WMake ivAlertIcon a static final constant or non-public and provide accessors if needed.(ªà¶±ûÿÿÿÿ
"squid:ClassVariableVisibilityCheck"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.(ýãä¬üÿÿÿÿ
l squid:S1450"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.(©´ÖÛ
l squid:S3776"RRefactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed.(ݨÁ±øÿÿÿÿ
s squid:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(®ú÷õþÿÿÿÿ
s squid:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(êÝýÂþÿÿÿÿ
I squid:S2864"4Iterate over the "entrySet" instead of the "keySet".(­Ô‡ï
s squid:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(ÑÓ<C391>¥üÿÿÿÿ
Isquid:EmptyStatementUsageCheck"Remove this empty statement.(ôŸŽìúÿÿÿÿ
q squid:S2293Ô"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð
L squid:S1135"2Complete the task associated to this TODO comment.(Ùü§“ýÿÿÿÿ
"squid:ClassVariableVisibilityCheck"VMake tvModified a static final constant or non-public and provide accessors if needed.(ƒëÔ£ÿÿÿÿÿ

View File

@ -0,0 +1,8 @@
V squid:S1135¿"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8´¼ìÁÛ-
n squid:S1192"MDefine a constant instead of duplicating this literal "Unknown URI " 4 times.(¶ª¦þüÿÿÿÿ8¡­ÁÛ-
Y squid:S2130"8Use "Long.parseLong" for this string-to-long conversion.(•ãÿ¬ÿÿÿÿÿ8¡­ÁÛ-
E squid:S1659"$Declare "noteId" on a separate line.(Ÿàؘøÿÿÿÿ8¡­ÁÛ-
I squid:S1659"(Declare "insertedId" on a separate line.(Ÿàؘøÿÿÿÿ8¡­ÁÛ-
U squid:S1153°"1Directly append the argument of String.valueOf().(œËߦýÿÿÿÿ8´¼ìÁÛ-
 squid:S3008"eRename this field "NOTES_SNIPPET_SEARCH_QUERY" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Èò<C388>ƒùÿÿÿÿ8ϵ•âÔ-

View File

@ -0,0 +1,8 @@
e squid:S1192"KDefine a constant instead of duplicating this literal "content://" 4 times.(š¨ú¯üÿÿÿÿ
: squid:S1214µ""Move constants to a class or enum.(ŠÉôŸ
W squid:S1118":Add a private constructor to hide the implicit public one.(<28>ˆþÿÿÿÿ
Q squid:S1135À"2Complete the task associated to this TODO comment.(ûš„ÿ8ž¦¨àÔ-
T squid:S1118":Add a private constructor to hide the implicit public one.(ž’Í“úÿÿÿÿ
> squid:S1214E""Move constants to a class or enum.(É⸫úÿÿÿÿ
R squid:S1118":Add a private constructor to hide the implicit public one.(߀°•

View File

@ -0,0 +1,36 @@
N squid:S1199"-Extract this nested code block into a method.(ãÍ€ôÿÿÿÿÿ8¢Ù®¨Û-
F squid:S3398"%Move this method into "ModeCallback".(“ðÉçýÿÿÿÿ8¢Ù®¨Û-
c squid:S1126"BReplace this if-then-else statement by a single method invocation.(玒¦ýÿÿÿÿ8<>Ä„¨Û-
L squid:S3398"0Move this method into "OnListItemClickListener".(‘ðð¡8ÙÑ£ Û-
nsquid:ModifiersOrderCheck"EReorder the modifiers to comply with the Java Language Specification.(ìѾk8†œ£Ù-
u squid:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð8ÙÑ£ Û-
S squid:S1135"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8†œ£Ù-
F squid:S00108")Either remove or fill this block of code.(žûÊ¥8ÙÑ£ Û-
S squid:S1135"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8<>Ä„¨Û-
tsquid:ModifiersOrderCheck"EReorder the modifiers to comply with the Java Language Specification.(¹úæµûÿÿÿÿ8†œ£Ù-
N squid:S1199"-Extract this nested code block into a method.(Ú¿–€úÿÿÿÿ8<>Ä„¨Û-
7 squid:S3626"Remove this redundant jump.(ûÁÝ…8†œ£Ù-
7 squid:S3626"Remove this redundant jump.(ûÁÝ…8†œ£Ù-
S squid:S1135"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8†œ£Ù-
m squid:S3776"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(ôŒùb8¢Ù®¨Û-
S squid:S1135"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ8†œ£Ù-
7 squid:S3626"Remove this redundant jump.(ûÁÝ…8†œ£Ù-
S squid:S1135"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8<>Ä„¨Û-
N squid:S1199"-Extract this nested code block into a method.(µ˜ÇÃøÿÿÿÿ8†œ£Ù-
t squid:S1450"XRemove the "mMoveMenu" field and declare it as a local variable in the relevant methods.(ž¢—ò8†œ£Ù-
l squid:S1301"KReplace this "switch" statement by "if" statements to increase readability.(ד¾ñùÿÿÿÿ8ÙÑ£ Û-
N squid:S1199"-Extract this nested code block into a method.(Á¬å¯ûÿÿÿÿ8¢Ù®¨Û-
D squid:S1148"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ8†œ£Ù-
N squid:S1199"-Extract this nested code block into a method.(ê¶ôÐùÿÿÿÿ8†œ£Ù-
D squid:S1148"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ8†œ£Ù-
n squid:S3776"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(ãìîí8ÙÑ£ Û-
Psquid:EmptyStatementUsageCheck"Remove this empty statement.(ôŸŽìúÿÿÿÿ8†œ£Ù-
K squid:S2093"*Change this "try" to a try-with-resources.(¡»¢üùÿÿÿÿ8†œ£Ù-
A squid:S3398"%Move this method into "ModeCallback".(ãìîí8ÙÑ£ Û-
I squid:S1199"-Extract this nested code block into a method.(Žÿõó8¢Ù®¨Û-
m squid:S3776"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(ÅôÉ#8<>Ä„¨Û-
N squid:S1199"-Extract this nested code block into a method.(Η­Šþÿÿÿÿ8†œ£Ù-
s squid:S3776"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(áé–Þÿÿÿÿÿ8†œ£Ù-
I squid:S1199"-Extract this nested code block into a method.(ŒãÈ“8<>Ä„¨Û-
Isquid:EmptyStatementUsageCheck"Remove this empty statement.(ôŸŽìúÿÿÿÿ

View File

@ -0,0 +1,3 @@
q squid:S3776·"RRefactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed.(<28>¤§²8­ ŠÔÑ-
b squid:S1126"AReplace this if-then-else statement by a single return statement.(‚èåÎüÿÿÿÿ8­ ŠÔÑ-