MCPcopy Create free account
hub / github.com/awelm/simpledb / estimateScanCostTest

Method estimateScanCostTest

test/simpledb/TableStatsTest.java:51–88  ·  view source on GitHub ↗

Verify the cost estimates of scanning various numbers of pages from a HeapFile This test checks that the estimateScanCost is: +linear in numPages when IO_COST is constant +linear in IO_COST when numPages is constant +quadratic when IO_COST and numPages increase linearly.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

checkConstantMethod · 0.95
checkLinearMethod · 0.95
checkQuadraticMethod · 0.95

Tested by

no test coverage detected