Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

add resourceAvgDuration to resource #102

Merged
merged 2 commits into from
Aug 30, 2019

Conversation

fatihaydilek
Copy link
Contributor

No description provided.

@@ -53,12 +56,19 @@ class Resource {
});
}
this.resourceDuration += resource.resourceDuration;
this.updateResourceAvgDuration(resource.resourceDuration);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't this be

this.resourceAvgDuration = this.resourceDuration / this.resourceCount;

simply?

@serkan-ozal serkan-ozal merged commit d763cad into master Aug 30, 2019
@coveralls
Copy link

Pull Request Test Coverage Report for Build 608

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 69.894%

Totals Coverage Status
Change from base Build 598: 0.02%
Covered Lines: 2296
Relevant Lines: 3054

💛 - Coveralls

@kobalski kobalski deleted the feature/add-resourceAvgDuration branch October 30, 2019 12:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants