You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.
Overall
Your code is in a stable state.
However, there are rooms for improvement.
Architecture of the code can be improved (in particular, packages and classes that belong to each package should be revised).
Code
You are inconsistent with the use of braces in conditionals when they are not strictly needed (one-line "then"). Please, be consistent with respect to this. We suggest to use them always (even when they are not needed) since they help with clarity of the code.
Define constants in app resources (avoid raw values in the code).
The map package should be reconstructed entirely. SearchAreaBuilder, PolygonBuilder and QuadrilateralBuilder represent the separate entity (and you have searchareabuilder package). The same holds for MapBoxSearchAreaPainter and MapBoxQuadrilateralPainter.
Please, remove huge chunks of commented code.
IntersectionTools should not be in ui package.
A lot of classes that are unrelated are in ch.epfl.sdp (Auth, DroneMission and a lot of activity classes).
MapActivity and OfflineManagerActivity extend MapViewBaseActiviy that is in ui/maps package. Also, both of these are huge. Consider splitting them into fragments (easier to read and maintain the code).
Tests
AaaLocationWithoutPermissionTest looks weird. Does this even compile? Is it work in progress?
Layout
Avoid hardcoding layout width, height, padding, etc. and use resources instead.
The text was updated successfully, but these errors were encountered:
Overall
Your code is in a stable state.
However, there are rooms for improvement.
Architecture of the code can be improved (in particular, packages and classes that belong to each package should be revised).
Code
Tests
Layout
The text was updated successfully, but these errors were encountered: