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

Duit-Foundation / flutter_duit / 21026233449

15 Jan 2026 09:26AM UTC coverage: 80.184% (-8.3%) from 88.441%
21026233449

push

github

web-flow
feat: Capability-based API migration pt2 (#323)

162 of 408 new or added lines in 23 files covered. (39.71%)

328 existing lines in 17 files now uncovered.

4354 of 5430 relevant lines covered (80.18%)

34.33 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

55.56
/lib/src/capabilities/scripting_capability_impl.dart
1
import "package:duit_kernel/duit_kernel.dart";
2

3
final class DuitStubScriptingManager with ScriptingCapabilityDelegate {
4
  late final UIDriver _driver;
5

NEW
6
  @override
×
7
  Future<void> evalScript(String source) async {
NEW
8
    _driver.logWarning(
×
9
      "evalScript method is not implemented for stub scripting",
10
    );
11
  }
12

NEW
13
  @override
×
14
  Future<Map<String, dynamic>?> execScript(
15
    String functionName, {
16
    String? url,
17
    Map<String, dynamic>? meta,
18
    Map<String, dynamic>? body,
19
  }) async {
NEW
20
    _driver.logWarning(
×
21
      "execScript method is not implemented for stub scripting",
22
    );
23
    return null;
24
  }
25

26
  @override
340✔
27
  Future<void> initScriptingCapability() async {
28
    _driver.logInfo(
680✔
29
      "used stub scripting capability, scripts execution is disabled",
30
    );
31
  }
32

33
  @override
348✔
34
  void linkDriver(UIDriver driver) => _driver = driver;
348✔
35

36
  @override
4✔
37
  @preferInline
38
  void releaseResources() {}
39
}
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

© 2026 Coveralls, Inc