sdk_test 0.0.1
sdk_test: ^0.0.1 copied to clipboard
A new Flutter project.
We analyzed this package 2 days ago, and awarded it 90 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.
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
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
OUT: Documenting sdk_test... Discovering libraries... Linking elements... Precaching local docs for 130167 elements... Initialized dartdoc with 214 libraries Generating docs for library post.dart from package:sdk_test/post.dart... Generating docs for library http_request.dart from package:sdk_test/http_request.dart... Generating docs for library main.dart from package:sdk_test/main.dart... Generating docs for library sdk_test.dart from package:sdk_test/sdk_test.dart... Documented 4 public libraries in 14.6 seconds ERR: warning: sdk_test has no library level documentation comments from sdk_test: (file:///tmp/pana_PCVJWD/lib/post.dart:1:1) warning: sdk_test has no library level documentation comments from sdk_test: (file:///tmp/pana_PCVJWD/lib/http_request.dart:1:1) error: file already written at "sdk_test/index.html" for symbol sdk_test: (file:///tmp/pana_PCVJWD/lib/http_request.dart:1:1) conflicting with file already generated by sdk_test: (file:///tmp/pana_PCVJWD/lib/post.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'sdk_test' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [27 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
WARNING: The value of the local variable 'statusCode' isn't used.
lib/http_request.dart:25:9
╷
25 │ int statusCode = response.statusCode;
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/http_request.dart
WARNING: The value of the local variable 'contentType' isn't used.
lib/http_request.dart:27:13
╷
27 │ String? contentType = headers['content-type'];
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/http_request.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
http |
^0.13.4 |
0.13.6 | 1.6.0 | |
http_parser |
^4.0.0 |
4.1.2 | 4.1.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.3 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.13.4` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http 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.12, Flutter 3.44.1, Dart 3.12.1.
Check the analysis log for details.