Lines of Code (LOC) Codewarrior v11.0

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Lines of Code (LOC) Codewarrior v11.0

936 次查看
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

标记 (1)
0 项奖励
4 回复数

761 次查看
BlackNight
NXP Employee
NXP Employee

Hi Christina,

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

I hope this helps,

Erich

0 项奖励

761 次查看
christinar
Contributor II

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

0 项奖励

761 次查看
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 项奖励

761 次查看
christinar
Contributor II

Ok thank you very much!

Kind regards,

Christina

0 项奖励