Skip to content

chore: fix analyze in Dart and Hive #3174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

buenaflor
Copy link
Contributor

@buenaflor buenaflor commented Aug 14, 2025

Fixes analyze errors in Dart and Hive

#skip-changelog

Copy link

codecov bot commented Aug 14, 2025

Codecov Report

❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 87.78%. Comparing base (3a1ba4d) to head (c496316).

Files with missing lines Patch % Lines
...ckages/dart/lib/src/protocol/access_aware_map.dart 83.33% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3174   +/-   ##
=======================================
  Coverage   87.78%   87.78%           
=======================================
  Files         291      291           
  Lines        9896     9896           
=======================================
  Hits         8687     8687           
  Misses       1209     1209           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@buenaflor buenaflor changed the title chore: fix analyze chore: fix analyze in Dart and Hive Aug 14, 2025
Copy link
Contributor

Android Performance metrics 🚀

  Plain With Sentry Diff
Startup time 455.69 ms 484.15 ms 28.45 ms
Size 6.54 MiB 7.70 MiB 1.17 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
e2d675d 457.92 ms 529.17 ms 71.25 ms
6f47800 451.04 ms 509.64 ms 58.60 ms
79f6b41 469.66 ms 525.90 ms 56.24 ms
0fb3800 465.64 ms 536.77 ms 71.13 ms
cc4e375 426.15 ms 482.34 ms 56.19 ms
f761369 462.73 ms 563.80 ms 101.06 ms
de377fd 572.35 ms 589.21 ms 16.87 ms
6b69699 456.06 ms 557.44 ms 101.38 ms
0fb45d0 482.79 ms 554.02 ms 71.23 ms
827bf09 475.40 ms 547.14 ms 71.74 ms

App size

Revision Plain With Sentry Diff
e2d675d 6.54 MiB 7.69 MiB 1.15 MiB
6f47800 6.54 MiB 7.69 MiB 1.15 MiB
79f6b41 6.54 MiB 7.69 MiB 1.15 MiB
0fb3800 6.54 MiB 7.69 MiB 1.15 MiB
cc4e375 6.54 MiB 7.69 MiB 1.15 MiB
f761369 6.54 MiB 7.70 MiB 1.16 MiB
de377fd 6.54 MiB 7.71 MiB 1.17 MiB
6b69699 6.54 MiB 7.70 MiB 1.17 MiB
0fb45d0 6.54 MiB 7.70 MiB 1.17 MiB
827bf09 6.54 MiB 7.53 MiB 1015.27 KiB

@@ -3,24 +3,24 @@ import 'dart:collection';
import 'package:meta/meta.dart';

@internal
class AccessAwareMap<String, V> extends MapBase<String, V> {
class AccessAwareMap<K, V> extends MapBase<K, V> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wh is this needed? The key is supposed to be string indexed.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

class AccessAwareMap extends MapBase<String, V> {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants