LCOV - code coverage report
Current view: top level - lib/src - tree.dart Hit Total Coverage
Test: lcov.info Lines: 1 2 50.0 %
Date: 2020-11-11 18:24:22

          Line data    Source code
       1             : import 'package:flutter/foundation.dart';
       2             : import 'package:logging/logging.dart' as $logging;
       3             : 
       4             : class Timber {}
       5             : 
       6             : abstract class Tree {
       7             :   /// Whether the VM is running in debug mode.
       8             :   ///
       9             :   /// This is useful to decide whether a report should be sent to sentry. Usually
      10             :   /// reports from dev mode are not very useful, as these happen on developers'
      11             :   /// workspaces rather than on users' devices in production.
      12           1 :   bool get isInDebugMode {
      13             :     // 기본적으로 프로덕션 모드라고 가정합니다.
      14             :     var inDebugMode = false;
      15             : 
      16             :     // Assert 표현식은 개발 단계에서만 사용되며, 프로덕션 모드에서는 무시됩니다.
      17             :     // 그러므로 이 코드는 개발 단계에서만 'inDebugMode'를 true로 설정합니다.
      18           0 :     assert(inDebugMode = true);
      19             : 
      20             :     return inDebugMode;
      21             :   }
      22             : 
      23             :   // coverage:ignore-line
      24             :   void dispose();
      25             : }

Generated by: LCOV version 1.14