light_xml_parser 0.0.1 light_xml_parser: ^0.0.1 copied to clipboard
A lightweight library for parsing.
We analyzed this package 17 hours ago, and awarded it 105 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.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: light_xml_parser
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
pubspec.yaml
from the repository has no repository
or homepage
URL.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
No `CHANGELOG.md` found.
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: GPL-3.0
.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 7 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: light_xml_parser
, light_xml_parser.XMLDocument
, light_xml_parser.XMLDocument.encoding
, light_xml_parser.XMLDocument.XMLDocument.fromString
, light_xml_parser.XMLDocument.XMLDocument.readFromFile
.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:light_xml_parser/light_xml_parser.dart
that imports:package:light_xml_parser/src/xml_document.dart
that imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.
lib/src/xml_document.dart:97:13
╷
97 │ if (lexBuffer.length > 0) {
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/xml_document.dart
INFO: The type name 'TAG_TYPE' isn't an UpperCamelCase identifier.
lib/src/xml_node.dart:1:6
╷
1 │ enum TAG_TYPE { TAG_START, TAG_SELF_CLOSING }
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/xml_node.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
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
Analyzed with Pana 0.22.3
, Dart 3.4.0
.
Check the analysis log for details.