Skip to content

Add Qodana#2

Open
AndreiIurko wants to merge 2 commits into
mainfrom
add-docker-qodana
Open

Add Qodana#2
AndreiIurko wants to merge 2 commits into
mainfrom
add-docker-qodana

Conversation

@AndreiIurko

Copy link
Copy Markdown

###This is an example of Qodana configuration with:

  • Regular analysis: the whole codebase was scanned for problems
  • Configured coverage: the coverage report is generated and stored in .qodana/code-coverage directory. Important: add this directory to the .gitignore file
  • Fixes: cleanup fixes were configured via qodana.yaml and pushed at the end of analysis in the branch (as specified in workflow configuration)
  • Quality Gate: Qodana was configured to fail if it encountered one critical problem OR 10 problems of any kind. Also, the analysis will fail if total code coverage is less than 40%

@github-actions

Copy link
Copy Markdown

Qodana for JS

858 new problems were found

Inspection name Severity Problems
Unused import in an Angular component declaration 🔴 Failure 23
Check JavaScript and TypeScript source code coverage 🔶 Warning 578
Unused import 🔶 Warning 101
Unused local symbol 🔶 Warning 66
Redundant local variable 🔶 Warning 8
Undefined binding 🔶 Warning 5
Redundant 'if' statement 🔶 Warning 5
Check dependency licenses 🔶 Warning 4
Unnecessary 'continue' statement 🔶 Warning 3
Unnecessary semicolon 🔶 Warning 2
Pointless statement or boolean expression 🔶 Warning 2
Redundant conditional expression 🔶 Warning 2
Comma expression 🔶 Warning 1
Import can be shortened 🔶 Warning 1
Deprecated symbol used ◽️ Notice 25
Duplicated code fragment ◽️ Notice 11
Result of method call returning a promise is ignored ◽️ Notice 11
Issues with ngSrc usage in img tags ◽️ Notice 9
Field can be readonly ◽️ Notice 1
@@ Code coverage @@
+ 45% total lines covered
4144 lines analyzed, 1885 lines covered
# Calculated according to the filters of your coverage tool

☁️ View the detailed Qodana report

Detected 206 dependencies

Third-party software list

This page lists the third-party software dependencies used in project

