Re: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-18 Thread Geoff Canyon via use-livecode
Late to the party, but the contextual menu in Navigator has a scripts sub-menu: Scripts Count Count with Behaviors Count Enclosed Count Enclosed with Behaviors - Copy Copy with Behaviors Copy Enclosed Copy Enclosed with Behaviors The counting options report looks like this: The size of the scrip

Re: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-15 Thread Bob Sneidar via use-livecode
I can think of one use case. A developer might charge for lines of code instead of hours spent. Bob S > On Mar 14, 2019, at 08:10 , Richard Gaskin via use-livecode > wrote: > > So dear readers, please understand that I'm rather eager to produce exactly > what you're looking for, if I can l

Re: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-14 Thread Richard Gaskin via use-livecode
Mark Wieder wrote: > On 3/12/19 4:30 PM, Richard Gaskin via use-livecode wrote: >> >> At some point I'll roll project metrics into the Projects pane in >> devolution, but truth be told I have a note about that right in the >> very place I'll be adding it, and no one's asked about it. > > Well, I'

Re: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-12 Thread Matthias Rebbe via use-livecode
@Jerry @Brian Thanks to both of you. So i was remembering right that there was such a tool Will try tomorrow. Exporting will do. I can check the length of each file after export. @Richard Thanks, but i think i am okay with BrianĀ“s tool. Most important for me is just the total number of lines of

Re: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-12 Thread Mark Wieder via use-livecode
On 3/12/19 4:30 PM, Richard Gaskin via use-livecode wrote: My old stats collection included a tool for measuring Cyclomatic Complexity, re-weighting McCabe's classic algo in ways that provide a better assessment that takes xTalk's unique language characteristics into account. At some point I

Re: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-12 Thread Richard Gaskin via use-livecode
Matthias Rebbe wrote: > i might be wrong, but i think to remember that there was a plugin or > tool available some (maybe long) time ago which was able to give some > stats about the scripts in a stack or was able to export all scripts > of a stack. I used to write things like that, but now tha

Re: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-12 Thread Brian Milby via use-livecode
I have a tool that exports the scripts of a stack but does not supply any stats. https://forums.livecode.com/viewtopic.php?f=77&t=31079 https://github.com/bwmilby/lc-misc/tree/master/ScriptTracker https://github.com/bwmilby/lc-misc/blob/master/ScriptTracker/ScriptTracker.md Thanks, Brian On Mar 1

Re: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-12 Thread JJS via use-livecode
check here: https://forums.livecode.com/viewtopic.php?f=77&p=174741#p174704 from brian milby, it's great. regards, Jerry Op 12-3-2019 om 22:00 schreef Matthias Rebbe via use-livecode: Hi, i might be wrong, but i think to remember that there was a plugin or tool available some (maybe long) t

get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-12 Thread Matthias Rebbe via use-livecode
Hi, i might be wrong, but i think to remember that there was a plugin or tool available some (maybe long) time ago which was able to give some stats about the scripts in a stack or was able to export all scripts of a stack. If so, does anyone remember where to find that tool? Regards, Matthi