Cast Time Analysis

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

Cast Time Analysis

Cast Time Analysis is an addon designed to give feedback to Casters to improve their play in a PvE environment. The goal of a caster in most boss fights is to remain either casting or in a global cooldown at all times while maintaining a proper rotation. While Cast Time Analysis won't help with the latter, it will give you feedback after every fight (or boss fight), notifying you how much time you spent actually casting.

Type /cta or /casttimeanalysis for configuration.

Cast Time Analysis reports the following values:

  • Quiet - Time spent not doing anything, typically from moving around.
  • Dead - Time spent dead, if you choose to enable waiting for raid combat.
  • Lag - Time between when you send a spell cast to the server and when the server starts or completes it.
  • Wasted - Time spent casting a spell that is ultimately interrupted or cancelled by the user.
  • Used - Time spent in actual casts. This is further broken down into "Channel", "Global", and "Cast" for your benefit.


  • Boss Only - Enables reporting only on boss fights.
  • Raid Combat - Waits until the entire raid is out of combat to report. Time spent dead will be logged as such.
  • Report Deaths - If you are using raid combat, this will allow you to show time spent dead as part of your breakdown or simply subtract it out.

While this addon is very simple in its current state, there is much potential for growth to help fine tune the accuracy reports you get back. I would also like to note that although I have done a decent amount of testing on this as a Fire Mage, I do not have access to much else, so I am at the mercy of feedback from the community when it comes to other casters.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of pigmonkey pigmonkey Sep 29, 2010 at 10:39 UTC - 0 likes

    It appears that only certain bosses are tagged as actual "bosses" by Blizzard, so instead of testing for their classification, I changed it to any unit whose level is -1, also known as a skull portrait. I can't think of any major drawback for this method aside from engaging in combat with a player or mob that is 10 levels higher than you, but hopefully this will solve the problems of bosses not being detected. Let me know if there are any more problems.

    Last edited Sep 29, 2010 by pigmonkey
  • Avatar of enderiii enderiii Sep 24, 2010 at 06:47 UTC - 0 likes

    Sorry what I meant was when you madly smash keys and you try to cast before the GCD has expired and well I seem to loose time to this regularly so would like to know how many times I do this and possibly how much time I loose just because of that.

    I play on an oceanic server with usually around 200ms latency which is good really most of the people I play with are around 250-300ms so being able to turn on certain parts of the report at the end of a fight would be useful as there is not a lot I can do about latency.

    Well I spend the past two night learning and downing Halion and I am pretty sure that I didn't get a single report at the end of a try or the final kill but it worked on our next boss which was a single try on LK before the end of our raid.


  • Avatar of pigmonkey pigmonkey Sep 23, 2010 at 23:41 UTC - 0 likes

    Option screens are simple, I just wasn't sure how crazy people were about an entire screen for 3 checkboxes. I like the average/min/max time values, but could you clarify what you meant when you said "invalid key presses"?

    As far as Halion goes, that's somewhat surprising because it counts any unit that is of boss-level (represented by the skull icon) as a boss. I will look into it, but I probably won't be able to get into an instance until we do it next Tuesday.

  • Avatar of enderiii enderiii Sep 23, 2010 at 12:22 UTC - 0 likes

    CTA Doesn't seem to be aware of Halion as a boss

  • Avatar of enderiii enderiii Sep 23, 2010 at 04:30 UTC - 0 likes

    Yes can understand the desire to keep mod simple.

    How about some other stats like average time between when cast finished and next cast started and then the shortest and longest time value.

    It might also be interesting to have a count of invalid key presses due to GCD not quite being finished.

    Could you possibly do an option screen to allow users to turn on and off different report options.

    I will try to do some testing on my warlock and spriest this evening to see what sort of results I get.


  • Avatar of Crazytoo Crazytoo Sep 22, 2010 at 22:00 UTC - 0 likes

    Sorry We wiped, I released to run back, went thru the screen and got the error the minute the game loaded at the spirit rezzer.

  • Avatar of pigmonkey pigmonkey Sep 22, 2010 at 20:52 UTC - 0 likes

    Some sort of history would be a good idea, but I'll definitely need to think of a way to do it without over-complicating the addon.

    Seems I missed a locale entry. I double checked everything now and added another slash command, so the latest version should be error free for the most part. I'm not sure how none of my beta testers in guild didn't report this.

    Last edited Sep 22, 2010 by pigmonkey
  • Avatar of Crazytoo Crazytoo Sep 22, 2010 at 07:50 UTC - 0 likes


    Date: 2010-09-21 21:17:12 ID: -1 Error occured in: Global Count: 1 Message: AceLocale-3.0: CastTimeAnalysis: Missing entry for 'Dead' Debug: ...ddOns\AtlasLoot\Libs\AceLocale-3.0\AceLocale-3.0.lua:31: ...ddOns\AtlasLoot\Libs\AceLocale-3.0\AceLocale-3.0.lua:29 ...terface\AddOns\CastTimeAnalysis\CastTimeAnalysis.lua:423: GetStat() ...terface\AddOns\CastTimeAnalysis\CastTimeAnalysis.lua:406: ...terface\AddOns\CastTimeAnalysis\CastTimeAnalysis.lua:392 (tail call): ? [C]: ? [string "safecall Dispatcher[2]"]:9: [string "safecall Dispatcher[2]"]:5 (tail call): ? ...\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:164: ...\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:138

  • Avatar of enderiii enderiii Sep 21, 2010 at 10:40 UTC - 0 likes

    Looking at it tonight on LK and an option to keep a history or more than one try would be a nice feature so I can see if I am doing better or worse each try.

    Love the idea of the mod it is so hard to read this information out of the combat logs.


  • Avatar of pigmonkey pigmonkey Sep 21, 2010 at 09:32 UTC - 0 likes

    Slash commands are done and options should be functional in v0.5. I will be testing this more extensively during our raid tonight.


Date created
Sep 16, 2010
Last update
Jan 29, 2011
Development stage
  • enUS
MIT License
Recent files
  • A: r20 for 4.0.3a Jan 29, 2011
  • B: v0.6b3 for 4.0.1 Oct 18, 2010
  • B: v0.6b2 for 3.3.5 Sep 29, 2010
  • B: v0.6b1 for 3.3.5 Sep 22, 2010
  • B: v0.5b2 for 3.3.5 Sep 21, 2010



Embedded library