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/等可能会造成数据错误的方法

90/ 160
pub points
43
downloads

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

Failed report section
Follow Dart file conventions
10 / 30trigger folding of the section

Failed check 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.

Failed check 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.

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.9").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 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: .

Failed check 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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Missing type annotation.

lib/src/logger/log.dart:42:15

   ╷
42 │   void output(msg) {
   │               ^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/logger/log.dart

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

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

Package Constraint Compatible Latest Notes
analyzer 1.7.2 1.7.2 9.0.0
analyzer_plugin 0.6.0 0.6.0 0.13.11
file ^6.0.0 6.1.4 7.0.1
glob ^2.0.1 2.1.3 2.1.3
path ^1.8.0 1.9.1 1.9.1
quick_log ^5.2.1 5.5.3 5.5.3
yaml ^3.1.0 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 22.0.0 92.0.0
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
cli_util - 0.3.5 0.4.2
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.1.1 3.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
package_config - 2.2.0 2.2.0
pedantic - 1.11.1 1.11.1 Discontinued
pub_semver - 2.2.0 2.2.0
rxdart - 0.28.0 0.28.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
watcher - 1.1.4 1.1.4

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.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.0, Flutter 3.35.7, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
90
points
43
downloads

Publisher

unverified uploader

Weekly Downloads

自定制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

Packages that implement kuril_plugin