Dependency Version Licenses
@angular/animations 19.2.15 MIT
@angular/cdk 19.1.4 MIT
@angular/common 19.2.15 MIT
@angular/compiler 19.2.15 MIT
@angular/core 19.2.15 MIT
@angular/forms 19.2.15 MIT
@angular/material 19.1.4 MIT
@angular/platform-browser-dynamic 19.2.15 MIT
@angular/platform-browser 19.2.15 MIT
@angular/router 19.2.15 MIT
@antfu/install-pkg 1.1.0 MIT
@antfu/utils 9.2.0 MIT
@braintree/sanitize-url 7.1.1 MIT
@chevrotain/cst-dts-gen 11.0.3 Apache-2.0
@chevrotain/gast 11.0.3 Apache-2.0
@chevrotain/regexp-to-ast 11.0.3 Apache-2.0
@chevrotain/types 11.0.3 Apache-2.0
@chevrotain/utils 11.0.3 Apache-2.0
@codemirror/autocomplete 6.18.7 MIT
@codemirror/commands 6.8.1 MIT
@codemirror/lang-json 6.0.2 MIT
@codemirror/lang-python 6.2.1 MIT
@codemirror/language 6.11.3 MIT
@codemirror/lint 6.8.5 MIT
@codemirror/search 6.5.11 MIT
@codemirror/state 6.5.2 MIT
@codemirror/view 6.38.2 MIT
@fortawesome/fontawesome-common-types 6.7.2 MIT
@fortawesome/free-regular-svg-icons 6.7.2 CC-BY-4.0
@fortawesome/free-solid-svg-icons 6.7.2 CC-BY-4.0
@iconify/types 2.0.0 MIT
@iconify/utils 3.0.2 MIT
@jridgewell/gen-mapping 0.3.13 MIT
@jridgewell/remapping 2.3.5 MIT
@jridgewell/resolve-uri 3.1.2 MIT
@jridgewell/sourcemap-codec 1.5.5 MIT
@jridgewell/trace-mapping 0.3.31 MIT
@jsep-plugin/assignment 1.3.0 MIT
@jsep-plugin/regex 1.0.4 MIT
@jsonquerylang/jsonquery 5.0.4 ISC
@lezer/common 1.2.3 MIT
@lezer/highlight 1.2.1 MIT
@lezer/json 1.0.3 MIT
@lezer/lr 1.4.2 MIT
@lezer/python 1.1.18 MIT
@marijn/find-cluster-break 1.0.2 MIT
@mermaid-js/parser 0.6.2 MIT
@replit/codemirror-indentation-markers 6.5.3 MIT
@sphinxxxx/color-conversion 2.2.2 ISC
@sveltejs/acorn-typescript 1.0.5 MIT
@types/d3-array 3.2.2 MIT
@types/d3-axis 3.0.6 MIT
@types/d3-brush 3.0.6 MIT
@types/d3-chord 3.0.6 MIT
@types/d3-color 3.1.3 MIT
@types/d3-contour 3.0.6 MIT
@types/d3-delaunay 6.0.4 MIT
@types/d3-dispatch 3.0.7 MIT
@types/d3-drag 3.0.7 MIT
@types/d3-dsv 3.0.7 MIT
@types/d3-ease 3.0.2 MIT
@types/d3-fetch 3.0.7 MIT
@types/d3-force 3.0.10 MIT
@types/d3-format 3.0.4 MIT
@types/d3-geo 3.1.0 MIT
@types/d3-hierarchy 3.1.7 MIT
@types/d3-interpolate 3.0.4 MIT
@types/d3-path 3.1.1 MIT
@types/d3-polygon 3.0.2 MIT
@types/d3-quadtree 3.0.6 MIT
@types/d3-random 3.0.3 MIT
@types/d3-scale-chromatic 3.1.0 MIT
@types/d3-scale 4.0.9 MIT
@types/d3-selection 3.0.11 MIT
@types/d3-shape 3.1.7 MIT
@types/d3-time-format 4.0.3 MIT
@types/d3-time 3.0.4 MIT
@types/d3-timer 3.0.2 MIT
@types/d3-transition 3.0.9 MIT
@types/d3-zoom 3.0.8 MIT
@types/d3 7.4.3 MIT
@types/estree 1.0.6 MIT
@types/geojson 7946.0.16 MIT
@types/trusted-types 2.0.7 MIT
@viz-js/viz 3.17.0 MIT
acorn 8.15.0 MIT
ajv 8.17.1 MIT
aria-query 5.3.2 Apache-2.0
axobject-query 4.1.0 Apache-2.0
chevrotain-allstar 0.3.1 MIT
chevrotain 11.0.3 Apache-2.0
clipboard 2.0.11 MIT
clsx 2.1.1 MIT
codemirror-wrapped-line-indent 1.0.9 MIT
codemirror 6.0.2 MIT
colornames 1.1.1 MIT
confbox 0.1.8 MIT
confbox 0.2.2 MIT
cose-base 1.0.3 MIT
cose-base 2.2.0 MIT
crelt 1.0.6 MIT
cytoscape-cose-bilkent 4.1.0 MIT
cytoscape-fcose 2.2.0 MIT
cytoscape 3.33.1 MIT
d3-array 2.12.1 BSD-3-Clause
d3-color 3.1.0 ISC
d3-dispatch 3.0.1 ISC
d3-drag 3.0.0 ISC
d3-ease 3.0.1 BSD-3-Clause
d3-interpolate 3.0.1 ISC
d3-path 1.0.9 BSD-3-Clause
d3-sankey 0.12.3 BSD-3-Clause
d3-selection 3.0.0 ISC
d3-shape 1.3.7 BSD-3-Clause
d3-timer 3.0.1 ISC
d3-transition 3.0.1 ISC
d3-zoom 3.0.0 ISC
d3 7.9.0 ISC
dagre-d3-es 7.0.11 MIT
dayjs 1.11.18 MIT
debug 4.4.3 MIT
delegate 3.2.0 MIT
diff-sequences 29.6.3 MIT
dompurify 3.2.7 MPL-2.0
emoji-toolkit 9.0.1 MIT
entities 6.0.1 BSD-2-Clause
esm-env 1.2.2 MIT
esrap 2.1.0 MIT
exsolve 1.0.7 MIT
fast-deep-equal 3.1.3 MIT
fast-uri 3.1.0 BSD-3-Clause
globals 15.15.0 MIT
good-listener 1.2.2 MIT
hachure-fill 0.5.2 MIT
hex-rgb 4.3.0 MIT
immutable-json-patch 6.0.2 ISC
internmap 1.0.1 ISC
is-reference 3.0.3 MIT
jmespath 0.16.0 Apache-2.0
jsep 1.4.0 MIT
json-schema-traverse 1.0.0 MIT
json-source-map 0.6.1 MIT
jsonpath-plus 10.3.0 MIT
jsonrepair 3.13.0 ISC
katex 0.16.22 MIT
khroma 2.1.0 MIT
kolorist 1.8.0 MIT
langium 3.3.1 MIT
layout-base 1.0.2 MIT
layout-base 2.0.1 MIT
local-pkg 1.1.2 MIT
locate-character 3.0.0 MIT
lodash-es 4.17.21 MIT
lodash.padend 4.6.1 MIT
lodash.trimstart 4.5.1 MIT
lodash.words 4.2.0 MIT
magic-string 0.30.17 MIT
marked 15.0.12 MIT
marked 16.3.0 MIT
memoize-one 6.0.0 MIT
mermaid 11.12.0 MIT
mlly 1.8.0 MIT
ms 2.1.3 MIT
natural-compare-lite 1.4.0 MIT
ngx-json-viewer 3.2.1 MIT
ngx-markdown 19.1.1 MIT
ngx-vflow 1.16.2 MIT
package-manager-detector 1.3.0 MIT
parse5 7.3.0 MIT
path-data-parser 0.1.0 MIT
pathe 2.0.3 MIT
pkg-types 1.3.1 MIT
pkg-types 2.3.0 MIT
points-on-curve 0.2.0 MIT
points-on-path 0.2.1 MIT
prismjs 1.30.0 MIT
quansync 0.2.11 MIT
require-from-string 2.0.2 MIT
rgb-hex 3.0.0 MIT
roughjs 4.6.6 MIT
rxjs 7.8.2 Apache-2.0
safevalues 1.2.0 Apache-2.0
select 1.1.2 MIT
string-to-color 2.2.2 MIT
style-mod 4.1.2 MIT
stylis 4.3.6 MIT
svelte 5.39.2 MIT
tiny-emitter 2.1.0 MIT
tinyexec 1.0.1 MIT
ts-dedent 2.2.0 MIT
tslib 2.8.1 0BSD
ufo 1.6.1 MIT
uuid 11.1.0 MIT
uuidv7 1.0.2 Apache-2.0
vanilla-jsoneditor 3.9.0 ISC
vanilla-picker 2.12.3 ISC
vscode-jsonrpc 8.2.0 MIT
vscode-languageserver-protocol 3.17.5 MIT
vscode-languageserver-textdocument 1.0.12 MIT
vscode-languageserver-types 3.17.5 MIT
vscode-languageserver 9.0.1 MIT
vscode-uri 3.0.8 MIT
w3c-keyname 2.2.8 MIT
yaml 2.8.1 ISC
zimmerframe 1.1.4 MIT
zone.js 0.15.1 MIT
Contact Qodana team

Contact us at qodana-support@jetbrains.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants