dart_apitool 0.19.0 copy "dart_apitool: ^0.19.0" to clipboard
dart_apitool: ^0.19.0 copied to clipboard

A tool to analyze the public API of a package, create a model of it and diff it against another version to check semver.

13
likes
140/ 160
pub points
0%
popularity

We analyzed this package 3 days ago, and awarded it 140 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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

248 out of 275 API elements (90.2 %) have documentation comments.

Some symbols that are missing documentation: api_tool, api_tool_cli, api_tool_cli.ApiChange.isBreaking, api_tool_cli.ApiChangeCode, api_tool_cli.ApiChangeCode.code.

10/10 points: Package has an example

failed
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:dart_apitool/api_tool.dart that imports:
  • package:dart_apitool/src/utils/utils.dart that imports:
  • package:dart_apitool/src/utils/version_utils.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dart_apitool/api_tool.dart that imports:
  • package:dart_apitool/src/utils/utils.dart that imports:
  • package:dart_apitool/src/utils/version_utils.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
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest
analyzer ^6.2.0 6.8.0 6.9.0
args ^2.3.1 2.5.0 2.5.0
collection ^1.16.0 1.19.0 1.19.0
colorize ^3.0.0 3.0.0 3.0.0
colorize_lumberdash ^3.0.0 3.0.0 3.0.0
console ^4.1.0 4.1.0 4.1.0
freezed_annotation ^2.2.0 2.4.4 2.4.4
json_annotation ^4.8.1 4.9.0 4.9.0
lumberdash ^3.0.0 3.0.0 3.0.0
path ^1.8.2 1.9.0 1.9.0
plist_parser ^0.0.9 0.0.11 0.0.11
pub_semver ^2.1.1 2.1.4 2.1.4
pubspec_parse ^1.2.0 1.3.0 1.3.0
stack ^0.2.1 0.2.2 0.2.2
tuple ^2.0.0 2.0.2 2.0.2
yaml ^3.1.1 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 73.0.0 74.0.0
_macros - 0.3.2 0.3.2
ansicolor - 2.0.3 2.0.3
async - 2.11.0 2.11.0
checked_yaml - 2.0.3 2.0.3
convert - 3.1.1 3.1.1
crypto - 3.0.5 3.0.5
file - 7.0.0 7.0.0
glob - 2.1.2 2.1.2
macros - 0.1.2-main.4 0.1.3-main.0
meta - 1.16.0 1.16.0
package_config - 2.1.0 2.1.0
petitparser - 6.0.2 6.0.2
source_span - 1.10.0 1.10.0
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 5 errors:

  • MISSING_REQUIRED_ARGUMENT - lib/src/model/internal/internal_declaration_utils.dart:27:25 - The named parameter 'withNullability' is required, but there's no corresponding argument.
  • MISSING_REQUIRED_ARGUMENT - lib/src/model/internal/internal_executable_declaration.dart:54:56 - The named parameter 'withNullability' is required, but there's no corresponding argument.
  • MISSING_REQUIRED_ARGUMENT - lib/src/model/internal/internal_executable_declaration.dart:114:32 - The named parameter 'withNullability' is required, but there's no corresponding argument.

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.12, Dart 3.5.3.

Check the analysis log for details.

13
likes
140
pub points
0%
popularity

Publisher

verified publisherbmwtech.dev

A tool to analyze the public API of a package, create a model of it and diff it against another version to check semver.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, args, collection, colorize, colorize_lumberdash, console, freezed_annotation, json_annotation, lumberdash, path, plist_parser, pub_semver, pubspec_parse, stack, tuple, yaml

More

Packages that depend on dart_apitool