oph_core 0.0.2+0 oph_core: ^0.0.2+0 copied to clipboard
Package for OPH Core functions
We analyzed this package 11 hours ago, and awarded it 80 pub points (of a possible 140):
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.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 272 API elements (0.0 %) 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.
Some symbols that are missing documentation: auth_service
, auth_service.AuthService
, auth_service.AuthService.AuthService
, auth_service.AuthService.gSignIn
, auth_service.AuthService.getHostGUID
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:oph_core/oph_core.dart
that imports:package:oph_core/utils/browse_service.dart
that imports:package:oph_core/utils/form_service.dart
that imports:package:oph_core/models/oph.dart
that imports:package:oph_core/models/preset.dart
that imports:package:oph_core/utils/google_service.dart
that imports:package:google_sign_in/google_sign_in.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:oph_core/oph_core.dart
that imports:package:oph_core/utils/browse_service.dart
that imports:package:oph_core/utils/form_service.dart
that imports:package:oph_core/models/oph.dart
that imports:package:oph_core/models/preset.dart
that imports:package:oph_core/utils/google_service.dart
that imports:package:google_sign_in/google_sign_in.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package not compatible with platform Web
Because:
package:oph_core/oph_core.dart
that imports:package:oph_core/utils/browse_service.dart
that imports:package:oph_core/utils/form_service.dart
that imports:package:oph_core/models/oph.dart
that imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 139 issues. Showing the first 2:
INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.
lib/models/oph.dart:28:9
╷
28 │ if (list.service
│ ┌─────────^
29 │ │ .where((s) => s.name == name && s.accountId == accountId)
30 │ │ .toList()
31 │ │ .length >
32 │ │ 0)
│ └─────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/oph.dart
INFO: Statements in an if should be enclosed in a block.
lib/models/oph.dart:33:7
╷
33 │ ┌ brwSvc = list.service
34 │ │ .where((s) => s.name == name && s.accountId == accountId)
35 │ └ .toList()[0];
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/oph.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
connectivity |
^3.0.6 |
3.0.6 | 3.0.6 |
flutter |
flutter |
0.0.0 | 0.0.0 |
google_sign_in |
^6.1.5 |
6.2.1 | 6.2.1 |
group_radio_button |
^1.3.0 |
1.3.0 | 1.3.0 |
http |
^0.13.6 |
0.13.6 | 1.2.1 |
intl |
^0.18.1 |
0.18.1 | 0.19.0 |
keyboard_actions |
^4.2.0 |
4.2.0 | 4.2.0 |
path |
^1.8.2 |
1.9.0 | 1.9.0 |
path_provider |
^2.1.1 |
2.1.3 | 2.1.3 |
xml |
^6.2.2 |
6.5.0 | 6.5.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
connectivity_for_web |
- | 0.4.0+1 | 0.4.0+1 |
connectivity_macos |
- | 0.2.1+2 | 0.2.1+2 |
connectivity_platform_interface |
- | 2.0.1 | 2.0.1 |
ffi |
- | 2.1.2 | 2.1.2 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
google_identity_services_web |
- | 0.3.1+1 | 0.3.1+1 |
google_sign_in_android |
- | 6.1.23 | 6.1.23 |
google_sign_in_ios |
- | 5.7.6 | 5.7.6 |
google_sign_in_platform_interface |
- | 2.4.5 | 2.4.5 |
google_sign_in_web |
- | 0.12.4 | 0.12.4 |
http_parser |
- | 4.0.2 | 4.0.2 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.14.0 |
path_provider_android |
- | 2.2.4 | 2.2.4 |
path_provider_foundation |
- | 2.3.2 | 2.3.2 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.2.1 | 2.2.1 |
petitparser |
- | 6.0.2 | 6.0.2 |
platform |
- | 3.1.4 | 3.1.4 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.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 |
web |
- | 0.5.1 | 0.5.1 |
win32 |
- | 5.4.0 | 5.4.0 |
xdg_directories |
- | 1.0.4 | 1.0.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.13.6` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http
to update the constraint.
The constraint `^0.18.1` on intl does not support the stable version `0.19.0`.
Try running dart pub upgrade --major-versions intl
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.2
, Flutter 3.19.5
, Dart 3.3.3
.
Check the analysis log for details.