From 091bd4e823afc674b17ab1aab8e1d2c074e9f3fe Mon Sep 17 00:00:00 2001 From: Roman Cinis <52065414+tsinis@users.noreply.github.com> Date: Sun, 11 Sep 2022 10:32:04 +0200 Subject: [PATCH] test: remove coverage dir --- analog_clock/coverage/html/amber.png | Bin 141 -> 0 bytes analog_clock/coverage/html/emerald.png | Bin 141 -> 0 bytes analog_clock/coverage/html/gcov.css | 519 ------------------ analog_clock/coverage/html/glass.png | Bin 167 -> 0 bytes analog_clock/coverage/html/index-sort-f.html | 93 ---- analog_clock/coverage/html/index-sort-l.html | 93 ---- analog_clock/coverage/html/index.html | 93 ---- .../lib/analog_clock.dart.func-sort-c.html | 72 --- .../html/lib/analog_clock.dart.func.html | 72 --- .../html/lib/analog_clock.dart.gcov.html | 132 ----- .../coverage/html/lib/index-sort-f.html | 123 ----- .../coverage/html/lib/index-sort-l.html | 123 ----- analog_clock/coverage/html/lib/index.html | 123 ----- .../html/lib/main.dart.func-sort-c.html | 72 --- .../coverage/html/lib/main.dart.func.html | 72 --- .../coverage/html/lib/main.dart.gcov.html | 120 ---- ...emperature_converter.dart.func-sort-c.html | 72 --- .../lib/temperature_converter.dart.func.html | 72 --- .../lib/temperature_converter.dart.gcov.html | 99 ---- ...animation_controller.dart.func-sort-c.html | 72 --- .../time_animation_controller.dart.func.html | 72 --- .../time_animation_controller.dart.gcov.html | 178 ------ analog_clock/coverage/html/ruby.png | Bin 141 -> 0 bytes analog_clock/coverage/html/snow.png | Bin 141 -> 0 bytes analog_clock/coverage/html/updown.png | Bin 117 -> 0 bytes 25 files changed, 2272 deletions(-) delete mode 100644 analog_clock/coverage/html/amber.png delete mode 100644 analog_clock/coverage/html/emerald.png delete mode 100644 analog_clock/coverage/html/gcov.css delete mode 100644 analog_clock/coverage/html/glass.png delete mode 100644 analog_clock/coverage/html/index-sort-f.html delete mode 100644 analog_clock/coverage/html/index-sort-l.html delete mode 100644 analog_clock/coverage/html/index.html delete mode 100644 analog_clock/coverage/html/lib/analog_clock.dart.func-sort-c.html delete mode 100644 analog_clock/coverage/html/lib/analog_clock.dart.func.html delete mode 100644 analog_clock/coverage/html/lib/analog_clock.dart.gcov.html delete mode 100644 analog_clock/coverage/html/lib/index-sort-f.html delete mode 100644 analog_clock/coverage/html/lib/index-sort-l.html delete mode 100644 analog_clock/coverage/html/lib/index.html delete mode 100644 analog_clock/coverage/html/lib/main.dart.func-sort-c.html delete mode 100644 analog_clock/coverage/html/lib/main.dart.func.html delete mode 100644 analog_clock/coverage/html/lib/main.dart.gcov.html delete mode 100644 analog_clock/coverage/html/lib/temperature_converter.dart.func-sort-c.html delete mode 100644 analog_clock/coverage/html/lib/temperature_converter.dart.func.html delete mode 100644 analog_clock/coverage/html/lib/temperature_converter.dart.gcov.html delete mode 100644 analog_clock/coverage/html/lib/time_animation_controller.dart.func-sort-c.html delete mode 100644 analog_clock/coverage/html/lib/time_animation_controller.dart.func.html delete mode 100644 analog_clock/coverage/html/lib/time_animation_controller.dart.gcov.html delete mode 100644 analog_clock/coverage/html/ruby.png delete mode 100644 analog_clock/coverage/html/snow.png delete mode 100644 analog_clock/coverage/html/updown.png diff --git a/analog_clock/coverage/html/amber.png b/analog_clock/coverage/html/amber.png deleted file mode 100644 index 2cab170d8359081983a4e343848dfe06bc490f12..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 141 zcmeAS@N?(olHy`uVBq!ia0vp^j3CU&3?x-=hn)ga>?NMQuI!iC1^G2tW}LqE04T&+ z;1OBOz`!j8!i<;h*8KqrvZOouIx;Y9?C1WI$O`1M1^9%x{(levWG?NMQuI!iC1^Jb!lvI6;R0X`wF(yt=9xVZRt1vCRixIA4P dLn>}1Cji+@42)0J?}79&c)I$ztaD0e0sy@GAL0N2 diff --git a/analog_clock/coverage/html/gcov.css b/analog_clock/coverage/html/gcov.css deleted file mode 100644 index 0fcdff1..0000000 --- a/analog_clock/coverage/html/gcov.css +++ /dev/null @@ -1,519 +0,0 @@ -/* All views: initial background and text color */ -body -{ - color: #000000; - background-color: #ffffff; -} - -/* All views: standard link format*/ -a:link -{ - color: #284fa8; - text-decoration: underline; -} - -/* All views: standard link - visited format */ -a:visited -{ - color: #00cb40; - text-decoration: underline; -} - -/* All views: standard link - activated format */ -a:active -{ - color: #ff0040; - text-decoration: underline; -} - -/* All views: main title format */ -td.title -{ - text-align: center; - padding-bottom: 10px; - font-family: sans-serif; - font-size: 20pt; - font-style: italic; - font-weight: bold; -} - -/* All views: header item format */ -td.headerItem -{ - text-align: right; - padding-right: 6px; - font-family: sans-serif; - font-weight: bold; - vertical-align: top; - white-space: nowrap; -} - -/* All views: header item value format */ -td.headerValue -{ - text-align: left; - color: #284fa8; - font-family: sans-serif; - font-weight: bold; - white-space: nowrap; -} - -/* All views: header item coverage table heading */ -td.headerCovTableHead -{ - text-align: center; - padding-right: 6px; - padding-left: 6px; - padding-bottom: 0px; - font-family: sans-serif; - font-size: 80%; - white-space: nowrap; -} - -/* All views: header item coverage table entry */ -td.headerCovTableEntry -{ - text-align: right; - color: #284fa8; - font-family: sans-serif; - font-weight: bold; - white-space: nowrap; - padding-left: 12px; - padding-right: 4px; - background-color: #dae7fe; -} - -/* All views: header item coverage table entry for high coverage rate */ -td.headerCovTableEntryHi -{ - text-align: right; - color: #000000; - font-family: sans-serif; - font-weight: bold; - white-space: nowrap; - padding-left: 12px; - padding-right: 4px; - background-color: #a7fc9d; -} - -/* All views: header item coverage table entry for medium coverage rate */ -td.headerCovTableEntryMed -{ - text-align: right; - color: #000000; - font-family: sans-serif; - font-weight: bold; - white-space: nowrap; - padding-left: 12px; - padding-right: 4px; - background-color: #ffea20; -} - -/* All views: header item coverage table entry for ow coverage rate */ -td.headerCovTableEntryLo -{ - text-align: right; - color: #000000; - font-family: sans-serif; - font-weight: bold; - white-space: nowrap; - padding-left: 12px; - padding-right: 4px; - background-color: #ff0000; -} - -/* All views: header legend value for legend entry */ -td.headerValueLeg -{ - text-align: left; - color: #000000; - font-family: sans-serif; - font-size: 80%; - white-space: nowrap; - padding-top: 4px; -} - -/* All views: color of horizontal ruler */ -td.ruler -{ - background-color: #6688d4; -} - -/* All views: version string format */ -td.versionInfo -{ - text-align: center; - padding-top: 2px; - font-family: sans-serif; - font-style: italic; -} - -/* Directory view/File view (all)/Test case descriptions: - table headline format */ -td.tableHead -{ - text-align: center; - color: #ffffff; - background-color: #6688d4; - font-family: sans-serif; - font-size: 120%; - font-weight: bold; - white-space: nowrap; - padding-left: 4px; - padding-right: 4px; -} - -span.tableHeadSort -{ - padding-right: 4px; -} - -/* Directory view/File view (all): filename entry format */ -td.coverFile -{ - text-align: left; - padding-left: 10px; - padding-right: 20px; - color: #284fa8; - background-color: #dae7fe; - font-family: monospace; -} - -/* Directory view/File view (all): bar-graph entry format*/ -td.coverBar -{ - padding-left: 10px; - padding-right: 10px; - background-color: #dae7fe; -} - -/* Directory view/File view (all): bar-graph outline color */ -td.coverBarOutline -{ - background-color: #000000; -} - -/* Directory view/File view (all): percentage entry for files with - high coverage rate */ -td.coverPerHi -{ - text-align: right; - padding-left: 10px; - padding-right: 10px; - background-color: #a7fc9d; - font-weight: bold; - font-family: sans-serif; -} - -/* Directory view/File view (all): line count entry for files with - high coverage rate */ -td.coverNumHi -{ - text-align: right; - padding-left: 10px; - padding-right: 10px; - background-color: #a7fc9d; - white-space: nowrap; - font-family: sans-serif; -} - -/* Directory view/File view (all): percentage entry for files with - medium coverage rate */ -td.coverPerMed -{ - text-align: right; - padding-left: 10px; - padding-right: 10px; - background-color: #ffea20; - font-weight: bold; - font-family: sans-serif; -} - -/* Directory view/File view (all): line count entry for files with - medium coverage rate */ -td.coverNumMed -{ - text-align: right; - padding-left: 10px; - padding-right: 10px; - background-color: #ffea20; - white-space: nowrap; - font-family: sans-serif; -} - -/* Directory view/File view (all): percentage entry for files with - low coverage rate */ -td.coverPerLo -{ - text-align: right; - padding-left: 10px; - padding-right: 10px; - background-color: #ff0000; - font-weight: bold; - font-family: sans-serif; -} - -/* Directory view/File view (all): line count entry for files with - low coverage rate */ -td.coverNumLo -{ - text-align: right; - padding-left: 10px; - padding-right: 10px; - background-color: #ff0000; - white-space: nowrap; - font-family: sans-serif; -} - -/* File view (all): "show/hide details" link format */ -a.detail:link -{ - color: #B8D0FF; - font-size:80%; -} - -/* File view (all): "show/hide details" link - visited format */ -a.detail:visited -{ - color: #B8D0FF; - font-size:80%; -} - -/* File view (all): "show/hide details" link - activated format */ -a.detail:active -{ - color: #ffffff; - font-size:80%; -} - -/* File view (detail): test name entry */ -td.testName -{ - text-align: right; - padding-right: 10px; - background-color: #dae7fe; - font-family: sans-serif; -} - -/* File view (detail): test percentage entry */ -td.testPer -{ - text-align: right; - padding-left: 10px; - padding-right: 10px; - background-color: #dae7fe; - font-family: sans-serif; -} - -/* File view (detail): test lines count entry */ -td.testNum -{ - text-align: right; - padding-left: 10px; - padding-right: 10px; - background-color: #dae7fe; - font-family: sans-serif; -} - -/* Test case descriptions: test name format*/ -dt -{ - font-family: sans-serif; - font-weight: bold; -} - -/* Test case descriptions: description table body */ -td.testDescription -{ - padding-top: 10px; - padding-left: 30px; - padding-bottom: 10px; - padding-right: 30px; - background-color: #dae7fe; -} - -/* Source code view: function entry */ -td.coverFn -{ - text-align: left; - padding-left: 10px; - padding-right: 20px; - color: #284fa8; - background-color: #dae7fe; - font-family: monospace; -} - -/* Source code view: function entry zero count*/ -td.coverFnLo -{ - text-align: right; - padding-left: 10px; - padding-right: 10px; - background-color: #ff0000; - font-weight: bold; - font-family: sans-serif; -} - -/* Source code view: function entry nonzero count*/ -td.coverFnHi -{ - text-align: right; - padding-left: 10px; - padding-right: 10px; - background-color: #dae7fe; - font-weight: bold; - font-family: sans-serif; -} - -/* Source code view: source code format */ -pre.source -{ - font-family: monospace; - white-space: pre; - margin-top: 2px; -} - -/* Source code view: line number format */ -span.lineNum -{ - background-color: #efe383; -} - -/* Source code view: format for lines which were executed */ -td.lineCov, -span.lineCov -{ - background-color: #cad7fe; -} - -/* Source code view: format for Cov legend */ -span.coverLegendCov -{ - padding-left: 10px; - padding-right: 10px; - padding-bottom: 2px; - background-color: #cad7fe; -} - -/* Source code view: format for lines which were not executed */ -td.lineNoCov, -span.lineNoCov -{ - background-color: #ff6230; -} - -/* Source code view: format for NoCov legend */ -span.coverLegendNoCov -{ - padding-left: 10px; - padding-right: 10px; - padding-bottom: 2px; - background-color: #ff6230; -} - -/* Source code view (function table): standard link - visited format */ -td.lineNoCov > a:visited, -td.lineCov > a:visited -{ - color: #000000; - text-decoration: underline; -} - -/* Source code view: format for lines which were executed only in a - previous version */ -span.lineDiffCov -{ - background-color: #b5f7af; -} - -/* Source code view: format for branches which were executed - * and taken */ -span.branchCov -{ - background-color: #cad7fe; -} - -/* Source code view: format for branches which were executed - * but not taken */ -span.branchNoCov -{ - background-color: #ff6230; -} - -/* Source code view: format for branches which were not executed */ -span.branchNoExec -{ - background-color: #ff6230; -} - -/* Source code view: format for the source code heading line */ -pre.sourceHeading -{ - white-space: pre; - font-family: monospace; - font-weight: bold; - margin: 0px; -} - -/* All views: header legend value for low rate */ -td.headerValueLegL -{ - font-family: sans-serif; - text-align: center; - white-space: nowrap; - padding-left: 4px; - padding-right: 2px; - background-color: #ff0000; - font-size: 80%; -} - -/* All views: header legend value for med rate */ -td.headerValueLegM -{ - font-family: sans-serif; - text-align: center; - white-space: nowrap; - padding-left: 2px; - padding-right: 2px; - background-color: #ffea20; - font-size: 80%; -} - -/* All views: header legend value for hi rate */ -td.headerValueLegH -{ - font-family: sans-serif; - text-align: center; - white-space: nowrap; - padding-left: 2px; - padding-right: 4px; - background-color: #a7fc9d; - font-size: 80%; -} - -/* All views except source code view: legend format for low coverage */ -span.coverLegendCovLo -{ - padding-left: 10px; - padding-right: 10px; - padding-top: 2px; - background-color: #ff0000; -} - -/* All views except source code view: legend format for med coverage */ -span.coverLegendCovMed -{ - padding-left: 10px; - padding-right: 10px; - padding-top: 2px; - background-color: #ffea20; -} - -/* All views except source code view: legend format for hi coverage */ -span.coverLegendCovHi -{ - padding-left: 10px; - padding-right: 10px; - padding-top: 2px; - background-color: #a7fc9d; -} diff --git a/analog_clock/coverage/html/glass.png b/analog_clock/coverage/html/glass.png deleted file mode 100644 index e1abc00680a3093c49fdb775ae6bdb6764c95af2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 167 zcmeAS@N?(olHy`uVBq!ia0vp^j3CU&3?x-=hn)gaEa{HEjtmSN`?>!lvI6;R0X`wF z|Ns97GD8ntt^-nxB|(0{3=Yq3q=7g|-tI089jvk*Kn`btM`SSr1Gf+eGhVt|_XjA* zUgGKN%6^Gmn4d%Ph(nkFP>9RZ#WAE}PI3Z}&BVayv3^M*kj3EX>gTe~DWM4f=_Dpv diff --git a/analog_clock/coverage/html/index-sort-f.html b/analog_clock/coverage/html/index-sort-f.html deleted file mode 100644 index 7b5b6f1..0000000 --- a/analog_clock/coverage/html/index-sort-f.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - LCOV - lcov.info - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top levelHitTotalCoverage
Test:lcov.infoLines:5252100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - -

Directory Sort by nameLine Coverage Sort by line coverageFunctions Sort by function coverage
lib -
100.0%
-
100.0 %52 / 52-0 / 0
-
-
- - - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/index-sort-l.html b/analog_clock/coverage/html/index-sort-l.html deleted file mode 100644 index 320c6de..0000000 --- a/analog_clock/coverage/html/index-sort-l.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - LCOV - lcov.info - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top levelHitTotalCoverage
Test:lcov.infoLines:5252100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - -

Directory Sort by nameLine Coverage Sort by line coverageFunctions Sort by function coverage
lib -
100.0%
-
100.0 %52 / 52-0 / 0
-
-
- - - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/index.html b/analog_clock/coverage/html/index.html deleted file mode 100644 index 0604e03..0000000 --- a/analog_clock/coverage/html/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - LCOV - lcov.info - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top levelHitTotalCoverage
Test:lcov.infoLines:5252100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - -

Directory Sort by nameLine Coverage Sort by line coverageFunctions Sort by function coverage
lib -
100.0%
-
100.0 %52 / 52-0 / 0
-
-
- - - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/analog_clock.dart.func-sort-c.html b/analog_clock/coverage/html/lib/analog_clock.dart.func-sort-c.html deleted file mode 100644 index 7858abc..0000000 --- a/analog_clock/coverage/html/lib/analog_clock.dart.func-sort-c.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - LCOV - lcov.info - lib/analog_clock.dart - functions - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - lib - analog_clock.dart (source / functions)HitTotalCoverage
Test:lcov.infoLines:1515100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- -
- - - - - - -

Function Name Sort by function nameHit count Sort by hit count
-
-
- - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/analog_clock.dart.func.html b/analog_clock/coverage/html/lib/analog_clock.dart.func.html deleted file mode 100644 index 8635878..0000000 --- a/analog_clock/coverage/html/lib/analog_clock.dart.func.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - LCOV - lcov.info - lib/analog_clock.dart - functions - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - lib - analog_clock.dart (source / functions)HitTotalCoverage
Test:lcov.infoLines:1515100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- -
- - - - - - -

Function Name Sort by function nameHit count Sort by hit count
-
-
- - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/analog_clock.dart.gcov.html b/analog_clock/coverage/html/lib/analog_clock.dart.gcov.html deleted file mode 100644 index 5ab3ac9..0000000 --- a/analog_clock/coverage/html/lib/analog_clock.dart.gcov.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - LCOV - lcov.info - lib/analog_clock.dart - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - lib - analog_clock.dart (source / functions)HitTotalCoverage
Test:lcov.infoLines:1515100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- - - - - - - - -

-
          Line data    Source code
-
-       1             : // Copyright 2022, Roman Cinis. All rights reserved.
-       2             : // Use of this source code is governed by a BSD-style license that can be
-       3             : // found in the LICENSE file.
-       4             : 
-       5             : import 'package:flare_flutter/asset_provider.dart';
-       6             : import 'package:flare_flutter/flare_actor.dart';
-       7             : import 'package:flare_flutter/flare_cache_builder.dart';
-       8             : import 'package:flare_flutter/provider/asset_flare.dart';
-       9             : import 'package:flutter/material.dart';
-      10             : import 'package:flutter/services.dart' show rootBundle;
-      11             : import 'package:flutter_clock_helper/model.dart';
-      12             : 
-      13             : import 'time_animation_controller.dart';
-      14             : 
-      15             : /// Animation asset to cache and pass into [FlareActor].
-      16           6 : final AssetProvider assetProvider = AssetFlare(
-      17             :   name: 'assets/FlutterClock.flr',
-      18           2 :   bundle: rootBundle,
-      19             : );
-      20             : 
-      21             : /// Most code here comes as default Google code for analog clock and working
-      22             : /// with their helper package. Adding Rive (Flare) animation Controller, changes
-      23             : /// are just in those two methods: _updateModel (slightly) + build (completely).
-      24             : class AnalogClock extends StatelessWidget {
-      25             :   final ClockModel _model;
-      26             : 
-      27             :   /// Requires selected [ClockModel] to pass in animation and manage it there.
-      28           4 :   const AnalogClock(this._model, {Key? key}) : super(key: key);
-      29             : 
-      30           2 :   @override
-      31           2 :   Widget build(BuildContext context) => ColoredBox(
-      32           2 :         color: Color(
-      33           6 :           Theme.of(context).brightness == Brightness.light
-      34             :               ? 0xFFD1C6BD
-      35             :               : 0xFF291C13,
-      36             :         ),
-      37           2 :         child: FlareCacheBuilder(
-      38           4 :           [assetProvider],
-      39           2 :           builder: (_, isWarm) => !isWarm
-      40             : 
-      41             :               /// Show loading indicator if animation is not cached yet.
-      42           1 :               ? Center(
-      43           1 :                   child: CircularProgressIndicator(
-      44           1 :                     backgroundColor: Colors.brown[200],
-      45             :                   ),
-      46             :                 )
-      47             : 
-      48             :               /// Loop background animation & control others in Controller.
-      49           2 :               : FlareActor(
-      50             :                   'assets/FlutterClock.flr',
-      51             :                   animation: 'background',
-      52           4 :                   controller: TimeAnimationController(_model),
-      53             :                 ),
-      54             :         ),
-      55             :       );
-      56             : }
-
-
-
- - - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/index-sort-f.html b/analog_clock/coverage/html/lib/index-sort-f.html deleted file mode 100644 index 6dd51ad..0000000 --- a/analog_clock/coverage/html/lib/index-sort-f.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - LCOV - lcov.info - lib - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - libHitTotalCoverage
Test:lcov.infoLines:5252100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Filename Sort by nameLine Coverage Sort by line coverageFunctions Sort by function coverage
analog_clock.dart -
100.0%
-
100.0 %15 / 15-0 / 0
temperature_converter.dart -
100.0%
-
100.0 %4 / 4-0 / 0
time_animation_controller.dart -
100.0%
-
100.0 %26 / 26-0 / 0
main.dart -
100.0%
-
100.0 %7 / 7-0 / 0
-
-
- - - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/index-sort-l.html b/analog_clock/coverage/html/lib/index-sort-l.html deleted file mode 100644 index 98cb4f1..0000000 --- a/analog_clock/coverage/html/lib/index-sort-l.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - LCOV - lcov.info - lib - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - libHitTotalCoverage
Test:lcov.infoLines:5252100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Filename Sort by nameLine Coverage Sort by line coverageFunctions Sort by function coverage
temperature_converter.dart -
100.0%
-
100.0 %4 / 4-0 / 0
main.dart -
100.0%
-
100.0 %7 / 7-0 / 0
analog_clock.dart -
100.0%
-
100.0 %15 / 15-0 / 0
time_animation_controller.dart -
100.0%
-
100.0 %26 / 26-0 / 0
-
-
- - - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/index.html b/analog_clock/coverage/html/lib/index.html deleted file mode 100644 index 5189c31..0000000 --- a/analog_clock/coverage/html/lib/index.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - LCOV - lcov.info - lib - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - libHitTotalCoverage
Test:lcov.infoLines:5252100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Filename Sort by nameLine Coverage Sort by line coverageFunctions Sort by function coverage
analog_clock.dart -
100.0%
-
100.0 %15 / 15-0 / 0
main.dart -
100.0%
-
100.0 %7 / 7-0 / 0
temperature_converter.dart -
100.0%
-
100.0 %4 / 4-0 / 0
time_animation_controller.dart -
100.0%
-
100.0 %26 / 26-0 / 0
-
-
- - - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/main.dart.func-sort-c.html b/analog_clock/coverage/html/lib/main.dart.func-sort-c.html deleted file mode 100644 index 39ecabc..0000000 --- a/analog_clock/coverage/html/lib/main.dart.func-sort-c.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - LCOV - lcov.info - lib/main.dart - functions - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - lib - main.dart (source / functions)HitTotalCoverage
Test:lcov.infoLines:77100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- -
- - - - - - -

Function Name Sort by function nameHit count Sort by hit count
-
-
- - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/main.dart.func.html b/analog_clock/coverage/html/lib/main.dart.func.html deleted file mode 100644 index 1c2f8ce..0000000 --- a/analog_clock/coverage/html/lib/main.dart.func.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - LCOV - lcov.info - lib/main.dart - functions - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - lib - main.dart (source / functions)HitTotalCoverage
Test:lcov.infoLines:77100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- -
- - - - - - -

Function Name Sort by function nameHit count Sort by hit count
-
-
- - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/main.dart.gcov.html b/analog_clock/coverage/html/lib/main.dart.gcov.html deleted file mode 100644 index 8c15e7c..0000000 --- a/analog_clock/coverage/html/lib/main.dart.gcov.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - LCOV - lcov.info - lib/main.dart - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - lib - main.dart (source / functions)HitTotalCoverage
Test:lcov.infoLines:77100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- - - - - - - - -

-
          Line data    Source code
-
-       1             : // Copyright 2022, Roman Cinis. All rights reserved.
-       2             : // Use of this source code is governed by a BSD-style license that can be
-       3             : // found in the LICENSE file.
-       4             : 
-       5             : import 'package:flare_flutter/flare_cache.dart';
-       6             : import 'package:flare_flutter/flare_cache_asset.dart';
-       7             : import 'package:flutter/material.dart' show WidgetsFlutterBinding, runApp;
-       8             : import 'package:flutter/services.dart';
-       9             : import 'package:flutter_clock_helper/customizer.dart';
-      10             : 
-      11             : import 'analog_clock.dart';
-      12             : 
-      13             : /// Application entry point, default to all Dart/Flutter projects.
-      14           2 : Future<FlareCacheAsset> main() async {
-      15             :   /// Newer versions of Flutter require initializing widget-flutter
-      16             :   /// binding prior to warming up the animation cache.
-      17           2 :   WidgetsFlutterBinding.ensureInitialized();
-      18             : 
-      19             :   /// Don't prune the Rive (ex Flare) cache, keep loaded animation
-      20             :   /// files warm and ready to be re-displayed.
-      21             :   FlareCache.doesPrune = false;
-      22             : 
-      23             :   /// Warm the animation cache up so we can return it later,
-      24             :   /// for testing purposes only.
-      25           4 :   final cache = await cachedActor(assetProvider);
-      26             : 
-      27             :   /// Run clock in full-screen mode.
-      28           2 :   await SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
-      29             : 
-      30             :   /// Run clock in landscape mode.
-      31           2 :   await SystemChrome.setPreferredOrientations(
-      32           2 :     [DeviceOrientation.landscapeRight, DeviceOrientation.landscapeLeft],
-      33             :   );
-      34             : 
-      35             :   /// This creates a clock that enables you to customize it.
-      36             :   ///
-      37             :   /// The [ClockCustomizer] takes in a [ClockBuilder] that consists of:
-      38             :   ///  - A clock widget (in this case, [AnalogClock])
-      39             :   ///  - A model (provided to you by [ClockModel])
-      40             :   /// For more information, see the flutter_clock_helper package
-      41           2 :   runApp(const ClockCustomizer(AnalogClock.new));
-      42             : 
-      43             :   return cache;
-      44             : }
-
-
-
- - - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/temperature_converter.dart.func-sort-c.html b/analog_clock/coverage/html/lib/temperature_converter.dart.func-sort-c.html deleted file mode 100644 index 0eed8a5..0000000 --- a/analog_clock/coverage/html/lib/temperature_converter.dart.func-sort-c.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - LCOV - lcov.info - lib/temperature_converter.dart - functions - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - lib - temperature_converter.dart (source / functions)HitTotalCoverage
Test:lcov.infoLines:44100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- -
- - - - - - -

Function Name Sort by function nameHit count Sort by hit count
-
-
- - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/temperature_converter.dart.func.html b/analog_clock/coverage/html/lib/temperature_converter.dart.func.html deleted file mode 100644 index f06c856..0000000 --- a/analog_clock/coverage/html/lib/temperature_converter.dart.func.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - LCOV - lcov.info - lib/temperature_converter.dart - functions - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - lib - temperature_converter.dart (source / functions)HitTotalCoverage
Test:lcov.infoLines:44100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- -
- - - - - - -

Function Name Sort by function nameHit count Sort by hit count
-
-
- - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/temperature_converter.dart.gcov.html b/analog_clock/coverage/html/lib/temperature_converter.dart.gcov.html deleted file mode 100644 index 360350f..0000000 --- a/analog_clock/coverage/html/lib/temperature_converter.dart.gcov.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - LCOV - lcov.info - lib/temperature_converter.dart - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - lib - temperature_converter.dart (source / functions)HitTotalCoverage
Test:lcov.infoLines:44100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- - - - - - - - -

-
          Line data    Source code
-
-       1             : // Copyright 2022, Roman Cinis. All rights reserved.
-       2             : // Use of this source code is governed by a BSD-style license that can be
-       3             : // found in the LICENSE file.
-       4             : 
-       5             : import 'dart:math' show max;
-       6             : 
-       7             : import 'package:flutter_clock_helper/model.dart' show TemperatureUnit;
-       8             : 
-       9             : /// Function will process temperature from Helper package in any unit
-      10             : /// and return result as Y axis coordinate for mercury node on artboard.
-      11           3 : double mercuryPosition(num temperature, [TemperatureUnit? unit]) {
-      12             :   // Detect temperature unit, since Fahrenheit requires conversion.
-      13           3 :   final isFahrenheit = unit == TemperatureUnit.fahrenheit;
-      14             :   // Switching any temperature to Celsius and converting it to [double] value.
-      15           3 :   final degrees = isFahrenheit ? (temperature - 32) * 5 / 9 : temperature;
-      16             : 
-      17             :   // Thermometer is physical device, so mercury is not infinity, it cannot go
-      18             :   // bellow zero coordinate, let's limit it to zero. 60 = 60°C (highest shown
-      19             :   // temperature on thermometer); 2.35 is simplified formula of this:
-      20             :   // 223 (lowest coordinate of -40° bar) divided by sum of Celsius
-      21             :   // temperature range (95). Coordinate should not be a negative number.
-      22          12 :   return max(0, (degrees - 60) * -2.35);
-      23             : }
-
-
-
- - - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/time_animation_controller.dart.func-sort-c.html b/analog_clock/coverage/html/lib/time_animation_controller.dart.func-sort-c.html deleted file mode 100644 index 89a7475..0000000 --- a/analog_clock/coverage/html/lib/time_animation_controller.dart.func-sort-c.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - LCOV - lcov.info - lib/time_animation_controller.dart - functions - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - lib - time_animation_controller.dart (source / functions)HitTotalCoverage
Test:lcov.infoLines:2626100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- -
- - - - - - -

Function Name Sort by function nameHit count Sort by hit count
-
-
- - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/time_animation_controller.dart.func.html b/analog_clock/coverage/html/lib/time_animation_controller.dart.func.html deleted file mode 100644 index bbd9492..0000000 --- a/analog_clock/coverage/html/lib/time_animation_controller.dart.func.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - LCOV - lcov.info - lib/time_animation_controller.dart - functions - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - lib - time_animation_controller.dart (source / functions)HitTotalCoverage
Test:lcov.infoLines:2626100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- -
- - - - - - -

Function Name Sort by function nameHit count Sort by hit count
-
-
- - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/lib/time_animation_controller.dart.gcov.html b/analog_clock/coverage/html/lib/time_animation_controller.dart.gcov.html deleted file mode 100644 index 96c078d..0000000 --- a/analog_clock/coverage/html/lib/time_animation_controller.dart.gcov.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - LCOV - lcov.info - lib/time_animation_controller.dart - - - - - - - - - - - - - - -
LCOV - code coverage report
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Current view:top level - lib - time_animation_controller.dart (source / functions)HitTotalCoverage
Test:lcov.infoLines:2626100.0 %
Date:2022-09-11 09:30:42Functions:00-
-
- - - - - - - - -

-
          Line data    Source code
-
-       1             : // Copyright 2022, Roman Cinis. All rights reserved.
-       2             : // Use of this source code is governed by a BSD-style license that can be
-       3             : // found in the LICENSE file.
-       4             : 
-       5             : import 'package:clock/clock.dart';
-       6             : import 'package:flare_flutter/flare.dart';
-       7             : import 'package:flare_flutter/flare_actor.dart';
-       8             : import 'package:flare_flutter/flare_controller.dart';
-       9             : import 'package:flutter_clock_helper/model.dart';
-      10             : 
-      11             : import 'temperature_converter.dart';
-      12             : 
-      13             : /// Main animation controller, that will manage states with default Rive tools.
-      14             : class TimeAnimationController extends FlareController {
-      15             :   final ClockModel _model;
-      16             : 
-      17             :   /// Some animations are more complex then others, and need to be controlled
-      18             :   /// frame by frame (bubbles in thermometer and cuckoo bird) in another layer.
-      19             :   late FlareAnimationLayer _bubbles;
-      20             :   late FlareAnimationLayer _cuckoo;
-      21             : 
-      22             :   /// Other animations are pretty simple, we can control them by some real data.
-      23             :   late final ActorAnimation? _time;
-      24             :   late ActorAnimation? _weather;
-      25             : 
-      26             :   /// Animations not mixing together here. Declaring human readable variable.
-      27             :   static const double _dontMixAnimations = 1;
-      28             : 
-      29             :   /// Grabbing real world time from device same way as Google did in their code.
-      30             :   DateTime _now = clock.now();
-      31             : 
-      32             :   /// Mercury position in thermometer will not stay still, as temperature
-      33             :   /// changes, so we have it's Node on artboard, that can be moved up and down.
-      34             :   late ActorNode? _thermometer;
-      35             : 
-      36             :   /// [ClockModel] temperature and units are required.
-      37           2 :   TimeAnimationController(this._model);
-      38             : 
-      39             :   /// Initialize all the animations and layers here.
-      40           2 :   @override
-      41             :   void initialize(FlutterActorArtboard artboard) {
-      42           2 :     final bubbles = artboard.getAnimation('thermometer_bubbles');
-      43           2 :     final cuckoo = artboard.getAnimation('cuckoo');
-      44             : 
-      45             :     if (cuckoo == null || bubbles == null) {
-      46             :       return;
-      47             :     }
-      48             : 
-      49           4 :     _thermometer = artboard.getNode('thermometer_mercury_position');
-      50           4 :     _time = artboard.getAnimation('time');
-      51             : 
-      52           6 :     _cuckoo = FlareAnimationLayer(cuckoo.name, cuckoo)
-      53           2 :       ..mix = _dontMixAnimations;
-      54             : 
-      55           6 :     _bubbles = FlareAnimationLayer(bubbles.name, bubbles)
-      56           2 :       ..mix = _dontMixAnimations;
-      57             :   }
-      58             : 
-      59             :   /// This method is called every time when frame is updated.
-      60             :   /// Elapsed is time passed from one frame to another.
-      61           2 :   @override
-      62             :   bool advance(FlutterActorArtboard artboard, double elapsed) {
-      63             :     // Weather animations just have 1 frame: show actual condition / hide other
-      64             :     // condition icons. So it's ОК to pass zero as current time for animation.
-      65           4 :     _weather = artboard.getAnimation(
-      66           4 :       _model.weatherString,
-      67           2 :     )?..apply(0, artboard, _dontMixAnimations);
-      68             : 
-      69             :     /// Moving thermometer mercury in Y axis by temperature from Helper package.
-      70          14 :     _thermometer?.y = mercuryPosition(_model.temperature, _model.unit);
-      71             : 
-      72             :     /// Thermometer bubbles have short but very complex animation, we can't run
-      73             :     /// as background animation. Let's play it here in a loop (with % operator).
-      74           2 :     _bubbles
-      75          14 :       ..time = (_bubbles.time + elapsed) % _bubbles.duration
-      76           2 :       ..apply(artboard);
-      77             : 
-      78           6 :     _now = clock.now();
-      79           6 :     if (_now.minute == 0) {
-      80             :       /// Cuckoo bird animation is one minute long. It stops time animation,
-      81             :       /// and showing itself at beginning of every hour.
-      82           1 :       _cuckoo
-      83           7 :         ..time = (_cuckoo.time + elapsed) % _cuckoo.duration
-      84           1 :         ..apply(artboard);
-      85             :     } else {
-      86             :       /// Time animation is 24 minutes long, and it's speed is just 1FPS.
-      87             :       /// It's enough for time: passing real second as animation millisecond,
-      88             :       /// real minute as animation's second and real hour as animation's minute.
-      89             :       /// Updating it every second, so time is accurate.
-      90           4 :       _time?.apply(
-      91          20 :         _now.second / 60 + _now.minute + _now.hour * 60,
-      92             :         artboard,
-      93             :         _dontMixAnimations,
-      94             :       );
-      95             :     }
-      96             : 
-      97             :     return true;
-      98             :   }
-      99             : 
-     100           2 :   @override
-     101             :   void setViewTransform(Mat2D viewTransform) {}
-     102             : }
-
-
-
- - - - -
Generated by: LCOV version 1.16
-
- - - diff --git a/analog_clock/coverage/html/ruby.png b/analog_clock/coverage/html/ruby.png deleted file mode 100644 index 991b6d4ec9e78be165e3ef757eed1aada287364d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 141 zcmeAS@N?(olHy`uVBq!ia0vp^j3CU&3?x-=hn)ga>?NMQuI!iC1^FceV#7`HfI^%F z9+AZi4BSE>%y{W;-5;PJOS+@4BLl<6e(pbstUx|nfKQ0)e^Y%R^MdiLxj>4`)5S5Q b;#P73kj=!v_*DHKNFRfztDnm{r-UW|iOwIS diff --git a/analog_clock/coverage/html/snow.png b/analog_clock/coverage/html/snow.png deleted file mode 100644 index 2cdae107fceec6e7f02ac7acb4a34a82a540caa5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 141 zcmeAS@N?(olHy`uVBq!ia0vp^j3CU&3?x-=hn)ga>?NMQuI!iC1^MM!lvI6;R0X`wF|Ns97GD8ntt^-nBo-U3d c6}OTTfNUlP#;5A{K>8RwUHx3vIVCg!071?oo&W#< diff --git a/analog_clock/coverage/html/updown.png b/analog_clock/coverage/html/updown.png deleted file mode 100644 index aa56a238b3e6c435265250f9266cd1b8caba0f20..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 117 zcmeAS@N?(olHy`uVBq!ia0vp^AT}Qd8;}%R+`Ae`*?77*hG?8mPH5^{)z4*}Q$iB}huR`+