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

ByteOps-swe / MVP / 8490927449

30 Mar 2024 12:57PM UTC coverage: 42.353% (-51.8%) from 94.161%
8490927449

push

github

web-flow
Merge pull request #39 from ByteOps-swe/Barutta02-patch-2

Tolto test

27 of 126 branches covered (21.43%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

1143 existing lines in 77 files now uncovered.

981 of 2254 relevant lines covered (43.52%)

0.44 hits per line

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

61.11
/PythonSensorsSimulator/Model/simulator_thread_pool.py
1
from typing import List
1✔
2
from .component_simulator_thread import component_simulator_thread
1✔
3
from .ThreadPoolAdapter.thread_pool_target import thread_pool_target
1✔
4
#utilizzo di una THREADPOOL ADAPTER
5
#Pattern adapter
6

7
class simulator_thread_pool:
1✔
8

9
    def __init__(self, thread_pool_adapter: thread_pool_target):
1✔
UNCOV
10
        self.__simulators: List[component_simulator_thread] = []
×
UNCOV
11
        self.__thread_pool_adapter = thread_pool_adapter
×
12

13
    def run_all(self):
1✔
UNCOV
14
        self.__thread_pool_adapter.map(simulator_thread_pool.__start_simulator, self.__simulators)
×
15

16
    def stop_all(self):
1✔
UNCOV
17
        self.__thread_pool_adapter.map(simulator_thread_pool.__stop_simulator, self.__simulators)
×
18

19
    def append_simulator(self, simulator: component_simulator_thread):
1✔
UNCOV
20
        self.__simulators.append(simulator)
×
21

22
    @staticmethod
1✔
23
    def __start_simulator(simulator: component_simulator_thread):
1✔
UNCOV
24
        simulator.task()
×
25

26
    def __stop_simulator(self, simulator: component_simulator_thread):
1✔
27
        simulator.stop()
×
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