xcatliu / cqc

Code Quality Checker - Check your code quality by running one command.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue files always give cyclomatic complexity as 0

kush96 opened this issue · comments

I was trying to use the tool to find cyclomatic values for vue files, i was trying it by runing the following command
cqc --ext ".vue" --verbose /my/vue/file/vue_file.vue
However I always get complexity rate % as 0, no matter what file it is( even if file has lot of if...else , loops). Are there any rules by which the complexity of a vue file is calculated which i can refer to? Are these results expected?