Giter VIP home page Giter VIP logo

Comments (5)

chutch avatar chutch commented on August 20, 2024 1

Hi Tomek,

I think that's a very good idea to incorporate this as a rule. Will include that into future release.

from aem-rules-for-sonarqube.

tomaszhulakcogni avatar tomaszhulakcogni commented on August 20, 2024 1

I may have found a corner case. It seems that specifying search strategy when looking for parents doesn't change anything, so we may consider making an exception for this case.

However I didn't analyze the code very deeply, it may be worth to look at it.

from aem-rules-for-sonarqube.

chutch avatar chutch commented on August 20, 2024

Here's an initial unit test. Feel free to add additional cases that you think are common or possible.

https://github.com/Cognifide/AEM-Rules-for-SonarQube/blob/db6df47ec4c46c0b9de8909bbca3dae87cf9abc1/src/test/files/checks/slingquery/SlingQueryImplicitStrategyCheck.java

from aem-rules-for-sonarqube.

toniedzwiedz avatar toniedzwiedz commented on August 20, 2024

@chutch you're quick :)
The test data looks fairly comprehensive.

from aem-rules-for-sonarqube.

toniedzwiedz avatar toniedzwiedz commented on August 20, 2024

@tomaszhulakcogni ideally, we could cover all of the recommendations mentioned here, though that might prove a little complicated.

from aem-rules-for-sonarqube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.