I see that when we add “Cyclomatic Complexity” to the “Quality Gate” then .ts files are not being considered so overall score will be less. We see 1 score for each html and .js files being reported.
If we remove the “Cyclomatic Complexity” from the “Quality Gate” then .ts files are being considered which is making the metric to go high. In this case all files from above scenario (that is .js, html files) and .ts files are being reported.
Could you please let me know what is the reason for above behavior? Also let me know if you need any other details.