handle code repository calculation in disposable subclass