-
- Downloads
Last refactor I'll do kinda like refactor # 6/7
I decomposed conditionals since some of them were needlessly nested which makes it harder to read for exampl getFieldValue had like 4/5 nestings which is way too much also did it on the other get methods I implemented and added one more test to make sure that after the decomposing of condtionals code like this still worked if(_exceptions.length == 0) { printIndented(depth, " Exceptions-> NONE"); return; } Done Assignment!
parent
05409eea
No related branches found
No related tags found
Showing
- out/production/cpsc501w25a3/Inspector.class 0 additions, 0 deletionsout/production/cpsc501w25a3/Inspector.class
- out/test/cpsc501w25a3/InspectorTest.class 0 additions, 0 deletionsout/test/cpsc501w25a3/InspectorTest.class
- out/test/cpsc501w25a3/emptyClass.class 0 additions, 0 deletionsout/test/cpsc501w25a3/emptyClass.class
- script1.txt 14 additions, 14 deletionsscript1.txt
- script2.txt 14 additions, 14 deletionsscript2.txt
- script3.txt 114 additions, 114 deletionsscript3.txt
- script4.txt 18 additions, 18 deletionsscript4.txt
- script5.txt 18 additions, 18 deletionsscript5.txt
- src/Inspector.java 105 additions, 95 deletionssrc/Inspector.java
- testing/InspectorTest.java 23 additions, 30 deletionstesting/InspectorTest.java
- testing/emptyClass.java 2 additions, 0 deletionstesting/emptyClass.java
Loading
Please register or sign in to comment