Forum > IDE/CodeTools

Keeping track of project statistics - timings

(1/9) > >>

ertank:
Hello,

I would love to see a functionality which recent versions of Delphi has (please see attached picture). It would be sufficient to have some of them as a starter.

I have no experience with Lazarus code myself. I might be a semi-volunteer (because my Pascal skills are not expert), but I don't even know where to look. It would be nice to have information of Project total time, Editing time as a starter.

It may be added design time, debug time etc later.

Of course, it has to be decided where these information will be saved. In a new file? (Delphi is doing it this way) or, in project file itself?

I event do not know if this forum is the right place to fire that post.

Thanks & regards,
Ertan

Martin_fr:

--- Quote from: ertank on July 19, 2017, 11:05:59 pm ---Of course, it has to be decided where these information will be saved. In a new file? (Delphi is doing it this way) or, in project file itself?

--- End quote ---

Sounds like the could go into project session. (lps file)
Same like which file is open in which editor.

tr_escape:
Actually maybe GIT integration is will be good for Lazarus but as you know if you don't commit your changes/codes to GIT or other versioning or work/project trackers can't help you.

Delphi has got a history system but as I know not working on form design , however if you save all of your changes into a history database your project size will be incrase.

GetMem:
This feature is relatively easy to implement but is it worth it? I see in the screenshot "Editing Time". What if Lazarus is open, the editor is in focus, but I'm away for a coffe break. Still considered editing? Or should I start a timer after the last keystroke? What if I'm adding 100 icon to my project with the mouse? Still considered editing right? Hook the mouse? What is "Other"? So many questions...

taazz:

--- Quote from: GetMem on July 20, 2017, 07:35:55 am ---This feature is relatively easy to implement but is it worth it? I see in the screenshot "Editing Time". What if Lazarus is open, the editor is in focus, but I'm away for a coffe break. Still considered editing? Or should I start a timer after the last keystroke?

--- End quote ---
No you start a timmer on the application Idle and when it passes a threshold eg 10 seconds you stop counting editing if a key is pressed inside that time you reset the timer.

--- Quote from: GetMem on July 20, 2017, 07:35:55 am ---What if I'm adding 100 icon to my project with the mouse? Still considered editing right? Hook the mouse? What is "Other"? So many questions...

--- End quote ---
No this is considered design time.

--- Quote from: GetMem on July 20, 2017, 07:35:55 am ---Hook the mouse?

--- End quote ---
No same concept while the designer is on top of the editor and the application on idle has never passed a threshold period then it counts as design time. If there was a UML designer included then we could split hairs about what type of design although it would be a subgroup of the design group also.

--- Quote from: GetMem on July 20, 2017, 07:35:55 am ---What is "Other"? So many questions...

--- End quote ---
well for now edit/design/admiring are the 3 that need to be done :P

Navigation

[0] Message Index

[#] Next page

Go to full version