added check for composer.json in getDirectorySize
updated precision in directory size