Giter Site home page Giter Site logo

Comments (2)

pdax-johnlester avatar pdax-johnlester commented on June 1, 2024

Here's the sonar-properties.yaml:

# Project identification
sonar.host.url=http://localhost:9000/
sonar.projectKey=MAP-FE
sonar.projectName=MAP-FE
sonar.projectVersion=2.6.0
sonar.token=token

# Source code location.
# Path is relative to the sonar-project.properties file. Defaults to .
# Use commas to specify more than one folder.
sonar.sources=lib
sonar.tests=test
# Encoding of the source code. Default is default system encoding.
sonar.sourceEncoding=UTF-8

# Analyzer mode
# Can be:
# - DETECT (attempt to detect automatically) - default
# - MANUAL (an existing report needs to be provided)
# - FLUTTER (flutter analyze)
# - DART (dart analyze)
# - DARTANALYZER (dartanalyzer)
# sonar.dart.analyzer.mode=MANUAL

# Allows reuse of an existing analyzer report when mode is MANUAL
# sonar.dart.analyzer.report.path=analysis-results.txt

# Analyzer report output mode
# Can be:
# - DETECT (attempt to detect automatically, requires Dart SDK on the PATH) - default
# - MACHINE (a new machine readable output that is available for Dart 2.12+)
# - LEGACY (attempts to parse human readable output from dart/flutter) - default
# sonar.dart.analyzer.report.mode=MACHINE

sonar.qualitygate.wait=true

sonar.flutter.coverage.reportPath=coverage/lcov.info

sonar.dart.analyzer.options.override=false

sonar.coverage.exclusions=lib/core/presentation/global_components/*.dart,\
lib/core/presentation/global_bloc_components/*.dart,\
lib/core/presentation/global_page/*.dart,\
lib/features/*/presentation/components/*.dart,\
lib/features/*/presentation/pages/*.dart,\
**/presentation/data_table_source/*.dart,\
**/presentation/mixins/*.dart,\
lib/application/config/app_router/*,\
lib/core/di/injector.config.dart,\
lib/core/resources/*,\

Here's the intentional code smell that i put on the code:

  • Avoid final parameters rule
Screenshot 2023-12-27 at 12 10 28 PM

Here's the output from the SQ Dashboard:
Screenshot 2023-12-28 at 6 20 53 PM

from sonar-flutter.

pdax-johnlester avatar pdax-johnlester commented on June 1, 2024

Will close this one now. I figured out that there are only 133 rules are activated on dartanalyzer quality profile. What I did is to expand and activate other rules. This may help on others may experience this kind of issue.

from sonar-flutter.

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.