![]() ![]() Note that you can also exclude framework-specific cache and log directories and whatever else helps you get the best number. ![]() Grab the Non-Comment Lines of Code and Logical Lines of Code numbers they'll be your most useful comparisons across projects. Php phploc-4.0.1.phar -exclude vendor -exclude node_modules myprojectnamehere/ You can find a longer description below, but here's the quick start guide: cd Sites/ If you don't want to read a half dozen options, use PHPLOC. If you were to ask me, I would say we shouldn't even think about it. ![]() ![]() It turns out that's actually a much harder number to discover than you might think, so I figured I would write up a few options here.įor what it's worth, I'm not a big fan of LOC as a measure of any importance, but it can at least give us some broad foundations to use to talk about broad differences in project size. I'm giving a talk soon about Laravel and "the enterprise", and the concept of LOC (lines of code) keeps coming up.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |