dart_pptx 0.1.3
dart_pptx: ^0.1.3 copied to clipboard
A package for creating pptx files from markdown or slide templates.
We analyzed this package 11 hours ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: dart_pptx.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: dart_pptx, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Funding URL doesn't exist.
At the time of the analysis https://www.buymeacoffee.com/rodydavis was unreachable. Make sure that the website is reachable via HEAD requests.
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: Apache-2.0.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 228 API elements (0.9 %) 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.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: dart_pptx.Assets, dart_pptx.Assets.Assets.new, dart_pptx.Assets.cache, dart_pptx.Assets.clearCache, dart_pptx.Assets.client.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:dart_pptx/dart_pptx.dartthat imports:package:dart_pptx/src/context.dartthat imports:package:dart_pptx/src/compression.dartthat imports:package:dart_pptx/src/archive/create_zip.dartthat imports:package:dart_pptx/src/archive/zip_file_encoder.dartthat imports:package:dart_pptx/src/archive/output_file_stream.dartthat imports:package:file/file.dartthat imports:package:file/src/interface.dartthat imports:package:file/src/io.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:dart_pptx/dart_pptx.dartthat imports:package:dart_pptx/src/context.dartthat imports:package:dart_pptx/src/compression.dartthat imports:package:dart_pptx/src/archive/create_zip.dartthat imports:package:dart_pptx/src/archive/zip_file_encoder.dartthat imports:package:dart_pptx/src/archive/output_file_stream.dartthat imports:package:file/file.dartthat imports:package:file/src/interface.dartthat imports:package:file/src/io.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 71 issues. Showing the first 2:
INFO: 'getSize' is deprecated and shouldn't be used. Use getSizeResult instead. This method will be removed in the next major version.
lib/src/assets/web.dart:69:28
╷
69 │ return ImageSizeGetter.getSize(MemoryInput(data));
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/assets/web.dart
INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.
lib/src/classes/arc.dart:70:44
╷
70 │ final related = slide.imageRefs.values.whereNotNull().toList();
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/classes/arc.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^3.4.2 |
3.6.1 | 4.0.7 | |
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
file |
^7.0.0 |
7.0.1 | 7.0.1 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
image_size_getter |
^2.1.2 |
2.4.1 | 2.4.1 | |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
mustache_template |
^2.0.0 |
2.0.2 | 2.0.2 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 | |
recase |
^4.1.0 |
4.1.0 | 4.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
hashcodes |
- | 2.0.0 | 2.0.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.17.0 | 1.17.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.4.2` on archive does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions archive 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.5, Dart 3.10.7.
Check the analysis log for details.