stack_log 1.0.0+1 copy "stack_log: ^1.0.0+1" to clipboard
stack_log: ^1.0.0+1 copied to clipboard

Parser for Google Cloud Logs with syntax highlighting

130/ 160
pub points
30
downloads

We analyzed this package 5 days ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: GPL-3.0.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

0 out of 35 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.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: google_cloud_log_parser, google_cloud_log_parser.ConsoleColors, google_cloud_log_parser.ConsoleColors.ConsoleColors.new, google_cloud_log_parser.ConsoleColors.black, google_cloud_log_parser.ConsoleColors.blue.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:stack_log/stack_log.dart that imports:
  • package:stack_log/src/color_output.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

bin/parser.dart:92:11

   ╷
92 │           textParts.add('<${shortenUserAgent(userAgent)}>');
   │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/parser.dart

/tmp/pana_QBEJUK/bin/highlighter.dart doesn't match the Dart formatter.

To format your files run: dart format .

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.2, Dart 3.10.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
130
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

Parser for Google Cloud Logs with syntax highlighting

Repository (GitHub)
View/report issues

Topics

#cli #parser #syntax-highlighting #code-analysis

Documentation

API reference

License

GPL-3.0 (license)

More

Packages that depend on stack_log