Lines of Code (LOC) Codewarrior v11.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Lines of Code (LOC) Codewarrior v11.0

876 Views
christinar
Contributor II

Hello together,

How can I find out the lines of code of my program? I'm using CodeWarrior v11.0. I found something in the .map file (Module Statistic with Data, Code and Const for each object) but don't think that's the LOC, because it's a lot more than my program.

Where can I find the LOC?

Thank you in advance

Christina

Tags (1)
0 Kudos
4 Replies

701 Views
BlackNight
NXP Employee
NXP Employee

Hi Christina,

you can use CLOC -- Count Lines of Code  for this.

I hope this helps,

Erich

0 Kudos

701 Views
christinar
Contributor II

Thanks, but do you know if this information is in a file that CodeWarrior generates?

0 Kudos

701 Views
BlackNight
NXP Employee
NXP Employee

It is not directly availalbe, but you can use the postbuild step for generating this.

Executing Multiple Commands as Post-Build Steps in Eclipse | MCU on Eclipse 

Erich

0 Kudos

701 Views
christinar
Contributor II

Ok thank you very much!

Kind regards,

Christina

0 Kudos