Counting lines of code - quality metircs

I take lines of code for my Java project, the project contains many XML files. Now my question is calculating lines of code. Should I also consider XML lines of code? Please, help

+3
source share
2 answers

Imitating lines of IMO code is a terrible quality metric. I believe this is a great day when I delete hundreds of lines of code.

However, answering your question. if your XML is hand written and represents the metadata that customizes your application, then yes, I would consider it code.

+11
source

It depends on whether xml represents data or any DSL type.

, LOC. , - NAnt script, xml, LOC.

+1

Source: https://habr.com/ru/post/1745735/


All Articles