成員
instrumented_files_info
InstrumentedFilesInfo coverage_common.instrumented_files_info(ctx, *, source_attributes=[], dependency_attributes=[], extensions=None)
參數
| 參數 | 說明 | 
|---|---|
| ctx | 必要 規則背景資訊。 | 
| source_attributes | 預設 = [] 屬性名稱清單,其中包含由這項規則處理的來源檔案。 | 
| dependency_attributes | 預設 = [] 可能提供執行階段依附元件 (程式碼依附元件或執行檔案) 的屬性名稱清單。 | 
| extensions | sequence of strings; or None;
                                     預設值 = 無用於從 source_attributes 篩選檔案的副檔名。例如「js」。如未提供 (或 None),如果提供空白清單,系統就不會將 source_attributes 中的所有檔案新增至檢測檔案中,且不會新增來源屬性的檔案。 |