flosse / sloc

simple tool to count SLOC (source lines of code)
MIT License
943 stars 84 forks source link

"Fix" for Consistency check #90 #100

Closed zwrawr closed 6 years ago

zwrawr commented 6 years ago

Now reports the number of empty lines with block comments.

Goes from

---------- Result ------------

            Physical :  333
              Source :  262
             Comment :  39
 Single-line comment :  35
       Block comment :  4
               Mixed :  25
               Empty :  57
               To Do :  1

Number of files read :  1

------------------------------

to

---------- Result ------------

            Physical :  333
              Source :  262
             Comment :  39
 Single-line comment :  35
       Block comment :  4
               Mixed :  25
 Empty block comment :  0
               Empty :  57
               To Do :  1

Number of files read :  1

----------------------------

Closes #90

flosse commented 6 years ago

I'd consider this as a breaking change, so we should increase the version to v0.3.0. Do you agree?

zwrawr commented 6 years ago

It's going to break some of my code, so yes

flosse commented 6 years ago

thx!