title: How to make Coverity analyze secondary language
body: <p>I would like <a href="https://scan.coverity.com" rel="nofollow noreferrer">Coverity</a> to analyze JavaScript code in this sample project: <a href="https://github.com/Skybladev2/AppVeyorTest" rel="nofollow noreferrer">https://github.com/Skybladev2/AppVeyorTest</a></p>
  
  <p>The primary language is set to C#, the secondary language is set to JavaScript:<a href="https://i.stack.imgur.com/AsCHB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AsCHB.png" alt="Coverity language settings"></a></p>
  
  <p>Coverity successfully found C# defect, but it can not find defect in <a href="https://github.com/Skybladev2/AppVeyorTest/blob/master/AppVeyorTest/JavaScript1.js" rel="nofollow noreferrer">JavaScript file</a>:</p>
  
  <pre><code>var a = [];
  var b = a[1];
  var c = b();
  </code></pre>
  
  <p>What should I do with Coverity and/or project itself to detect this defect?</p>