tinkoff_invest 0.1.4 tinkoff_invest: ^0.1.4 copied to clipboard
Tinkoff Invest OpenAPI SDK for Dart.
We analyzed this package 28 hours ago, and awarded it 125 pub points (of a possible 160):
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.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/greymag/tinkoff-invest-openapi-dart-sdk/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
83 out of 391 API elements (21.2 %) have documentation comments.
Some symbols that are missing documentation: tinkoff_invest
, tinkoff_invest.BrokerAccountType
, tinkoff_invest.BrokerAccountTypeConverter
, tinkoff_invest.BrokerAccountTypeConverter.BrokerAccountTypeConverter
, tinkoff_invest.BrokerAccountTypeConverter.convert
.
10/10 points: Package has an example
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:tinkoff_invest/tinkoff_invest.dart
that imports:package:tinkoff_invest/src/tinkoff_invest_api.dart
that imports:package:tinkoff_invest/src/streaming/ti_streaming.dart
that imports:package:web_socket_channel/io.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:tinkoff_invest/tinkoff_invest.dart
that imports:package:tinkoff_invest/src/tinkoff_invest_api.dart
that imports:package:tinkoff_invest/src/streaming/ti_streaming.dart
that imports:package:web_socket_channel/io.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: The import of 'operation_type.dart' is unnecessary because all of the used elements are also provided by the import of '../../../tinkoff_invest.dart'.
lib/src/models/data/placed_order.dart:2:8
╷
2 │ import 'operation_type.dart';
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/data/placed_order.dart
INFO: The import of 'order_status.dart' is unnecessary because all of the used elements are also provided by the import of '../../../tinkoff_invest.dart'.
lib/src/models/data/placed_order.dart:3:8
╷
3 │ import 'order_status.dart';
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/data/placed_order.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
^2.7.0 |
2.12.0 | 2.12.0 |
dio |
^4.0.0 |
4.0.6 | 5.7.0 |
list_ext |
^1.0.2 |
1.0.6 | 1.0.6 |
meta |
^1.3.0 |
1.16.0 | 1.16.0 |
web_socket_channel |
^2.1.0 |
2.4.5 | 3.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
boolean_selector |
- | 2.1.2 | 2.1.2 |
collection |
- | 1.19.1 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
http_parser |
- | 4.1.1 | 4.1.1 |
matcher |
- | 0.12.17 | 0.12.17 |
path |
- | 1.9.1 | 1.9.1 |
quiver |
- | 3.2.2 | 3.2.2 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.12.0 | 1.12.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.4 | 0.7.4 |
typed_data |
- | 1.4.0 | 1.4.0 |
web |
- | 0.5.1 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^4.0.0` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
to update the constraint.
The constraint `^2.1.0` on web_socket_channel does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions web_socket_channel
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
, Dart 3.5.4
.
Check the analysis log for details.