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

Improve FileService Code Coverage

Open povolev15 opened this issue 9 months ago • 0 comments

Add more unit tests to improve code coverage to each class in File 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

base

  • [x] FileQueryBase [100%]

CODEC

  • [x] FileServiceStateTranslator [100 %]

HANDLERS

  • [ ] #13188
  • [ ] FileCreateHandler [88 %]
  • [ ] #13189
  • [ ] FileGetContentsHandler [81 %]
  • [ ] FileGetInfoHandler [87 %]
  • [ ] #13190
  • [ ] #13191
  • [ ] #13192
  • [ ] #13193
  • [ ] FileUpdateHandler [83%]

SCHEMAS

  • [ ] InitialModFileGenesisSchema[84 %]

UTIL

  • [ ] FileServiceUtils [93 %]

BASE PACKAGE

  • [ ] #13194
  • [x] FileStore [100 %]
  • [x] ReadableFileStoreImpl [100 %]
  • [ ] ReadableUpgradeFileStoreImpl [90 %]
  • [ ] WritableFileStore [87 %]
  • [ ] WritableUpgradeFileStore [100 %]

povolev15 avatar May 09 '24 14:05 povolev15