vais_speech 2.0.3
vais_speech: ^2.0.3 copied to clipboard
A new Flutter plugin.
We analyzed this package 4 days ago, and awarded it 110 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
OUT:
Documenting vais_speech...
Discovering libraries...
Linking elements...
Precaching local docs for 1188662 elements...
Initialized dartdoc with 1704 libraries
Generating docs for library repository/network.dart from package:vais_speech/repository/network.dart...
Generating docs for library vais.dart from package:vais_speech/vais.dart...
Generating docs for library vais_speech.dart from package:vais_speech/vais_speech.dart...
Generating docs for library controller/streaming_controller.dart from package:vais_speech/controller/streaming_controller.dart...
Generating docs for library controller/offline_controller.dart from package:vais_speech/controller/offline_controller.dart...
[17 more lines]
ERR:
warning: vais_speech has no library level documentation comments
from vais_speech: (file:///tmp/pana_DHQXKL/lib/vais.dart:1:1)
error: file already written at "vais_speech/index.html"
for symbol vais_speech: (file:///tmp/pana_DHQXKL/lib/vais_speech.dart:1:1)
conflicting with file already generated by vais_speech: (file:///tmp/pana_DHQXKL/lib/vais.dart:1:1)
Dartdoc generates a path and filename to write to for each symbol.
'vais_speech' conflicts with another symbol in the generated path, and
therefore can not be written out. Changing the name, library name, or
class name (if appropriate) of one of the conflicting items can resolve
the conflict. Alternatively, use the @nodoc directive in one symbol's
[24 more lines]
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:vais_speech/vais_speech.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:vais_speech/vais_speech.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:vais_speech/vais_speech.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:vais_speech/vais_speech.dartthat declares support for platforms:Android,iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:vais_speech/vais_speech.dartthat imports:package:vais_speech/vais_speech_audio.dartthat imports:package:wakelock/wakelock.dartthat imports:package:wakelock_macos/wakelock_macos.dartthat declares support for platforms:macOS.
Package does not support platform `iOS`.
Because:
package:vais_speech/vais_speech.dartthat imports:package:vais_speech/vais_speech_audio.dartthat imports:package:wakelock/wakelock.dartthat imports:package:wakelock_macos/wakelock_macos.dartthat declares support for platforms:macOS.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/vais_speech/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 43 issues. Showing the first 2:
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/controller/streaming_controller.dart:76:35
╷
76 │ if(result.audioFilename != null && result.audioFilename.isNotEmpty){
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/controller/streaming_controller.dart
WARNING: Unused import: 'package:vais_speech/model/base_response.dart'.
lib/model/audio/audio_response.dart:4:8
╷
4 │ import 'package:vais_speech/model/base_response.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/model/audio/audio_response.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
file |
^6.1.2 |
6.1.4 | 7.0.1 | |
fixnum |
^1.0.0 |
1.1.1 | 1.1.1 | |
grpc |
^3.0.0 |
3.2.4 | 5.1.0 | |
http |
^0.13.3 |
0.13.6 | 1.6.0 | |
json_annotation |
^4.0.1 |
4.10.0 | 4.10.0 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
path_provider |
^2.0.2 |
2.1.5 | 2.1.5 | |
protobuf |
^2.0.0 |
2.1.0 | 6.0.0 | |
quiver |
^3.0.1 |
3.2.2 | 3.2.2 | |
wakelock |
^0.5.2 |
0.5.6 | 0.6.2 | Discontinued |
web_socket_channel |
^2.1.0 |
2.4.5 | 3.0.3 | |
xml |
^5.1.2 |
5.4.1 | 6.6.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.5 | 2.1.5 | |
glob |
- | 2.1.3 | 2.1.3 | |
googleapis_auth |
- | 1.4.1 | 2.0.0 | |
hooks |
- | 1.0.1 | 1.0.1 | |
http2 |
- | 2.3.1 | 2.3.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
native_toolchain_c |
- | 0.17.4 | 0.17.4 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 5.4.0 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.9 | 0.7.9 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
wakelock_macos |
- | 0.4.0 | 0.4.0 | |
wakelock_platform_interface |
- | 0.3.0 | 0.3.0 | |
wakelock_web |
- | 0.4.0 | 0.4.0 | |
wakelock_windows |
- | 0.2.1 | 0.2.1 | |
web |
- | 0.5.1 | 1.1.1 | |
win32 |
- | 3.1.4 | 5.15.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 8 issues. Showing the first 2:
The constraint `^6.1.2` on file does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions file to update the constraint.
The constraint `^3.0.0` on grpc does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions grpc 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.23.9, Flutter 3.38.8, Dart 3.10.7.
Check the analysis log for details.