electric 0.0.5
electric: ^0.0.5 copied to clipboard
electric package
We analyzed this package 5 days ago, and awarded it 100 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.
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.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.5").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting electric... Discovering libraries... Linking elements... Precaching local docs for 108039 elements... Initialized dartdoc with 56 libraries Generating docs for library taigi/taigi4_wind_pressure.dart from package:electric/taigi/taigi4_wind_pressure.dart... Generating docs for library taigi/taigi4_allowable_stress.dart from package:electric/taigi/taigi4_allowable_stress.dart... Generating docs for library electric.dart from package:electric/electric.dart... Generating docs for library utils/unit.dart from package:electric/utils/unit.dart... Generating docs for library dengi/dengi29.dart from package:electric/dengi/dengi29.dart... [1 more lines] ERR: warning: electric has no library level documentation comments from electric: (file:///tmp/pana_EMSPZF/lib/taigi/taigi4_wind_pressure.dart:1:1) warning: electric has no library level documentation comments from electric: (file:///tmp/pana_EMSPZF/lib/taigi/taigi4_allowable_stress.dart:1:1) error: file already written at "electric/index.html" for symbol electric: (file:///tmp/pana_EMSPZF/lib/taigi/taigi4_allowable_stress.dart:1:1) conflicting with file already generated by electric: (file:///tmp/pana_EMSPZF/lib/taigi/taigi4_wind_pressure.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'electric' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [29 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 8 issues. Showing the first 2:
WARNING: Unused import: 'dart:collection'.
lib/utils/unit.dart:1:8
╷
1 │ import 'dart:collection';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/unit.dart
INFO: The variable name 'Lk' isn't a lowerCamelCase identifier.
lib/taigi/taigi4_allowable_stress.dart:36:27
╷
36 │ double calcLamda(double Lk, double i) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/taigi/taigi4_allowable_stress.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
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.17.0 | 1.18.1 | |
vector_math |
- | 2.2.0 | 2.2.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.10, Flutter 3.41.0, Dart 3.11.0.
Check the analysis log for details.