hedera-services icon indicating copy to clipboard operation
hedera-services copied to clipboard

Improve NetworkAdminService Code Coverage

Open povolev15 opened this issue 9 months ago • 0 comments

Add more unit tests to improve code coverage to each class in Network Admin Service

  1. Checked box without issue indicates False negative for coverage where codacy reports 0% coverage but test exists.
  2. Checked box with Issue indicates the associated issue has been addressed.
  3. List items in bold represent classes falling below 80% coverage and targeted for improvement

CODEC

  • [ ] MonoSpecialFilesAdapterCodec [85 %]

HANDLERS

  • [ ] FreezeHandler [93%]
  • [x] FreezeUpgradeActions [100 %]
  • [x] #13196
  • [ ] NetworkGetAccountDetailsHandler [93 %]
  • [x] NetworkGetByKeyHandler [100 %]
  • [x] NetworkGetExecutionTimeHandler [100 %]
  • [ ] NetworkGetVersionInfoHandler [92 %]
  • [x] NetworkTransactionGetFastRecordHandler [100 %]
  • [ ] NetworkTransactionGetReceiptHandler [93 %]
  • [ ] NetworkTransactionGetRecordHandler [64%]
  • [ ] NetworkUncheckedSubmitHandler [75%]
  • [ ] ReadableFreezeUpgradeActions [58%]
  • [ ] UnzipUtility [78%]

SCHEMAS

  • [ ] InitialModServiceAdminSchema[77 %]
  • [ ] InitialModServiceNetworkSchema [0%]

SERDES

  • [ ] EntityNumCodec [85 %]
  • [ ] MonoContextAdapterCodec [83%]
  • [ ] MonoRunningHashesAdapterCodec [85%]

UTILS

  • [ ] NetworkAdminServiceUtil [66 %]

BASE PACKAGE

  • [x] FreezeServiceImpl [100%]
  • [ ] NetworkServiceImpl [0 %]
  • [ ] ReadableFreezeStoreImpl [62 %]
  • [x] WritableFreezeStore [100 %]

povolev15 avatar May 09 '24 20:05 povolev15