Rating | Name | Duplication | Size | Complexity | CRAP |
---|---|---|---|---|---|
A | main.Handler.main() | 0 | 17 | 5 | ? |
A | simulation.Simulation.main() | 0 | 23 | 3 | ? |
A | main.Handler.run() | 0 | 12 | 5 | ? |
A | main.Handler.end_rental() | 0 | 20 | 4 | ? |
A | simulation.Simulation.run() | 0 | 18 | 3 | ? |
A | src.api.ApiData.update_scooter() | 40 | 17 | 2 | 2 |
A | src.api.ApiData.return_scooter() | 0 | 15 | 2 | 2 |
A | src.api.ApiData.update_rented_scooter() | 37 | 15 | 2 | 2 |
A | src.api.ApiData.rent_scooter() | 0 | 14 | 2 | 2 |
A | src.api.ApiData.get_station() | 0 | 12 | 2 | 2 |
A | simulation.Simulation.move() | 0 | 12 | 3 | ? |
A | main.Handler.charge_scooter() | 0 | 11 | 1 | ? |
A | main.Handler.rental_time() | 0 | 11 | 1 | ? |
A | src.api.ApiData.get_scooter_data() | 0 | 11 | 2 | 2 |
A | simulation.Simulation.return_scooters() | 0 | 11 | 2 | ? |