Skip to content

Commit

Permalink
chore: cleanup iac custom rules analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
teodora-sandu committed Jul 4, 2022
1 parent 45364fd commit f77ee59
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 65 deletions.
5 changes: 0 additions & 5 deletions src/cli/commands/test/iac/local-execution/analytics.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { FormattedResult, PerformanceAnalyticsKey, RulesOrigin } from './types';
import * as analytics from '../../../../../lib/analytics';
import { calculatePercentage } from './math-utils';
import { computeCustomRulesBundleChecksum } from './file-utils';
import { DescribeOptions, DriftAnalysis } from '../../../../../lib/iac/types';
import { driftctlVersion } from '../../../../../lib/iac/drift/driftctl';
Expand Down Expand Up @@ -60,10 +59,6 @@ export function addIacAnalytics(
opts.rulesOrigin === RulesOrigin.Remote,
);
analytics.add('iac-custom-rules-issues-count', issuesFromCustomRulesCount);
analytics.add(
'iac-custom-rules-issues-percentage',
calculatePercentage(issuesFromCustomRulesCount, totalIssuesCount),
);
analytics.add(
'iac-custom-rules-checksum',
computeCustomRulesBundleChecksum(),
Expand Down
10 changes: 0 additions & 10 deletions src/cli/commands/test/iac/local-execution/math-utils.ts

This file was deleted.

50 changes: 0 additions & 50 deletions test/jest/unit/iac/math-utils.spec.ts

This file was deleted.

0 comments on commit f77ee59

Please sign in to comment.