Varun - Project Portfolio Page
Overview
Ha(ppy)Bit is a desktop app aimed to empower students to achieve their goals—whether personal, academical, or health—amidst the hectic and stressful university life, through cultivating good habits. Users can only run the app on a Command Line Interface (CLI).
It is written in Java and has about 10 kLoC.
Summary of Contributions
Below are my key contributions to Ha(ppy)Bit.
Code Contribution
View my RepoSense
Features
v1.0
- Implemented the
CommandclassAddCommandto add habits with full test coverage - Integrated
AddCommandwithGoalListandUi
v2.0
- Updated most of the
Parsersubclasses, except AddParser and UpdateParser - Refactored classes in the
parserpackage to reduce code redundancy through abstraction and inheritance - Added JUnit tests for most
parserpackage classes to achieve 100% line coverage and about 80% branch coverage - Fix bugs with
parserpackage
v2.1
- Updated and refactored code for
parserpackages for new Regex basedgetParameters - Updated
parserpackage testing for newHaBitParserExceptionraised during runtime - Extended test coverage for
ParserManagerand the baseParserclass - Fixed bugs uncovered from
PE Dry Runtogether with the rest of the team
Documentation
User Guide (UG)
- Contributed to UG for
addandsetcommands
Developer Guide (DG)
- Added code implementation details on DG section 4
- Added
AddGoalCommandSequenceDiagramand review the rest of the sequence diagrams