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
Command
classAddCommand
to add habits with full test coverage - Integrated
AddCommand
withGoalList
andUi
v2.0
- Updated most of the
Parser
subclasses, except AddParser and UpdateParser - Refactored classes in the
parser
package to reduce code redundancy through abstraction and inheritance - Added JUnit tests for most
parser
package classes to achieve 100% line coverage and about 80% branch coverage - Fix bugs with
parser
package
v2.1
- Updated and refactored code for
parser
packages for new Regex basedgetParameters
- Updated
parser
package testing for newHaBitParserException
raised during runtime - Extended test coverage for
ParserManager
and the baseParser
class - Fixed bugs uncovered from
PE Dry Run
together with the rest of the team
Documentation
User Guide (UG)
- Contributed to UG for
add
andset
commands
Developer Guide (DG)
- Added code implementation details on DG section 4
- Added
AddGoalCommandSequenceDiagram
and review the rest of the sequence diagrams