Port KNS method

See https://phabricator.kde.org/T12200.
1 job for master in 6 minutes and 9 seconds (queued for 92 minutes)
Status Job ID Name Coverage
  Build
passed #80342
build

00:06:09