dart_ari_proxy 1.0.0
dart_ari_proxy: ^1.0.0 copied to clipboard
Asterisk PBX Rest Interface in Dart
We analyzed this package 2 days ago, and awarded it 40 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 50 to 180 characters to describe the package, what it does, and its target use case.
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: GPL-3.0.
0/10 points: 20% or more of the public API has dartdoc comments
66 out of 612 API elements (10.8 %) 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.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: ApplicationsApi, ApplicationsApi.ApplicationsApi, ApplicationsApi.ApplicationsApi.ApplicationsApi.new, ApplicationsApi.ApplicationsApi.filterEvents, ApplicationsApi.ApplicationsApi.get.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 248 issues. Showing the first 2:
ERROR: Too many positional arguments: 0 expected, but 1 found.
lib/ari_apps/app_ivr.dart:78:18
╷
78 │ channel.answer((err) {
│ ┌──────────────────^
79 │ │ if (err) {
80 │ │ throw err;
81 │ │ }
82 │ │
83 │ │ playIntroMenu(channel);
84 │ │ });
│ └───^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/ari_apps/app_ivr.dart
ERROR: Too many positional arguments: 0 expected, but 1 found.
lib/ari_apps/app_ivr.dart:232:30
╷
232 │ channel.continueInDialplan((err) {
│ ┌──────────────────────────────^
233 │ │ //if (err) safeHangup(channel);
234 │ │ },
│ └───^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/ari_apps/app_ivr.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dotenv |
^4.2.0 |
4.2.0 | 4.2.0 | |
redis |
^4.0.0 |
4.0.0 | 4.0.0 | |
uuid |
^4.3.3 |
4.5.2 | 4.5.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
meta |
- | 1.18.1 | 1.18.1 | |
typed_data |
- | 1.4.0 | 1.4.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 21 errors:
EXTRA_POSITIONAL_ARGUMENTS-lib/ari_apps/app_ivr.dart:78:18- Too many positional arguments: 0 expected, but 1 found.EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED-lib/ari_apps/app_ivr.dart:232:30- Too many positional arguments: 0 expected, but 1 found.EXTRA_POSITIONAL_ARGUMENTS-lib/ari_apps/app_ivr2.dart:173:18- Too many positional arguments: 0 expected, but 1 found.
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.23.10, Dart 3.11.0.
Check the analysis log for details.