DaanHoogland commented on PR #7131:
URL: https://github.com/apache/cloudstack/pull/7131#issuecomment-1404675274

   > > > SonarCloud Quality Gate failed.    [![Quality Gate 
failed](https://camo.githubusercontent.com/4ea51c1f64ee3746f631653a02ab678ca6a3efb5f5cb474402faed2e3dcf90b5/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f5175616c6974794761746542616467652f6661696c65642d313670782e706e67)](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=7131)
   > > > 
[![Bug](https://camo.githubusercontent.com/4c6102327f5a954f9c8acaf2e2714183157a9e41717b371b2cd585cf25057310/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f6275672d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=BUG)
 
[![C](https://camo.githubusercontent.com/57cf2cd81158730ed1dd8be1e93a41a2feb8b35dd75e5601402ba5f961f6ec18/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f526174696e6742616467652f432d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=BUG)
 [28 
Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=BUG)
 
[![Vulnerability](https://camo.githubusercontent.com/3ba1ee49636ffc3427e38649a9f8a65ee39
 
2f28e8a662fcf96ce24cefbb520e9/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f76756c6e65726162696c6974792d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=VULNERABILITY)
 
[![B](https://camo.githubusercontent.com/ee7f8cac547e3e28ad7e683c451c8caf2f19d70bc37d6bcba574dac8ff86d194/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f526174696e6742616467652f422d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=VULNERABILITY)
 [9 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=VULNERABILITY)
 [![Security 
Hotspot](https://camo.githubusercontent.com/fb735cbe76f8d5e1679c76ce83b740ceb1eaf62de4f7bf88623dc99532
 
61aff7/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f73656375726974795f686f7473706f742d313670782e706e67)](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=7131&resolved=false&types=SECURITY_HOTSPOT)
 
[![E](https://camo.githubusercontent.com/ca3e5c9e7ad5fd04244d2d793976efbe479a024b145a815384556548a9884b5f/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f526174696e6742616467652f452d313670782e706e67)](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=7131&resolved=false&types=SECURITY_HOTSPOT)
 [6 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=7131&resolved=false&types=SECURITY_HOTSPOT)
 [![Code 
Smell](https://camo.githubusercontent.com/8fe18b2dfb6f7d4e44582f281b29f617eb5ae
 
07c248d2002ca586e91da219212/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f636f64655f736d656c6c2d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=CODE_SMELL)
 
[![C](https://camo.githubusercontent.com/57cf2cd81158730ed1dd8be1e93a41a2feb8b35dd75e5601402ba5f961f6ec18/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f526174696e6742616467652f432d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=CODE_SMELL)
 [11993 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=CODE_SMELL)
   > > > 
[![4.5%](https://camo.githubusercontent.com/3f04cff3eeef8477afe696ae55c570cbb6ed02f16152497c14251828329a3e91/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f436f76657261676543686172742f302d313670782e706e67)](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=7131&metric=new_coverage&view=list)
 [4.5% 
Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=7131&metric=new_coverage&view=list)
 
[![5.1%](https://camo.githubusercontent.com/6d10b2752bda1e1762d255930f4a4807428112b982706db9e339669f1165f525/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f4475706c69636174696f6e732f31302d313670782e706e67)](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=7131&metric=new_duplicated_lines_density&view=list)
 [5.1% D
 
uplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=7131&metric=new_duplicated_lines_density&view=list)
   > > 
   > > 
   > > auch, I checked the security issues and marked them safe. @JoaoJandre 
can you go through the vulnerabilities and bugs, please. I think we must ignore 
the code smells for this PR. We can sample them but this is going to be a 
manyear of work to clear them all, even the more serious ones.
   > 
   > @DaanHoogland, as this PR touched a lot of lines, any "bugs" or 
"vulnerabilities" that already existed are now being reported by Sonarcloud. I 
fixed one of them that I deemed relevant to this PR; however, in order to avoid 
raising the complexity of this PR, I think it would be better to create another 
PR to fix the other bugs and vulnerabilities. What do you think?
   
   
   
   > > > SonarCloud Quality Gate failed.    [![Quality Gate 
failed](https://camo.githubusercontent.com/4ea51c1f64ee3746f631653a02ab678ca6a3efb5f5cb474402faed2e3dcf90b5/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f5175616c6974794761746542616467652f6661696c65642d313670782e706e67)](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=7131)
   > > > 
[![Bug](https://camo.githubusercontent.com/4c6102327f5a954f9c8acaf2e2714183157a9e41717b371b2cd585cf25057310/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f6275672d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=BUG)
 
[![C](https://camo.githubusercontent.com/57cf2cd81158730ed1dd8be1e93a41a2feb8b35dd75e5601402ba5f961f6ec18/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f526174696e6742616467652f432d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=BUG)
 [28 
Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=BUG)
 
[![Vulnerability](https://camo.githubusercontent.com/3ba1ee49636ffc3427e38649a9f8a65ee39
 
2f28e8a662fcf96ce24cefbb520e9/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f76756c6e65726162696c6974792d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=VULNERABILITY)
 
[![B](https://camo.githubusercontent.com/ee7f8cac547e3e28ad7e683c451c8caf2f19d70bc37d6bcba574dac8ff86d194/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f526174696e6742616467652f422d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=VULNERABILITY)
 [9 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=VULNERABILITY)
 [![Security 
Hotspot](https://camo.githubusercontent.com/fb735cbe76f8d5e1679c76ce83b740ceb1eaf62de4f7bf88623dc99532
 
61aff7/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f73656375726974795f686f7473706f742d313670782e706e67)](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=7131&resolved=false&types=SECURITY_HOTSPOT)
 
[![E](https://camo.githubusercontent.com/ca3e5c9e7ad5fd04244d2d793976efbe479a024b145a815384556548a9884b5f/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f526174696e6742616467652f452d313670782e706e67)](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=7131&resolved=false&types=SECURITY_HOTSPOT)
 [6 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=7131&resolved=false&types=SECURITY_HOTSPOT)
 [![Code 
Smell](https://camo.githubusercontent.com/8fe18b2dfb6f7d4e44582f281b29f617eb5ae
 
07c248d2002ca586e91da219212/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f636f64655f736d656c6c2d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=CODE_SMELL)
 
[![C](https://camo.githubusercontent.com/57cf2cd81158730ed1dd8be1e93a41a2feb8b35dd75e5601402ba5f961f6ec18/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f526174696e6742616467652f432d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=CODE_SMELL)
 [11993 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=7131&resolved=false&types=CODE_SMELL)
   > > > 
[![4.5%](https://camo.githubusercontent.com/3f04cff3eeef8477afe696ae55c570cbb6ed02f16152497c14251828329a3e91/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f436f76657261676543686172742f302d313670782e706e67)](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=7131&metric=new_coverage&view=list)
 [4.5% 
Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=7131&metric=new_coverage&view=list)
 
[![5.1%](https://camo.githubusercontent.com/6d10b2752bda1e1762d255930f4a4807428112b982706db9e339669f1165f525/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f4475706c69636174696f6e732f31302d313670782e706e67)](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=7131&metric=new_duplicated_lines_density&view=list)
 [5.1% D
 
uplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=7131&metric=new_duplicated_lines_density&view=list)
   > > 
   > > 
   > > auch, I checked the security issues and marked them safe. @JoaoJandre 
can you go through the vulnerabilities and bugs, please. I think we must ignore 
the code smells for this PR. We can sample them but this is going to be a 
manyear of work to clear them all, even the more serious ones.
   > 
   > @DaanHoogland, as this PR touched a lot of lines, any "bugs" or 
"vulnerabilities" that already existed are now being reported by Sonarcloud. I 
fixed one of them that I deemed relevant to this PR; however, in order to avoid 
raising the complexity of this PR, I think it would be better to create another 
PR to fix the other bugs and vulnerabilities. What do you think?
   
   Where it comes to code smells i would agree, but I would rather assess all 
bugs and vulnerabilities maybe even before merging this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to