Tagged: PHP


Filesystem limitations of PHP’s metric tools

I’m quite heavily working with PHPMD/PDepend/PHPCPD on my local Windows machine to see, if I’ve written some mess before committing it. On some fridays I run it on the full project. Since, we added some node modules lately in our project and those modules have almost traditionally deep folder structures, I ran into a problem yesterday that is worth sharing. As most of you know, local paths in Windows’ NTFS are structured like this: drive letter, colon, and the folder structure separated by backslashes plus one terminating null character. So for example: C:\hello\world{NULL} But there are some limitations to that....