kuril_plugin 0.0.9 copy "kuril_plugin: ^0.0.9" to clipboard
kuril_plugin: ^0.0.9 copied to clipboard

自定制FlutterPlugin来保证项目中没有使用.first/.last/.firstWhere/等可能会造成数据错误的方法

0
likes
105/ 160
pub points
0%
popularity

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

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

0/10 points: Provide a valid pubspec.yaml

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

1 out of 2 API elements (50.0 %) have documentation comments.

Some symbols that are missing documentation: kuril_plugin.

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: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:kuril_plugin/kuril_plugin.dart that declares support for platforms: .
Package does not support platform `iOS`.

Because:

  • package:kuril_plugin/kuril_plugin.dart that declares support for platforms: .
Package does not support platform `Windows`.

Because:

  • package:kuril_plugin/kuril_plugin.dart that declares support for platforms: .
Package does not support platform `Linux`.

Because:

  • package:kuril_plugin/kuril_plugin.dart that declares support for platforms: .
Package does not support platform `macOS`.

Because:

  • package:kuril_plugin/kuril_plugin.dart that declares support for platforms: .
Package does not support platform `Web`.

Because:

  • package:kuril_plugin/kuril_plugin.dart that declares support for platforms: .

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:kuril_plugin/kuril_plugin.dart that imports:
  • package:kuril_plugin/src/analyzer_plugin/analyzer_plugin_starter.dart that imports:
  • package:kuril_plugin/src/analyzer_plugin/analyzer_plugin.dart that imports:
  • package:kuril_plugin/src/analyzer_plugin/checker/kuril_plugin_checker.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/task/api/model.dart that imports:
  • package:analyzer/src/generated/source.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

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

OK
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest
analyzer 1.7.2 1.7.2 6.11.0
analyzer_plugin 0.6.0 0.6.0 0.11.3
file ^6.0.0 6.1.4 7.0.1
flutter flutter 0.0.0 0.0.0
glob ^2.0.1 2.1.2 2.1.2
path ^1.8.0 1.9.1 1.9.1
quick_log ^5.2.1 5.5.0 5.5.0
yaml ^3.1.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 22.0.0 76.0.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
cli_util - 0.3.5 0.4.2
collection - 1.18.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.1.1 2.3.7
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_config - 2.1.0 2.1.0
pedantic - 1.11.1 1.11.1
pub_semver - 2.1.4 2.1.4
rxdart - 0.28.0 0.28.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0

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

Found 3 issues. Showing the first 2:

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

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

The constraint `0.6.0` on analyzer_plugin does not support the stable version `0.7.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

0
likes
105
pub points
0%
popularity

Publisher

unverified uploader

自定制FlutterPlugin来保证项目中没有使用.first/.last/.firstWhere/等可能会造成数据错误的方法

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, analyzer_plugin, file, flutter, glob, path, quick_log, yaml

More

Packages that depend on kuril_plugin