Zizzamia/perfume.js

View on GitHub
Branch: master(View all)
NameLines of codeMaintainabilityTest coverage
.eslintrc.js277
A
0 mins
src/types.ts178
C
1 day
docs/src/app/app.component.ts172
B
6 hrs
__tests__/steps/measureStep.spec.ts165
C
1 day
__tests__/_mock.ts152
B
5 hrs
__tests__/steps/navSteps.spec.ts142
A
0 mins
__tests__/reportPerf.spec.ts141
C
1 day
__tests__/log.spec.ts136
C
7 hrs
__tests__/initPerfume.spec.ts126
A
3 hrs
docs/src/app/perfume.ts118
B
4 hrs
__tests__/stepsTestConstants.ts97
B
4 hrs
__tests__/steps/setStepsMap.spec.ts90
A
0 mins
__tests__/steps/markStep.spec.ts88
C
1 day
src/steps/navigationSteps.ts79
B
5 hrs
__tests__/resourceTiming.spec.ts69
A
0 mins
rollup.config.ts67
A
0 mins
__tests__/getNavigatorInfo.spec.ts65
B
5 hrs
__tests__/observe.spec.ts61
A
2 hrs
src/log.ts55
A
0 mins
A
100%
src/vitalsScore.ts52
B
4 hrs
A
100%
__tests__/steps/markJourney.spec.ts50
A
2 hrs
src/steps/measureStep.ts48
A
1 hr
__tests__/storageEstimate.spec.ts48
A
0 mins
src/initPerfume.ts47
A
2 hrs
__tests__/isLowEnd.spec.ts46
A
2 hrs
__tests__/totalBlockingTime.spec.ts45
A
0 mins
__tests__/markNTBT.spec.ts44
B
6 hrs
__tests__/vitalsScore.spec.ts41
B
5 hrs
src/steps/markStep.ts40
A
0 mins
__tests__/getNavigationTiming.spec.ts39
A
40 mins
src/steps/steps.ts36
A
0 mins
__tests__/steps/onMarkJourney.spec.ts36
A
0 mins
__tests__/measure.spec.ts35
A
0 mins
src/reportPerf.ts34
A
35 mins
A
100%
src/observe.ts33
A
0 mins
A
100%
src/steps/measureSteps.ts29
A
0 mins
__tests__/steps/markJourneyOnce.spec.ts29
A
0 mins
docs/src/karma.conf.js28
A
1 hr
__tests__/utils.spec.ts26
A
0 mins
src/isLowEnd.ts26
A
0 mins
A
100%
__tests__/getNetworkInformation.spec.ts25
A
0 mins
src/steps/setStepsMap.ts25
A
25 mins
__tests__/onVisibilityChange.spec.ts25
A
3 hrs
src/performanceObserver.ts24
A
0 mins
A
100%
src/getNavigationTiming.ts24
A
0 mins
A
100%
src/metrics.ts23
A
0 mins
A
100%
docs/e2e/protractor.conf.js23
A
0 mins
__tests__/isSupported.spec.ts23
A
40 mins
src/getNavigatorInfo.ts21
A
45 mins
A
100%
src/getNetworkInformation.ts21
A
0 mins
A
100%