<small id='vWN7d'></small><noframes id='vWN7d'>

  • <i id='vWN7d'><tr id='vWN7d'><dt id='vWN7d'><q id='vWN7d'><span id='vWN7d'><b id='vWN7d'><form id='vWN7d'><ins id='vWN7d'></ins><ul id='vWN7d'></ul><sub id='vWN7d'></sub></form><legend id='vWN7d'></legend><bdo id='vWN7d'><pre id='vWN7d'><center id='vWN7d'></center></pre></bdo></b><th id='vWN7d'></th></span></q></dt></tr></i><div id='vWN7d'><tfoot id='vWN7d'></tfoot><dl id='vWN7d'><fieldset id='vWN7d'></fieldset></dl></div>

    1. <tfoot id='vWN7d'></tfoot>
        <bdo id='vWN7d'></bdo><ul id='vWN7d'></ul>

      <legend id='vWN7d'><style id='vWN7d'><dir id='vWN7d'><q id='vWN7d'></q></dir></style></legend>
      1. 使用 SonarLint 一次分析整个项目 - 逐个文件分析会产生不完整的结果

        Analyse complete project at once with SonarLint - Analysis file by file yields incomplete results(使用 SonarLint 一次分析整个项目 - 逐个文件分析会产生不完整的结果)
        • <legend id='scONg'><style id='scONg'><dir id='scONg'><q id='scONg'></q></dir></style></legend>
            <tbody id='scONg'></tbody>

            • <i id='scONg'><tr id='scONg'><dt id='scONg'><q id='scONg'><span id='scONg'><b id='scONg'><form id='scONg'><ins id='scONg'></ins><ul id='scONg'></ul><sub id='scONg'></sub></form><legend id='scONg'></legend><bdo id='scONg'><pre id='scONg'><center id='scONg'></center></pre></bdo></b><th id='scONg'></th></span></q></dt></tr></i><div id='scONg'><tfoot id='scONg'></tfoot><dl id='scONg'><fieldset id='scONg'></fieldset></dl></div>
                • <bdo id='scONg'></bdo><ul id='scONg'></ul>

                  <small id='scONg'></small><noframes id='scONg'>

                  <tfoot id='scONg'></tfoot>
                  本文介绍了使用 SonarLint 一次分析整个项目 - 逐个文件分析会产生不完整的结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在使用 SonarLint eclipse 插件评估 SonarQube 5.4.

                  I'm evaluating SonarQube 5.4 with SonarLint eclipse plugin.

                  SonarQube 以及插件已设置并正在运行.但现在我很困惑 SonarLint 应该如何在连接模式"下运行:

                  SonarQube as well as the plugin are set up and are running. But now I'm pretty confused how SonarLint is supposed to run in 'connected mode':

                  • SonarLint 与 SonarQube 连接,并绑定到相应的项目.但有些问题仅在 SonarQube 中显示.我的理解是,SonarLint 应该能够识别诸如恶意代码漏洞 - 可能通过合并对可变对象的引用来暴露内部表示 之类的问题.但事实并非如此.SonarQube 可以.
                  • 使用 SonarLint 分析单个文件时,SonarLint 控制台中有很多调试消息,例如 Class not found in resource cache : org/company/project/CommonSuperClass.但更糟糕的是:Class not found in resource cache : java/lang/Class.它应该这样做吗?
                  • 我们特别有兴趣突出开发者提出的问题.SonarQube 连接了我们的 repo,并且在责备提交者方面做得很好.但似乎没有办法在 sonarlint 中显示 我自己的问题.
                  • 我想在自己选择的时间运行 SonarLint 分析,因此我决定停用自动运行 SonarLint".但似乎我只能手动分析文件,不能分析包或项目.我又错过了什么?我不想点击我的2000个文件中的每一个并手动分析它.
                  • SonarLint is connected with SonarQube and is bound to the corresponding project. But some issues are only shown in SonarQube. It was my understanding SonarLint should be able to identify issues like Malicious code vulnerability - May expose internal representation by incorporating reference to mutable object. But it does not. SonarQube does.
                  • When analysing a single file with SonarLint, there are a lot of debug messages in the SonarLint Console like Class not found in resource cache : org/company/project/CommonSuperClass. But even worse: Class not found in resource cache : java/lang/Class. Is it supposed to do that?
                  • We are specifically interested in highlighting the issues introduced by developer. SonarQube is connected our repo and does a nice job in blaming the committer. But it seems there is no way of showing my own issues in sonarlint.
                  • I'd like to run the SonarLint analysis at a time of my choice, so I decided to deactivated "Run SonarLint automatically". But it seems I can only analyze files manually, not packages or projects. Am I missing something again? I do not want to click on every one of my ~2000 files and analyze it by hand.

                  推荐答案

                  SonarLint 和 SonarQube 是 2 个不同的产品:

                  SonarLint and SonarQube are 2 different products:

                  • 您希望对正在处理的代码进行快速反馈,以确保不会注入问题 => SonarLint 在您打开文件以编写或审查代码时对其进行分析
                  • 您希望 360 度全方位了解您的代码质量 => SonarQube 会分析您项目的所有文件

                  连接模式"是两个世界之间的桥梁,其发展仍在进行中.例如,我们计划在 SonarLint 中查看 SonarQube 在项目中发现的所有问题(请参阅并投票支持 SLE-54).

                  The "connected mode" is the bridge between the 2 worlds, and its development is still underway. For instance, we plan to make it possible to see inside SonarLint all the issues found on the project by SonarQube (see and vote for SLE-54).

                  这篇关于使用 SonarLint 一次分析整个项目 - 逐个文件分析会产生不完整的结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Slf4j LoggerFactory.getLogger and sonarqube(Slf4j LoggerFactory.getLogger 和 sonarqube)
                  Security - Array is stored directly(安全性 - 数组直接存储)
                  SonarQube quot;Class Not Foundquot; during Main AST Scan(SonarQube“找不到类在主 AST 扫描期间)
                  Integrate Spock#39;s test with Sonar(将 Spock 的测试与声纳集成)
                  automatically add curly brackets to all if/else/for/while etc. in a java code-base(自动将大括号添加到 java 代码库中的所有 if/else/for/while 等)
                  How do I ignore duplicated code report in Sonar?(如何忽略 Sonar 中的重复代码报告?)
                  • <bdo id='YsZiS'></bdo><ul id='YsZiS'></ul>

                      <small id='YsZiS'></small><noframes id='YsZiS'>

                          <tfoot id='YsZiS'></tfoot>
                              <tbody id='YsZiS'></tbody>
                            <i id='YsZiS'><tr id='YsZiS'><dt id='YsZiS'><q id='YsZiS'><span id='YsZiS'><b id='YsZiS'><form id='YsZiS'><ins id='YsZiS'></ins><ul id='YsZiS'></ul><sub id='YsZiS'></sub></form><legend id='YsZiS'></legend><bdo id='YsZiS'><pre id='YsZiS'><center id='YsZiS'></center></pre></bdo></b><th id='YsZiS'></th></span></q></dt></tr></i><div id='YsZiS'><tfoot id='YsZiS'></tfoot><dl id='YsZiS'><fieldset id='YsZiS'></fieldset></dl></div>
                            <legend id='YsZiS'><style id='YsZiS'><dir id='YsZiS'><q id='YsZiS'></q></dir></style></legend>