1<?xml version="1.0" encoding="UTF-8"?> 2<crap_result> 3 <project>BankAccount</project> 4 <timestamp>%s</timestamp> 5 <stats> 6 <name>Method Crap Stats</name> 7 <methodCount>4</methodCount> 8 <crapMethodCount>0</crapMethodCount> 9 <crapLoad>0</crapLoad> 10 <totalCrap>9</totalCrap> 11 <crapMethodPercent>0</crapMethodPercent> 12 </stats> 13 <methods> 14 <method> 15 <package>global</package> 16 <className>BankAccount</className> 17 <methodName>getBalance</methodName> 18 <methodSignature>getBalance()</methodSignature> 19 <fullMethod>getBalance()</fullMethod> 20 <crap>1</crap> 21 <complexity>1</complexity> 22 <coverage>100</coverage> 23 <crapLoad>0</crapLoad> 24 </method> 25 <method> 26 <package>global</package> 27 <className>BankAccount</className> 28 <methodName>setBalance</methodName> 29 <methodSignature>setBalance($balance)</methodSignature> 30 <fullMethod>setBalance($balance)</fullMethod> 31 <crap>6</crap> 32 <complexity>2</complexity> 33 <coverage>0</coverage> 34 <crapLoad>0</crapLoad> 35 </method> 36 <method> 37 <package>global</package> 38 <className>BankAccount</className> 39 <methodName>depositMoney</methodName> 40 <methodSignature>depositMoney($balance)</methodSignature> 41 <fullMethod>depositMoney($balance)</fullMethod> 42 <crap>1</crap> 43 <complexity>1</complexity> 44 <coverage>100</coverage> 45 <crapLoad>0</crapLoad> 46 </method> 47 <method> 48 <package>global</package> 49 <className>BankAccount</className> 50 <methodName>withdrawMoney</methodName> 51 <methodSignature>withdrawMoney($balance)</methodSignature> 52 <fullMethod>withdrawMoney($balance)</fullMethod> 53 <crap>1</crap> 54 <complexity>1</complexity> 55 <coverage>100</coverage> 56 <crapLoad>0</crapLoad> 57 </method> 58 </methods> 59</crap_result> 60