cat_analyzer_plugin 1.0.3 copy "cat_analyzer_plugin: ^1.0.3" to clipboard
cat_analyzer_plugin: ^1.0.3 copied to clipboard

A Dart Analyzer Plugin.

1
likes
80/ 140
pub points
0%
popularity

We analyzed this package 3 days ago, and awarded it 80 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

* `pubspec.yaml` doesn't have a `homepage` entry. * `pubspec.yaml` doesn't have a `repository` entry.

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: MIT.

failed
Provide documentation
0 / 20trigger folding of the section

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

46 out of 638 API elements (7.2 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: analysis_options, avoid_hard_coded_string_rule, avoid_hard_coded_string_rule.AvoidHardCodedStringRule, avoid_hard_coded_string_rule.AvoidHardCodedStringRule.AvoidHardCodedStringRule, avoid_hard_coded_string_rule.AvoidHardCodedStringRule.check.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:cat_analyzer_plugin/cat_analyzer_plugin.dart that imports:
  • package:cat_analyzer_plugin/plugin/starter.dart that imports:
  • package:cat_analyzer_plugin/plugin/cat_plugin.dart that imports:
  • package:cat_analyzer_plugin/utils/issue_map_util.dart that imports:
  • package:cat_analyzer_plugin/fix_contributor/avoid_using_hard_coded_string_fix.dart that imports:
  • package:analyzer/dart/analysis/results.dart that imports:
  • package:analyzer/src/generated/source.dart that imports:
  • package:analyzer/src/generated/sdk.dart that imports:
  • package:analyzer/dart/ast/visitor.dart that imports:
  • package:analyzer/dart/ast/ast.dart that imports:
  • package:analyzer/src/generated/utilities_dart.dart that imports:
  • package:analyzer/src/dart/element/element.dart that imports:
  • package:analyzer/src/summary2/reference.dart that imports:
  • package:analyzer/dart/element/element.dart that imports:
  • package:analyzer/src/generated/engine.dart that imports:
  • package:analyzer/error/listener.dart that imports:
  • package:analyzer/error/error.dart that imports:
  • package:analyzer/src/generated/parser.dart that imports:
  • package:analyzer/src/fasta/ast_builder.dart that imports:
  • package:analyzer/src/dart/ast/ast_factory.dart that imports:
  • package:analyzer/src/dart/ast/ast.dart that imports:
  • package:analyzer/dart/element/type.dart that imports:
  • package:analyzer/src/dart/element/type.dart that imports:
  • package:analyzer/src/dart/element/type_system.dart that imports:
  • package:analyzer/src/dart/element/type_schema_elimination.dart that imports:
  • package:analyzer/src/dart/element/type_schema.dart that imports:
  • package:analyzer/src/dart/element/type_visitor.dart that imports:
  • package:analyzer/src/summary2/named_type_builder.dart that imports:
  • package:analyzer/src/summary2/link.dart that imports:
  • package:analyzer/src/summary2/types_builder.dart that imports:
  • package:analyzer/src/dart/analysis/session.dart that imports:
  • package:analyzer/src/dart/element/inheritance_manager3.dart that imports:
  • package:analyzer/src/dart/element/member.dart that imports:
  • package:analyzer/dart/analysis/session.dart that imports:
  • package:analyzer/file_system/file_system.dart that imports:
  • package:watcher/watcher.dart that imports:
  • package:watcher/src/file_watcher/polling.dart that imports:
  • package:watcher/src/stat.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 15 issues. Showing the first 2:

WARNING: The value of the local variable 'issues' isn't used.

lib/analyzer/cat_analyzer.dart:30:7

   ╷
30 │   var issues = hardCodedStringRule.check(result);
   │       ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/analyzer/cat_analyzer.dart

WARNING: The value of the local variable '_fullName' isn't used.

lib/plugin/cat_plugin.dart:134:13

    ╷
134 │         var _fullName = analysisResult.unit!.declaredElement!.source.fullName;
    │             ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/plugin/cat_plugin.dart

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

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

Package Constraint Compatible Latest
_fe_analyzer_shared ^22.0.0 22.0.0 68.0.0
analyzer ^1.7.0 1.7.2 6.5.0
analyzer_plugin ^0.6.0 0.6.0 0.11.3
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
cli_util - 0.3.5 0.4.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
dart_style - 2.1.1 2.3.6
file - 7.0.0 7.0.0
glob - 2.1.2 2.1.2
meta - 1.14.0 1.14.0
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
pedantic - 1.11.1 1.11.1
pub_semver - 2.1.4 2.1.4
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
watcher - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^22.0.0` on _fe_analyzer_shared does not support the stable version `23.0.0`.

Try running dart pub upgrade --major-versions _fe_analyzer_shared to update the constraint.

The constraint `^1.7.0` on analyzer does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions analyzer to update the constraint.

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

1
likes
80
pub points
0%
popularity

Publisher

unverified uploader

A Dart Analyzer Plugin.

Documentation

API reference

License

MIT (LICENSE)

Dependencies

_fe_analyzer_shared, analyzer, analyzer_plugin

More

Packages that depend on cat_analyzer_plugin