How is "Top Damage for Complete Raids" Calculated

Hello,

My name is Shagy, Warrior on Grobbulus-US.
I am asking for some transparency on how “Complete Raid Damage” is calculated.
I am currently ranked #4 overall (reference - https://classic.warcraftlogs.com/server/rankings/5005/1000#metric=dps&class=DPS ) , but have been unable to bump that up since early November, despite doing way more damage as of recently.
May I have some transparency on how this is calculated? Does "Damage Done x Time of Fight " have a lot to do with it? Is it the entire raid including trash?

Also how do the “All Star” points work? I am #4 on server in Damage, but like #60 for “All Stars”. There is no explanation anywhere (unless Im missing it) as to how this is all calculated.

Thanks a bunch!!
Shagy