Phase 9: Agent search tooling (context-grep extension)#24
Quality Gate passed
Annotations
Check warning on line 74 in tools/pi/context-grep/src/parse.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyYaRc-zgeYQNVC&open=AZ7wqDyYaRc-zgeYQNVC&pullRequest=24
Check warning on line 106 in tools/pi/context-grep/src/ast.ts
sonarqubecloud / SonarCloud Code Analysis
Replace this character class by the character itself.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNU2&open=AZ7wqDvwaRc-zgeYQNU2&pullRequest=24
Check failure on line 30 in tools/pi/context-grep/src/backrefs.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 29 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyQaRc-zgeYQNU_&open=AZ7wqDyQaRc-zgeYQNU_&pullRequest=24
Check warning on line 104 in tools/pi/context-grep/src/ast.ts
sonarqubecloud / SonarCloud Code Analysis
Replace this character class by the character itself.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNU1&open=AZ7wqDvwaRc-zgeYQNU1&pullRequest=24
Check warning on line 85 in tools/pi/context-grep/src/ast.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNUx&open=AZ7wqDvwaRc-zgeYQNUx&pullRequest=24
Check warning on line 74 in tools/pi/context-grep/src/parse.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyYaRc-zgeYQNVD&open=AZ7wqDyYaRc-zgeYQNVD&pullRequest=24
Check warning on line 109 in tools/pi/context-grep/src/ast.ts
sonarqubecloud / SonarCloud Code Analysis
Replace this character class by the character itself.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNU5&open=AZ7wqDvwaRc-zgeYQNU5&pullRequest=24
Check warning on line 107 in tools/pi/context-grep/src/ast.ts
sonarqubecloud / SonarCloud Code Analysis
Replace this character class by the character itself.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNU3&open=AZ7wqDvwaRc-zgeYQNU3&pullRequest=24
Check warning on line 213 in tools/pi/context-grep/src/enrich.ts
sonarqubecloud / SonarCloud Code Analysis
Move this array "sort" operation to a separate statement or replace it with "toSorted".
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyIaRc-zgeYQNU9&open=AZ7wqDyIaRc-zgeYQNU9&pullRequest=24
Check warning on line 101 in tools/pi/context-grep/src/ast.ts
sonarqubecloud / SonarCloud Code Analysis
Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNUy&open=AZ7wqDvwaRc-zgeYQNUy&pullRequest=24
Check warning on line 100 in tools/pi/context-grep/src/backrefs.ts
sonarqubecloud / SonarCloud Code Analysis
`String.raw` should be used to avoid escaping `\`.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyQaRc-zgeYQNVA&open=AZ7wqDyQaRc-zgeYQNVA&pullRequest=24
Check warning on line 66 in tools/pi/context-grep/src/parse.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyYaRc-zgeYQNVB&open=AZ7wqDyYaRc-zgeYQNVB&pullRequest=24
Check warning on line 103 in tools/pi/context-grep/src/ast.ts
sonarqubecloud / SonarCloud Code Analysis
Replace this character class by the character itself.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNU0&open=AZ7wqDvwaRc-zgeYQNU0&pullRequest=24
Check failure on line 106 in tools/pi/context-grep/src/enrich.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 22 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyIaRc-zgeYQNU8&open=AZ7wqDyIaRc-zgeYQNU8&pullRequest=24
Check warning on line 69 in tools/pi/context-grep/src/enrich.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyIaRc-zgeYQNU7&open=AZ7wqDyIaRc-zgeYQNU7&pullRequest=24
Check warning on line 3 in tools/pi/context-grep/src/backrefs.ts
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import of 'AstContainer'.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDyQaRc-zgeYQNU-&open=AZ7wqDyQaRc-zgeYQNU-&pullRequest=24
Check warning on line 110 in tools/pi/context-grep/src/ast.ts
sonarqubecloud / SonarCloud Code Analysis
Replace this character class by the character itself.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNU6&open=AZ7wqDvwaRc-zgeYQNU6&pullRequest=24
Check warning on line 102 in tools/pi/context-grep/src/ast.ts
sonarqubecloud / SonarCloud Code Analysis
Replace this character class by the character itself.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNUz&open=AZ7wqDvwaRc-zgeYQNUz&pullRequest=24
Check warning on line 85 in tools/pi/context-grep/src/ast.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNUw&open=AZ7wqDvwaRc-zgeYQNUw&pullRequest=24
Check warning on line 108 in tools/pi/context-grep/src/ast.ts
sonarqubecloud / SonarCloud Code Analysis
Replace this character class by the character itself.
See more on https://sonarcloud.io/project/issues?id=dimdasci_bproxy&issues=AZ7wqDvwaRc-zgeYQNU4&open=AZ7wqDvwaRc-zgeYQNU4&pullRequest=24