• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / tools / 5773514178
94%

Build:
DEFAULT BRANCH: main
Ran 06 Aug 2023 12:20AM UTC
Jobs 2
Files 8
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Aug 2023 07:03PM UTC coverage: 100.0%. Remained the same
5773514178

push

github

web-flow
Survey handler feature (#109)

* Survey handler functionality to fetch available surveys (#91)

* Add constant for endpoint that stores metadata json file

* Development began on survey handler class with fetch

* Update survey_handler.dart

* Parsing functionality added in `survey_handler`

* Condition class `operator` relabeled to `operatorString`

* `Analytics` test and default constructors to use `SurveyHandler`

* Refactor + cleanup + error handling

* `dart format` fix

* Evaluating functionality added to `Analytics`

* Format fix

* `!=` operator added to `Condition` class

* Refactor for fake survey handler to use list of surveys or string

* Initial test cases added

* Tests added to use json in `FakeSurveyHandler`

* Fix nit

* Early exit if on null `logFileStats`

* Test to check each field in `Survey` and `Condition`

* Documentation update

* No surveys returned for opted out users

* Revert "No surveys returned for opted out users"

This reverts commit f6d9f8e56.

* No surveys for opted out users (#99)

* Check `okToSend` before fetching surveys

* Added test

* dart format fix

* Update CHANGELOG.md

* Mark as dev

* Change version suffix

* `dart fix --apply --code=combinators_ordering`

* Fix `survey_handler.dart` with new lints

* Add'l fixes to survey_handler

* Remove left hand types from `analytics.dart`

* Fix `survey_handler_test.dart` with new lints

* Fix tests with survey_handler class from lint fixes

* `dart format` fix

* Sampling rate functionality added (#122)

* Sampling rate functionality added

* Update tests to have 100% sampling rate

* Tests added to test sampling rate

* Update survey_handler_test.dart

* Fix type for `jsonDecode`

* New utility function to convert string into integer

* Fix tests with new outputs for sample rate

* Use uniqueId for survey instead of description

* Add hyphen to... (continued)

244 of 244 relevant lines covered (100.0%)

2.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 cli_config_linux - 5773514178.1 06 Aug 2023 12:20AM UTC 8
100.0
GitHub Action Run
2 cli_config_windows - 5773514178.2 06 Aug 2023 12:20AM UTC 8
100.0
GitHub Action Run
Source Files on build 5773514178
  • Tree
  • List 8
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #5773514178
  • 921611ac on github
  • Prev Build on main (#5722981745)
  • Next Build on main (#5781968385)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc