Marc Cramdal's blog

Saturday, November 20, 2004

Kopete statistics plugin, a screenshot

On screenshot is clearer than a long text. Here is one with some explanations.

  • First statistics group : some general times. How many time Kopete has seen this contact (it means online or offline or away). How many time Kopete saw this user Online, etc.
  • Then, average message length and the time between two messages. Easy to understand ;-)
  • Then, charts. The first in black is the repartition by hours of the "seen" time. Here Kopete saw this contact at 20:00 16% of the total seen time. Kopete saw him Online 10% of the total seen time etc. When you go over the bars which are simple HTML <hr>, you get a tooltip.
  • Then you see the different status this user has taken today. You can check quickly when he was Online with the blue lines.

The log tab is only the database fields in a listview.

A word on "predictions" :
The next thing I want to implement is a prediction saying when the user will probably go Online or Offline. For Online it is not that much difficult. For Offline, I'm awaiting lilachaze's patch ;-). It will be really great then.

I hope you like it :-) Feel free to comment (i'm not sure if comments works well but they should). Last but not least, really sorry for all my mistakes.


  • It looks good, but I think it is a little bit unethical to create that kind of statistics, monitoring your friends.

    By Anonymous Anonymous, at 11:44 PM  

  • Yes. To a certain extend.
    But :
    - You are free to activate or not the plugin
    - These are not really confidential informations. You do not obtain them illegally.
    - For people which use IM for work, it could be really useful. See the link in my previous post.

    By Blogger Marc Cramdal, at 11:54 PM  

  • I've created a plugin for Gaim a long time ago that did stats. However, my stats were along the lines of: screenname -- Messages sent to them -- Messages recv from them -- and the time you last sent a message to them. I really liked the time thing since I can immediatly see when I last talked to someone. I was also able to sort by messages sent, recv'd, screenname, and time. It looked kind of like this:

    [Nov 20th 20:01] (screenname 1 ) sent: 100 recv: 20
    [Nov 20th 20:11] (screenname 2 ) sent: 20 recv 30
    [Nov 19th 12:22] (screenname 3 ) sent: 44 recv 50

    Also, if you were in a conversation with someone and typed '/stats', your stats for the other person would get sent to them. So if I was talking to 'screenname 1' and typed '/stats' ... "[Nov 20th 20:01] (screenname 1 ) sent: 100 recv: 20" would have got sent to them

    By Anonymous Anonymous, at 12:02 AM  

  • I think to display the hours with that precise is not useful and not even precise. Whay don't you round the numbers: 4.1 instead of 4.123456 hours.

    By Anonymous Anonymous, at 10:36 AM  

  • It is just for test purpose, to see exactly, but for the "release", I will obviously round these floats.

    By Blogger Marc Cramdal, at 11:16 AM  

  • great work :-)
    maybe the charts would look better if layed horizontally?

    By Anonymous Anonymous, at 12:08 PM  

  • Yes you are true, but at that time I use html <hr> to do my charts so it only can be horizontal. I don't know any mean to produce vertical bars in html (or I will have to generate images :()

    By Blogger Marc Cramdal, at 12:29 PM  

  • I think it would make sence to display the times not as H.hhhh, but as H:MM:SS.sss, which is easier to read and more natural for time values I think.

    By Anonymous Anonymous, at 2:24 PM  

  • I agree with the above comment about giving times as HH:mm rather than hours to 5dp. As someone with a masters in maths, I just laugh when I see a measurement given to 0.03 seconds accuracy for something like this - totally over the top!

    By Anonymous Anonymous, at 7:27 PM  

  • Without any master but just learning maths in high school, I'm laughing too. I repeat, this was just for test purposes and now it is changed to HH:mm:ss.


    By Blogger Marc Cramdal, at 7:53 PM  

  • That looks awesome. I can't wait to get it in CVS. Sorry once more about the delay on the Offline->Unknown thing. There's always one more thing to do with this OSCAR rewrite... I'll try to get a patch together tonight or tomorrow. Bug me on IRC if I don't :)
    -- lilachaze

    By Anonymous Anonymous, at 9:56 PM  

  • By Anonymous Anonymous, at 8:15 PM  

  • By Anonymous Anonymous, at 9:56 PM  

  • By Anonymous Anonymous, at 1:48 PM  

  • Hi, my mame is OuiOui
    from France
    , Ce site est tres cool merci ! Annuaire France
    , my web site , my e-mail:

    By Anonymous Anonymous, at 2:03 AM  

  • Hi, my name is alizee_bi
    from United States
    , i like your web site, very good job !
    , my web site , my e-mail:

    By Anonymous Anonymous, at 3:11 PM  

  • Hi, my name is sexy-girl
    from United States
    , Hi, my name is Gauge, i'love your Website. Very Good Job.
    , my web site , my e-mail:

    By Anonymous Anonymous, at 10:34 AM  

  • Hi, my name is britney_et_samantha
    from United States
    , Join The Orgie
    , my web site , my e-mail:

    By Anonymous Anonymous, at 12:59 PM  

  • If I were gold für wow a boy again,world of warcraft gold I would practice perseverance wow gold cheap more often,maple meso and never give up a thing because it was or inconvenient. If we want light,Maple Story Account we must conquer darkness. Perseverance can sometimes equal genius in its gold kaufen “There are only two creatures,”cheap maplestory mesos syas a proverb, “who can surmount the pyramids—the eagle and the snail.” If I were a boy again,wow geld I would school myself into a habit of attention;maple mesos I would let nothing come between me and the subject in hand.maple story power leveling I would remember that a good skater never tries to skate in two directions at once.billig wow gold The habit of attention becomes part of our life, if we begain early enough. I often hear grown up people say maple story items“ I could not fix my attention on the sermon or book, although I wished to do so” , wow powerlevelingand the reason is, the habit was not formed in youth. If I were to live my life over again,wow leveling I would pay more attention to the cultivation of the memory. I would strengthen that faculty by every possible means,wow power leveling and on every possible occasion.maplestory powerleveling It takes a little hard work at first

    By Anonymous Anonymous, at 9:12 AM  

  • Buy Generic Cialis Online For Full Customer Satisfaction. Order Cheap Cialis Prescription or Buy Tadalafil at the Best Prices from
    Online Pharmacy | Buy Viagra | Buy Tramadol | Buy Cialis | Buy Fioricet | Buy Ultram | Buy Soma | Buy Tamiflu | Buy Levitra

    By Blogger Online Pharmacy, at 12:50 PM  

  • Nice content, I trust this is a nice blog. Wish to see fresh content next time. Thanks for sharing this post with us. Keep it up. buy Levitra

    By Blogger James Cameron, at 9:15 PM  

Post a Comment

<< Home