Skip to content

Rewrite of plug-in for: Facebook (work in progress) #104

Rewrite of plug-in for: Facebook (work in progress)

Rewrite of plug-in for: Facebook (work in progress) #104

Triggered via pull request July 9, 2023 19:09
Status Success
Total duration 1m 44s
Artifacts

code_quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 7 notices
Regular expression can be simplified: plugins/facebook.js#L423
`{1,}` can be simplified to '+'
Regular expression can be simplified: plugins/facebook.js#L513
`{1,}` can be simplified to '+'
Signature mismatch: plugins/facebook.js#L399
Argument type unknown is not assignable to parameter type string
Signature mismatch: plugins/facebook.js#L447
Argument type unknown is not assignable to parameter type string
Signature mismatch: plugins/facebook.js#L491
Argument type unknown is not assignable to parameter type string
Signature mismatch: plugins/facebook.js#L537
Argument type unknown is not assignable to parameter type string
Signature mismatch: plugins/facebook.js#L590
Argument type unknown is not assignable to parameter type string
JQuery selector can be optimized: plugins/facebook.js#L323
Duplicated jQuery selector
JQuery selector can be optimized: plugins/facebook.js#L347
Duplicated jQuery selector
Unused local symbol: plugins/facebook.js#L11
Unused constant doc_id_CometPhotoRootQuery
Unused local symbol: plugins/facebook.js#L19
Unused local variable hookedData
Unused local symbol: plugins/facebook.js#L65
Unused local variable cnt
Unused local symbol: plugins/facebook.js#L114
Unused local variable cnt
Equality operator may cause type coercion: plugins/facebook.js#L68
Comparison $(this).text().indexOf(srcId) != -1 may cause unexpected type coercion
Equality operator may cause type coercion: plugins/facebook.js#L72
Comparison values.length == 0 may cause unexpected type coercion
Equality operator may cause type coercion: plugins/facebook.js#L91
Comparison JSON.stringify(this).indexOf(srcId) != -1 may cause unexpected type coercion
Equality operator may cause type coercion: plugins/facebook.js#L94
Comparison values.length == 0 may cause unexpected type coercion