analyzer 6.8.0 copy "analyzer: ^6.8.0" to clipboard
analyzer: ^6.8.0 copied to clipboard

This package provides a library that performs static analysis of Dart code.

248
likes
40/ 160
pub points
99%
popularity

We analyzed this package 8 days ago, and awarded it 40 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

Dependency resolution failed, unable to run dartdoc.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
0 / 20trigger folding of the section

0/20 points: Platform support detection failed

Could not determine supported platforms as package resolution failed.

Run dart pub get for more information.

failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Running `dart pub outdated` failed with the following output:
Because macros >=0.1.2-main.2 <0.1.2-main.4 depends on _macros 0.3.1 from sdk which doesn't match any versions, macros >=0.1.2-main.2 <0.1.2-main.4 is forbidden.
And because macros >=0.1.2-main.4 depends on _macros 0.3.2 from sdk, macros >=0.1.2-main.2 requires _macros 0.3.2 from sdk.

The SDK package _macros is an experimental feature which is only available in newer SDKs. Increase your minimum SDK constraint for pub.dev to select such SDK for analysis.

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

  • Could not run dart pub outdated: dart pub get failed:
OUT:
Resolving dependencies...
ERR:
Because macros >=0.1.2-main.2 <0.1.2-main.4 depends on _macros 0.3.1 from sdk which doesn't match any versions, macros >=0.1.2-main.2 <0.1.2-main.4 is forbidden.
And because macros >=0.1.2-main.4 depends on _macros 0.3.2 from sdk, macros >=0.1.2-main.2 requires _macros 0.3.2 from sdk.
So, because no versions of _macros from sdk match 0.3.2 and analyzer depends on macros >=0.1.2-main.3 <0.1.3, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on macros: dart pub add macros:^0.0.1

10/10 points: Package supports latest stable Dart and Flutter SDKs

0/20 points: Compatible with dependency constraint lower bounds

dart pub downgrade failed with:

OUT:
Resolving dependencies...
ERR:
Because macros >=0.1.2-main.4 depends on _macros 0.3.2 from sdk which doesn't match any versions, macros >=0.1.2-main.4 is forbidden.
And because macros >=0.1.2-main.2 <0.1.2-main.4 depends on _macros 0.3.1 from sdk, macros >=0.1.2-main.2 requires _macros 0.3.1 from sdk.
So, because no versions of _macros from sdk match 0.3.1 and analyzer depends on macros >=0.1.2-main.3 <0.1.3, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on macros: dart pub add macros:^0.0.1

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.9, Dart 3.4.4.

Check the analysis log for details.