| <?xml version="1.0"?> |
| <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd"> |
| |
| <coverage line-rate="0.7522522522522522" branch-rate="0.5" lines-covered="167" lines-valid="222" branches-covered="17" branches-valid="34" complexity="1.5" version="1.9.4.1" timestamp="1467730642258"> |
| <sources> |
| <source>/Users/briandemers/dev/source/shiro-1.2.x/samples/aspectj/src/main/java</source> |
| <source>/Users/briandemers/dev/source/shiro-1.2.x/samples/aspectj/src/main/aspect</source> |
| <source>--source</source> |
| </sources> |
| <packages> |
| <package name="org.apache.shiro.samples.aspectj.bank" line-rate="0.7522522522522522" branch-rate="0.5" complexity="1.5"> |
| <classes> |
| <class name="org.apache.shiro.samples.aspectj.bank.Account" filename="org/apache/shiro/samples/aspectj/bank/Account.java" line-rate="0.8666666666666667" branch-rate="0.75" complexity="1.5384615384615385"> |
| <methods> |
| <method name="<init>" signature="(Ljava/lang/String;)V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="48" hits="24" branch="false"/> |
| <line number="49" hits="24" branch="false"/> |
| <line number="50" hits="24" branch="false"/> |
| <line number="51" hits="24" branch="false"/> |
| <line number="52" hits="24" branch="false"/> |
| <line number="53" hits="24" branch="false"/> |
| <line number="54" hits="24" branch="false"/> |
| <line number="55" hits="24" branch="false"/> |
| <line number="56" hits="24" branch="false"/> |
| </lines> |
| </method> |
| <method name="applyTransaction" signature="(Lorg/apache/shiro/samples/aspectj/bank/AccountTransaction;)V" line-rate="0.8571428571428571" branch-rate="0.75"> |
| <lines> |
| <line number="122" hits="38" branch="true" condition-coverage="50% (1/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="50%"/> |
| </conditions> |
| </line> |
| <line number="123" hits="0" branch="false"/> |
| <line number="126" hits="72" branch="false"/> |
| <line number="127" hits="38" branch="true" condition-coverage="100% (2/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="100%"/> |
| </conditions> |
| </line> |
| <line number="128" hits="18" branch="false"/> |
| <line number="129" hits="18" branch="false"/> |
| <line number="131" hits="18" branch="true" condition-coverage="50% (1/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="50%"/> |
| </conditions> |
| </line> |
| <line number="132" hits="20" branch="true" condition-coverage="100% (2/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="100%"/> |
| </conditions> |
| </line> |
| <line number="133" hits="4" branch="false"/> |
| <line number="135" hits="16" branch="false"/> |
| <line number="136" hits="16" branch="false"/> |
| <line number="138" hits="16" branch="false"/> |
| <line number="139" hits="0" branch="false"/> |
| <line number="142" hits="34" branch="false"/> |
| </lines> |
| </method> |
| <method name="getBalance" signature="()D" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="109" hits="156" branch="false"/> |
| </lines> |
| </method> |
| <method name="getCreatedBy" signature="()Ljava/lang/String;" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="159" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="getCreationDate" signature="()Ljava/util/Date;" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="168" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="getId" signature="()J" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="64" hits="88" branch="false"/> |
| </lines> |
| </method> |
| <method name="getOwnerName" signature="()Ljava/lang/String;" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="73" hits="66" branch="false"/> |
| </lines> |
| </method> |
| <method name="getTransactions" signature="()Ljava/util/List;" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="118" hits="188" branch="false"/> |
| </lines> |
| </method> |
| <method name="isActive" signature="()Z" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="82" hits="74" branch="false"/> |
| </lines> |
| </method> |
| <method name="setActive" signature="(Z)V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="91" hits="6" branch="false"/> |
| <line number="92" hits="6" branch="false"/> |
| </lines> |
| </method> |
| <method name="setCreatedBy" signature="(Ljava/lang/String;)V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="150" hits="24" branch="false"/> |
| <line number="151" hits="24" branch="false"/> |
| </lines> |
| </method> |
| <method name="setOwnerName" signature="(Ljava/lang/String;)V" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="100" hits="0" branch="false"/> |
| <line number="101" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="toString" signature="()Ljava/lang/String;" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="176" hits="768" branch="false"/> |
| <line number="177" hits="384" branch="false"/> |
| <line number="178" hits="384" branch="false"/> |
| <line number="179" hits="384" branch="false"/> |
| <line number="180" hits="384" branch="false"/> |
| <line number="181" hits="384" branch="false"/> |
| <line number="182" hits="384" branch="false"/> |
| <line number="183" hits="384" branch="false"/> |
| <line number="184" hits="384" branch="false"/> |
| </lines> |
| </method> |
| </methods> |
| <lines> |
| <line number="48" hits="24" branch="false"/> |
| <line number="49" hits="24" branch="false"/> |
| <line number="50" hits="24" branch="false"/> |
| <line number="51" hits="24" branch="false"/> |
| <line number="52" hits="24" branch="false"/> |
| <line number="53" hits="24" branch="false"/> |
| <line number="54" hits="24" branch="false"/> |
| <line number="55" hits="24" branch="false"/> |
| <line number="56" hits="24" branch="false"/> |
| <line number="64" hits="88" branch="false"/> |
| <line number="73" hits="66" branch="false"/> |
| <line number="82" hits="74" branch="false"/> |
| <line number="91" hits="6" branch="false"/> |
| <line number="92" hits="6" branch="false"/> |
| <line number="100" hits="0" branch="false"/> |
| <line number="101" hits="0" branch="false"/> |
| <line number="109" hits="156" branch="false"/> |
| <line number="118" hits="188" branch="false"/> |
| <line number="122" hits="38" branch="true" condition-coverage="50% (1/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="50%"/> |
| </conditions> |
| </line> |
| <line number="123" hits="0" branch="false"/> |
| <line number="126" hits="72" branch="false"/> |
| <line number="127" hits="38" branch="true" condition-coverage="100% (2/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="100%"/> |
| </conditions> |
| </line> |
| <line number="128" hits="18" branch="false"/> |
| <line number="129" hits="18" branch="false"/> |
| <line number="131" hits="18" branch="true" condition-coverage="50% (1/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="50%"/> |
| </conditions> |
| </line> |
| <line number="132" hits="20" branch="true" condition-coverage="100% (2/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="100%"/> |
| </conditions> |
| </line> |
| <line number="133" hits="4" branch="false"/> |
| <line number="135" hits="16" branch="false"/> |
| <line number="136" hits="16" branch="false"/> |
| <line number="138" hits="16" branch="false"/> |
| <line number="139" hits="0" branch="false"/> |
| <line number="142" hits="34" branch="false"/> |
| <line number="150" hits="24" branch="false"/> |
| <line number="151" hits="24" branch="false"/> |
| <line number="159" hits="0" branch="false"/> |
| <line number="168" hits="0" branch="false"/> |
| <line number="176" hits="768" branch="false"/> |
| <line number="177" hits="384" branch="false"/> |
| <line number="178" hits="384" branch="false"/> |
| <line number="179" hits="384" branch="false"/> |
| <line number="180" hits="384" branch="false"/> |
| <line number="181" hits="384" branch="false"/> |
| <line number="182" hits="384" branch="false"/> |
| <line number="183" hits="384" branch="false"/> |
| <line number="184" hits="384" branch="false"/> |
| </lines> |
| </class> |
| <class name="org.apache.shiro.samples.aspectj.bank.AccountNotFoundException" filename="org/apache/shiro/samples/aspectj/bank/AccountNotFoundException.java" line-rate="0.0" branch-rate="1.0" complexity="1.0"> |
| <methods> |
| <method name="<init>" signature="(Ljava/lang/String;)V" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="24" hits="0" branch="false"/> |
| <line number="25" hits="0" branch="false"/> |
| </lines> |
| </method> |
| </methods> |
| <lines> |
| <line number="24" hits="0" branch="false"/> |
| <line number="25" hits="0" branch="false"/> |
| </lines> |
| </class> |
| <class name="org.apache.shiro.samples.aspectj.bank.AccountTransaction" filename="org/apache/shiro/samples/aspectj/bank/AccountTransaction.java" line-rate="0.9230769230769231" branch-rate="1.0" complexity="1.0"> |
| <methods> |
| <method name="<init>" signature="(Lorg/apache/shiro/samples/aspectj/bank/AccountTransaction$TransactionType;JD)V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="55" hits="38" branch="false"/> |
| <line number="56" hits="38" branch="false"/> |
| <line number="57" hits="38" branch="false"/> |
| <line number="58" hits="38" branch="false"/> |
| <line number="59" hits="38" branch="false"/> |
| <line number="60" hits="38" branch="false"/> |
| <line number="61" hits="38" branch="false"/> |
| <line number="62" hits="38" branch="false"/> |
| </lines> |
| </method> |
| <method name="createDepositTx" signature="(JD)Lorg/apache/shiro/samples/aspectj/bank/AccountTransaction;" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="48" hits="18" branch="false"/> |
| </lines> |
| </method> |
| <method name="createWithdrawalTx" signature="(JD)Lorg/apache/shiro/samples/aspectj/bank/AccountTransaction;" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="52" hits="20" branch="false"/> |
| </lines> |
| </method> |
| <method name="getAccountId" signature="()J" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="88" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="getAmount" signature="()D" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="97" hits="172" branch="false"/> |
| </lines> |
| </method> |
| <method name="getCreatedBy" signature="()Ljava/lang/String;" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="115" hits="102" branch="false"/> |
| </lines> |
| </method> |
| <method name="getCreationDate" signature="()Ljava/util/Date;" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="124" hits="102" branch="false"/> |
| </lines> |
| </method> |
| <method name="getId" signature="()J" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="70" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="getType" signature="()Lorg/apache/shiro/samples/aspectj/bank/AccountTransaction$TransactionType;" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="79" hits="160" branch="false"/> |
| </lines> |
| </method> |
| <method name="setCreatedBy" signature="(Ljava/lang/String;)V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="106" hits="38" branch="false"/> |
| <line number="107" hits="38" branch="false"/> |
| </lines> |
| </method> |
| <method name="toString" signature="()Ljava/lang/String;" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="132" hits="280" branch="false"/> |
| <line number="133" hits="140" branch="false"/> |
| <line number="134" hits="140" branch="false"/> |
| <line number="135" hits="140" branch="false"/> |
| <line number="136" hits="140" branch="false"/> |
| <line number="137" hits="140" branch="false"/> |
| <line number="138" hits="140" branch="false"/> |
| <line number="139" hits="140" branch="false"/> |
| </lines> |
| </method> |
| </methods> |
| <lines> |
| <line number="48" hits="18" branch="false"/> |
| <line number="52" hits="20" branch="false"/> |
| <line number="55" hits="38" branch="false"/> |
| <line number="56" hits="38" branch="false"/> |
| <line number="57" hits="38" branch="false"/> |
| <line number="58" hits="38" branch="false"/> |
| <line number="59" hits="38" branch="false"/> |
| <line number="60" hits="38" branch="false"/> |
| <line number="61" hits="38" branch="false"/> |
| <line number="62" hits="38" branch="false"/> |
| <line number="70" hits="0" branch="false"/> |
| <line number="79" hits="160" branch="false"/> |
| <line number="88" hits="0" branch="false"/> |
| <line number="97" hits="172" branch="false"/> |
| <line number="106" hits="38" branch="false"/> |
| <line number="107" hits="38" branch="false"/> |
| <line number="115" hits="102" branch="false"/> |
| <line number="124" hits="102" branch="false"/> |
| <line number="132" hits="280" branch="false"/> |
| <line number="133" hits="140" branch="false"/> |
| <line number="134" hits="140" branch="false"/> |
| <line number="135" hits="140" branch="false"/> |
| <line number="136" hits="140" branch="false"/> |
| <line number="137" hits="140" branch="false"/> |
| <line number="138" hits="140" branch="false"/> |
| <line number="139" hits="140" branch="false"/> |
| </lines> |
| </class> |
| <class name="org.apache.shiro.samples.aspectj.bank.AccountTransaction$TransactionType" filename="org/apache/shiro/samples/aspectj/bank/AccountTransaction.java" line-rate="0.75" branch-rate="1.0" complexity="1.0"> |
| <methods> |
| <method name="<clinit>" signature="()V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="32" hits="2" branch="false"/> |
| <line number="33" hits="2" branch="false"/> |
| </lines> |
| </method> |
| <method name="<init>" signature="(Ljava/lang/String;I)V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="31" hits="6" branch="false"/> |
| </lines> |
| </method> |
| <method name="valueOf" signature="(Ljava/lang/String;)Lorg/apache/shiro/samples/aspectj/bank/AccountTransaction$TransactionType;" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="1" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="values" signature="()[Lorg/apache/shiro/samples/aspectj/bank/AccountTransaction$TransactionType;" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| </lines> |
| </method> |
| </methods> |
| <lines> |
| <line number="1" hits="0" branch="false"/> |
| <line number="31" hits="6" branch="false"/> |
| <line number="32" hits="2" branch="false"/> |
| <line number="33" hits="2" branch="false"/> |
| </lines> |
| </class> |
| <class name="org.apache.shiro.samples.aspectj.bank.BankServerRunner" filename="org/apache/shiro/samples/aspectj/bank/BankServerRunner.java" line-rate="0.0" branch-rate="0.0" complexity="1.75"> |
| <methods> |
| <method name="<init>" signature="()V" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="21" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="getBankService" signature="()Lorg/apache/shiro/samples/aspectj/bank/BankService;" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="43" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="main" signature="([Ljava/lang/String;)V" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="48" hits="0" branch="false"/> |
| <line number="49" hits="0" branch="false"/> |
| <line number="51" hits="0" branch="false"/> |
| <line number="53" hits="0" branch="false"/> |
| <line number="54" hits="0" branch="false"/> |
| <line number="57" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="start" signature="()V" line-rate="0.0" branch-rate="0.0"> |
| <lines> |
| <line number="26" hits="0" branch="true" condition-coverage="0% (0/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="0%"/> |
| </conditions> |
| </line> |
| <line number="27" hits="0" branch="false"/> |
| <line number="28" hits="0" branch="false"/> |
| <line number="30" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="stop" signature="()V" line-rate="0.0" branch-rate="0.0"> |
| <lines> |
| <line number="33" hits="0" branch="true" condition-coverage="0% (0/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="0%"/> |
| </conditions> |
| </line> |
| <line number="35" hits="0" branch="false"/> |
| <line number="36" hits="0" branch="false"/> |
| <line number="37" hits="0" branch="false"/> |
| <line number="38" hits="0" branch="false"/> |
| <line number="40" hits="0" branch="false"/> |
| </lines> |
| </method> |
| </methods> |
| <lines> |
| <line number="21" hits="0" branch="false"/> |
| <line number="26" hits="0" branch="true" condition-coverage="0% (0/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="0%"/> |
| </conditions> |
| </line> |
| <line number="27" hits="0" branch="false"/> |
| <line number="28" hits="0" branch="false"/> |
| <line number="30" hits="0" branch="false"/> |
| <line number="33" hits="0" branch="true" condition-coverage="0% (0/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="0%"/> |
| </conditions> |
| </line> |
| <line number="35" hits="0" branch="false"/> |
| <line number="36" hits="0" branch="false"/> |
| <line number="37" hits="0" branch="false"/> |
| <line number="38" hits="0" branch="false"/> |
| <line number="40" hits="0" branch="false"/> |
| <line number="43" hits="0" branch="false"/> |
| <line number="48" hits="0" branch="false"/> |
| <line number="49" hits="0" branch="false"/> |
| <line number="51" hits="0" branch="false"/> |
| <line number="53" hits="0" branch="false"/> |
| <line number="54" hits="0" branch="false"/> |
| <line number="57" hits="0" branch="false"/> |
| </lines> |
| </class> |
| <class name="org.apache.shiro.samples.aspectj.bank.BankService" filename="org/apache/shiro/samples/aspectj/bank/BankService.java" line-rate="1.0" branch-rate="1.0" complexity="1.0"> |
| <methods> |
| </methods> |
| <lines> |
| </lines> |
| </class> |
| <class name="org.apache.shiro.samples.aspectj.bank.BankService$TxLog" filename="org/apache/shiro/samples/aspectj/bank/BankService.java" line-rate="0.625" branch-rate="1.0" complexity="1.0"> |
| <methods> |
| <method name="<init>" signature="(Ljava/util/Date;DLjava/lang/String;)V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="49" hits="102" branch="false"/> |
| <line number="50" hits="102" branch="false"/> |
| <line number="51" hits="102" branch="false"/> |
| <line number="52" hits="102" branch="false"/> |
| <line number="53" hits="102" branch="false"/> |
| </lines> |
| </method> |
| <method name="getAmount" signature="()D" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="70" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="getCreationDate" signature="()Ljava/util/Date;" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="61" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="getMadeBy" signature="()Ljava/lang/String;" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="79" hits="0" branch="false"/> |
| </lines> |
| </method> |
| </methods> |
| <lines> |
| <line number="49" hits="102" branch="false"/> |
| <line number="50" hits="102" branch="false"/> |
| <line number="51" hits="102" branch="false"/> |
| <line number="52" hits="102" branch="false"/> |
| <line number="53" hits="102" branch="false"/> |
| <line number="61" hits="0" branch="false"/> |
| <line number="70" hits="0" branch="false"/> |
| <line number="79" hits="0" branch="false"/> |
| </lines> |
| </class> |
| <class name="org.apache.shiro.samples.aspectj.bank.BankServiceException" filename="org/apache/shiro/samples/aspectj/bank/BankServiceException.java" line-rate="0.5" branch-rate="1.0" complexity="1.0"> |
| <methods> |
| <method name="<init>" signature="(Ljava/lang/String;)V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="24" hits="6" branch="false"/> |
| <line number="25" hits="6" branch="false"/> |
| </lines> |
| </method> |
| <method name="<init>" signature="(Ljava/lang/String;Ljava/lang/Throwable;)V" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="28" hits="0" branch="false"/> |
| <line number="29" hits="0" branch="false"/> |
| </lines> |
| </method> |
| </methods> |
| <lines> |
| <line number="24" hits="6" branch="false"/> |
| <line number="25" hits="6" branch="false"/> |
| <line number="28" hits="0" branch="false"/> |
| <line number="29" hits="0" branch="false"/> |
| </lines> |
| </class> |
| <class name="org.apache.shiro.samples.aspectj.bank.InactiveAccountException" filename="org/apache/shiro/samples/aspectj/bank/InactiveAccountException.java" line-rate="1.0" branch-rate="1.0" complexity="1.0"> |
| <methods> |
| <method name="<init>" signature="(Ljava/lang/String;)V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="24" hits="2" branch="false"/> |
| <line number="25" hits="2" branch="false"/> |
| </lines> |
| </method> |
| </methods> |
| <lines> |
| <line number="24" hits="2" branch="false"/> |
| <line number="25" hits="2" branch="false"/> |
| </lines> |
| </class> |
| <class name="org.apache.shiro.samples.aspectj.bank.NotEnoughFundsException" filename="org/apache/shiro/samples/aspectj/bank/NotEnoughFundsException.java" line-rate="1.0" branch-rate="1.0" complexity="1.0"> |
| <methods> |
| <method name="<init>" signature="(Ljava/lang/String;)V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="24" hits="4" branch="false"/> |
| <line number="25" hits="4" branch="false"/> |
| </lines> |
| </method> |
| </methods> |
| <lines> |
| <line number="24" hits="4" branch="false"/> |
| <line number="25" hits="4" branch="false"/> |
| </lines> |
| </class> |
| <class name="org.apache.shiro.samples.aspectj.bank.SecureBankService" filename="org/apache/shiro/samples/aspectj/bank/SecureBankService.java" line-rate="0.8108108108108109" branch-rate="0.5" complexity="2.3125"> |
| <methods> |
| <method name="<clinit>" signature="()V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="35" hits="2" branch="false"/> |
| </lines> |
| </method> |
| <method name="<init>" signature="()V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="43" hits="2" branch="false"/> |
| <line number="44" hits="2" branch="false"/> |
| <line number="45" hits="2" branch="false"/> |
| <line number="46" hits="2" branch="false"/> |
| </lines> |
| </method> |
| <method name="ajc$preClinit" signature="()V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="1" hits="2" branch="false"/> |
| </lines> |
| </method> |
| <method name="assertServiceState" signature="()V" line-rate="0.6666666666666666" branch-rate="0.5"> |
| <lines> |
| <line number="75" hits="384" branch="true" condition-coverage="50% (1/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="50%"/> |
| </conditions> |
| </line> |
| <line number="76" hits="0" branch="false"/> |
| <line number="78" hits="384" branch="false"/> |
| </lines> |
| </method> |
| <method name="closeAccount" signature="(J)D" line-rate="0.8571428571428571" branch-rate="1.0"> |
| <lines> |
| <line number="234" hits="10" branch="false"/> |
| <line number="235" hits="8" branch="false"/> |
| <line number="237" hits="8" branch="false"/> |
| <line number="238" hits="8" branch="true" condition-coverage="100% (2/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="100%"/> |
| </conditions> |
| </line> |
| <line number="239" hits="2" branch="false"/> |
| <line number="243" hits="6" branch="false"/> |
| <line number="244" hits="6" branch="false"/> |
| <line number="245" hits="6" branch="false"/> |
| <line number="246" hits="6" branch="false"/> |
| <line number="247" hits="6" branch="false"/> |
| <line number="249" hits="6" branch="false"/> |
| <line number="250" hits="6" branch="false"/> |
| <line number="252" hits="0" branch="false"/> |
| <line number="253" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="createNewAccount" signature="(Ljava/lang/String;)J" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="90" hits="24" branch="false"/> |
| <line number="91" hits="24" branch="false"/> |
| <line number="93" hits="24" branch="false"/> |
| <line number="94" hits="24" branch="false"/> |
| <line number="95" hits="24" branch="false"/> |
| <line number="96" hits="24" branch="false"/> |
| <line number="97" hits="24" branch="false"/> |
| <line number="99" hits="24" branch="false"/> |
| <line number="100" hits="24" branch="false"/> |
| </lines> |
| </method> |
| <method name="depositInto" signature="(JD)D" line-rate="0.8181818181818182" branch-rate="1.0"> |
| <lines> |
| <line number="163" hits="18" branch="false"/> |
| <line number="164" hits="18" branch="false"/> |
| <line number="167" hits="18" branch="false"/> |
| <line number="168" hits="18" branch="false"/> |
| <line number="169" hits="18" branch="false"/> |
| <line number="170" hits="18" branch="false"/> |
| <line number="172" hits="18" branch="false"/> |
| <line number="173" hits="18" branch="false"/> |
| <line number="175" hits="18" branch="false"/> |
| <line number="177" hits="0" branch="false"/> |
| <line number="178" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="dispose" signature="()V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="60" hits="2" branch="false"/> |
| <line number="61" hits="2" branch="false"/> |
| <line number="63" hits="4" branch="false"/> |
| <line number="64" hits="2" branch="false"/> |
| <line number="65" hits="2" branch="false"/> |
| <line number="68" hits="2" branch="false"/> |
| <line number="69" hits="2" branch="false"/> |
| </lines> |
| </method> |
| <method name="getAccountCount" signature="()I" line-rate="0.0" branch-rate="1.0"> |
| <lines> |
| <line number="81" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="getBalanceOf" signature="(J)D" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="150" hits="94" branch="false"/> |
| <line number="151" hits="94" branch="false"/> |
| <line number="153" hits="94" branch="false"/> |
| <line number="154" hits="94" branch="false"/> |
| </lines> |
| </method> |
| <method name="getCurrentUsername" signature="()Ljava/lang/String;" line-rate="0.75" branch-rate="0.5"> |
| <lines> |
| <line number="298" hits="62" branch="false"/> |
| <line number="299" hits="62" branch="true" condition-coverage="50% (3/6)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="50%"/> |
| <condition number="1" type="jump" coverage="50%"/> |
| <condition number="2" type="jump" coverage="50%"/> |
| </conditions> |
| </line> |
| <line number="300" hits="0" branch="false"/> |
| <line number="302" hits="62" branch="false"/> |
| </lines> |
| </method> |
| <method name="getOwnerOf" signature="(J)Ljava/lang/String;" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="137" hits="66" branch="false"/> |
| <line number="138" hits="66" branch="false"/> |
| <line number="140" hits="66" branch="false"/> |
| <line number="141" hits="66" branch="false"/> |
| </lines> |
| </method> |
| <method name="getTxHistoryFor" signature="(J)[Lorg/apache/shiro/samples/aspectj/bank/BankService$TxLog;" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="208" hits="94" branch="false"/> |
| <line number="209" hits="94" branch="false"/> |
| <line number="211" hits="94" branch="false"/> |
| <line number="213" hits="94" branch="false"/> |
| <line number="214" hits="94" branch="false"/> |
| <line number="215" hits="290" branch="true" condition-coverage="100% (2/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="100%"/> |
| </conditions> |
| </line> |
| <line number="216" hits="102" branch="false"/> |
| <line number="218" hits="102" branch="true" condition-coverage="100% (2/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="100%"/> |
| </conditions> |
| </line> |
| <line number="219" hits="64" branch="false"/> |
| <line number="220" hits="64" branch="false"/> |
| <line number="221" hits="38" branch="false"/> |
| <line number="225" hits="94" branch="false"/> |
| </lines> |
| </method> |
| <method name="isAccountActive" signature="(J)Z" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="263" hits="66" branch="false"/> |
| <line number="264" hits="66" branch="false"/> |
| <line number="266" hits="66" branch="false"/> |
| <line number="267" hits="66" branch="false"/> |
| </lines> |
| </method> |
| <method name="safellyRetrieveAccountForId" signature="(J)Lorg/apache/shiro/samples/aspectj/bank/Account;" line-rate="0.8571428571428571" branch-rate="0.5"> |
| <lines> |
| <line number="279" hits="360" branch="false"/> |
| <line number="280" hits="720" branch="false"/> |
| <line number="281" hits="360" branch="false"/> |
| <line number="284" hits="360" branch="true" condition-coverage="50% (1/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="50%"/> |
| </conditions> |
| </line> |
| <line number="285" hits="0" branch="false"/> |
| <line number="288" hits="360" branch="false"/> |
| <line number="289" hits="360" branch="false"/> |
| </lines> |
| </method> |
| <method name="searchAccountIdsByOwner" signature="(Ljava/lang/String;)[J" line-rate="0.0" branch-rate="0.0"> |
| <lines> |
| <line number="109" hits="0" branch="false"/> |
| <line number="110" hits="0" branch="false"/> |
| <line number="112" hits="0" branch="false"/> |
| <line number="113" hits="0" branch="false"/> |
| <line number="114" hits="0" branch="true" condition-coverage="0% (0/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="0%"/> |
| </conditions> |
| </line> |
| <line number="115" hits="0" branch="true" condition-coverage="0% (0/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="0%"/> |
| </conditions> |
| </line> |
| <line number="116" hits="0" branch="false"/> |
| <line number="121" hits="0" branch="false"/> |
| <line number="122" hits="0" branch="false"/> |
| <line number="123" hits="0" branch="true" condition-coverage="0% (0/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="0%"/> |
| </conditions> |
| </line> |
| <line number="124" hits="0" branch="false"/> |
| <line number="127" hits="0" branch="false"/> |
| <line number="128" hits="0" branch="false"/> |
| </lines> |
| </method> |
| <method name="start" signature="()V" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="52" hits="2" branch="false"/> |
| <line number="53" hits="2" branch="false"/> |
| <line number="54" hits="2" branch="false"/> |
| </lines> |
| </method> |
| <method name="withdrawFrom" signature="(JD)D" line-rate="1.0" branch-rate="1.0"> |
| <lines> |
| <line number="188" hits="14" branch="false"/> |
| <line number="189" hits="14" branch="false"/> |
| <line number="191" hits="14" branch="false"/> |
| <line number="192" hits="14" branch="false"/> |
| <line number="193" hits="14" branch="false"/> |
| <line number="194" hits="14" branch="false"/> |
| <line number="196" hits="14" branch="false"/> |
| <line number="197" hits="10" branch="false"/> |
| <line number="199" hits="10" branch="false"/> |
| </lines> |
| </method> |
| </methods> |
| <lines> |
| <line number="1" hits="2" branch="false"/> |
| <line number="35" hits="2" branch="false"/> |
| <line number="43" hits="2" branch="false"/> |
| <line number="44" hits="2" branch="false"/> |
| <line number="45" hits="2" branch="false"/> |
| <line number="46" hits="2" branch="false"/> |
| <line number="52" hits="2" branch="false"/> |
| <line number="53" hits="2" branch="false"/> |
| <line number="54" hits="2" branch="false"/> |
| <line number="60" hits="2" branch="false"/> |
| <line number="61" hits="2" branch="false"/> |
| <line number="63" hits="4" branch="false"/> |
| <line number="64" hits="2" branch="false"/> |
| <line number="65" hits="2" branch="false"/> |
| <line number="68" hits="2" branch="false"/> |
| <line number="69" hits="2" branch="false"/> |
| <line number="75" hits="384" branch="true" condition-coverage="50% (1/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="50%"/> |
| </conditions> |
| </line> |
| <line number="76" hits="0" branch="false"/> |
| <line number="78" hits="384" branch="false"/> |
| <line number="81" hits="0" branch="false"/> |
| <line number="90" hits="24" branch="false"/> |
| <line number="91" hits="24" branch="false"/> |
| <line number="93" hits="24" branch="false"/> |
| <line number="94" hits="24" branch="false"/> |
| <line number="95" hits="24" branch="false"/> |
| <line number="96" hits="24" branch="false"/> |
| <line number="97" hits="24" branch="false"/> |
| <line number="99" hits="24" branch="false"/> |
| <line number="100" hits="24" branch="false"/> |
| <line number="109" hits="0" branch="false"/> |
| <line number="110" hits="0" branch="false"/> |
| <line number="112" hits="0" branch="false"/> |
| <line number="113" hits="0" branch="false"/> |
| <line number="114" hits="0" branch="true" condition-coverage="0% (0/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="0%"/> |
| </conditions> |
| </line> |
| <line number="115" hits="0" branch="true" condition-coverage="0% (0/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="0%"/> |
| </conditions> |
| </line> |
| <line number="116" hits="0" branch="false"/> |
| <line number="121" hits="0" branch="false"/> |
| <line number="122" hits="0" branch="false"/> |
| <line number="123" hits="0" branch="true" condition-coverage="0% (0/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="0%"/> |
| </conditions> |
| </line> |
| <line number="124" hits="0" branch="false"/> |
| <line number="127" hits="0" branch="false"/> |
| <line number="128" hits="0" branch="false"/> |
| <line number="137" hits="66" branch="false"/> |
| <line number="138" hits="66" branch="false"/> |
| <line number="140" hits="66" branch="false"/> |
| <line number="141" hits="66" branch="false"/> |
| <line number="150" hits="94" branch="false"/> |
| <line number="151" hits="94" branch="false"/> |
| <line number="153" hits="94" branch="false"/> |
| <line number="154" hits="94" branch="false"/> |
| <line number="163" hits="18" branch="false"/> |
| <line number="164" hits="18" branch="false"/> |
| <line number="167" hits="18" branch="false"/> |
| <line number="168" hits="18" branch="false"/> |
| <line number="169" hits="18" branch="false"/> |
| <line number="170" hits="18" branch="false"/> |
| <line number="172" hits="18" branch="false"/> |
| <line number="173" hits="18" branch="false"/> |
| <line number="175" hits="18" branch="false"/> |
| <line number="177" hits="0" branch="false"/> |
| <line number="178" hits="0" branch="false"/> |
| <line number="188" hits="14" branch="false"/> |
| <line number="189" hits="14" branch="false"/> |
| <line number="191" hits="14" branch="false"/> |
| <line number="192" hits="14" branch="false"/> |
| <line number="193" hits="14" branch="false"/> |
| <line number="194" hits="14" branch="false"/> |
| <line number="196" hits="14" branch="false"/> |
| <line number="197" hits="10" branch="false"/> |
| <line number="199" hits="10" branch="false"/> |
| <line number="208" hits="94" branch="false"/> |
| <line number="209" hits="94" branch="false"/> |
| <line number="211" hits="94" branch="false"/> |
| <line number="213" hits="94" branch="false"/> |
| <line number="214" hits="94" branch="false"/> |
| <line number="215" hits="290" branch="true" condition-coverage="100% (2/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="100%"/> |
| </conditions> |
| </line> |
| <line number="216" hits="102" branch="false"/> |
| <line number="218" hits="102" branch="true" condition-coverage="100% (2/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="100%"/> |
| </conditions> |
| </line> |
| <line number="219" hits="64" branch="false"/> |
| <line number="220" hits="64" branch="false"/> |
| <line number="221" hits="38" branch="false"/> |
| <line number="225" hits="94" branch="false"/> |
| <line number="234" hits="10" branch="false"/> |
| <line number="235" hits="8" branch="false"/> |
| <line number="237" hits="8" branch="false"/> |
| <line number="238" hits="8" branch="true" condition-coverage="100% (2/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="100%"/> |
| </conditions> |
| </line> |
| <line number="239" hits="2" branch="false"/> |
| <line number="243" hits="6" branch="false"/> |
| <line number="244" hits="6" branch="false"/> |
| <line number="245" hits="6" branch="false"/> |
| <line number="246" hits="6" branch="false"/> |
| <line number="247" hits="6" branch="false"/> |
| <line number="249" hits="6" branch="false"/> |
| <line number="250" hits="6" branch="false"/> |
| <line number="252" hits="0" branch="false"/> |
| <line number="253" hits="0" branch="false"/> |
| <line number="263" hits="66" branch="false"/> |
| <line number="264" hits="66" branch="false"/> |
| <line number="266" hits="66" branch="false"/> |
| <line number="267" hits="66" branch="false"/> |
| <line number="279" hits="360" branch="false"/> |
| <line number="280" hits="720" branch="false"/> |
| <line number="281" hits="360" branch="false"/> |
| <line number="284" hits="360" branch="true" condition-coverage="50% (1/2)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="50%"/> |
| </conditions> |
| </line> |
| <line number="285" hits="0" branch="false"/> |
| <line number="288" hits="360" branch="false"/> |
| <line number="289" hits="360" branch="false"/> |
| <line number="298" hits="62" branch="false"/> |
| <line number="299" hits="62" branch="true" condition-coverage="50% (3/6)"> |
| <conditions> |
| <condition number="0" type="jump" coverage="50%"/> |
| <condition number="1" type="jump" coverage="50%"/> |
| <condition number="2" type="jump" coverage="50%"/> |
| </conditions> |
| </line> |
| <line number="300" hits="0" branch="false"/> |
| <line number="302" hits="62" branch="false"/> |
| </lines> |
| </class> |
| </classes> |
| </package> |
| </packages> |
| </coverage> |