Conghao97's picture tcftrees's picture
ProgramGen release
d086025
Raw History Blame Contribute Delete
13.7 kB
{
"passed_ptp": [
"tests.test_line::test_globals",
"tests.test_line::test_tarantula",
"tests.test_line::test_ohiai",
"tests.test_line::test_dstar",
"tests.test_line::test_ochiai2",
"tests.test_line::test_line_create",
"tests.test_line::test_line_sus_all",
"tests.test_line::test_line_sus_unknown",
"tests.test_line::test_as_csv",
"tests.test_line::test_sus_text",
"tests.test_proj_file::test_projfile_init",
"tests.test_proj_file::test_update_file_new_key",
"tests.test_proj_file::test_update_file_existing_key_passed",
"tests.test_proj_file::test_update_file_existing_key_failed",
"tests.test_proj_file::test_update_file_existing_key_skipped",
"tests.test_proj_file::test_update_file_unknown_result",
"tests.test_proj_file::test_get_datasets",
"tests.test_spectrum_parser::test_spectrum_init",
"tests.test_spectrum_parser::test_spectrum_init_empty_config",
"tests.test_spectrum_parser::test_spectrum_generate_report_throws_error",
"tests.test_spectrum_parser::test_spectrum_init_eval_mode",
"tests.test_spectrum_parser::test_spectrum_init_enhanced_tiebreaker",
"tests.test_spectrum_parser::test_spectrum_init_logical_tiebreaker",
"tests.test_spectrum_parser::test_spectrum_init_cyclomatic_tiebreaker",
"tests.test_spectrum_parser::test_spectrum_print_report_throws_error",
"tests.test_spectrum_parser::test_calculate_severity"
],
"test_files": [
"tests/__init__.py",
"tests/conftest.py",
"tests/test_data/__init__.py",
"tests/test_data/sample_file.py",
"tests/test_line.py",
"tests/test_proj_file.py",
"tests/test_spectrum_parser.py"
],
"test_command": [
"python3",
"-m",
"pytest",
"-vv",
"--continue-on-collection-errors",
"-o",
"addopts=",
"tests/test_line.py",
"tests/test_proj_file.py",
"tests/test_spectrum_parser.py"
],
"test_payload_contract": {
"schema_version": "programgen.test-payload-contract.v1",
"test_files": [
"tests/__init__.py",
"tests/conftest.py",
"tests/test_data/__init__.py",
"tests/test_data/sample_file.py",
"tests/test_line.py",
"tests/test_proj_file.py",
"tests/test_spectrum_parser.py"
],
"test_command": [
"python3",
"-m",
"pytest",
"-vv",
"--continue-on-collection-errors",
"-o",
"addopts=",
"tests/test_line.py",
"tests/test_proj_file.py",
"tests/test_spectrum_parser.py"
],
"text_fixtures": [
"tests/test_data/test_spectrum_init.json"
],
"binary_fixtures": [],
"nonportable_absolute_paths": [],
"required_external_commands": [],
"declared_console_scripts": [],
"unresolved_external_commands": []
},
"unit_test": [
"tests.test_line::test_globals",
"tests.test_line::test_tarantula",
"tests.test_line::test_ohiai",
"tests.test_line::test_dstar",
"tests.test_line::test_ochiai2",
"tests.test_line::test_line_create",
"tests.test_line::test_line_sus_all",
"tests.test_line::test_line_sus_unknown",
"tests.test_line::test_as_csv",
"tests.test_line::test_sus_text",
"tests.test_proj_file::test_projfile_init",
"tests.test_proj_file::test_update_file_new_key",
"tests.test_proj_file::test_update_file_existing_key_passed",
"tests.test_proj_file::test_update_file_existing_key_failed",
"tests.test_proj_file::test_update_file_existing_key_skipped",
"tests.test_proj_file::test_update_file_unknown_result",
"tests.test_proj_file::test_get_datasets",
"tests.test_spectrum_parser::test_spectrum_init",
"tests.test_spectrum_parser::test_spectrum_init_empty_config",
"tests.test_spectrum_parser::test_spectrum_generate_report_throws_error",
"tests.test_spectrum_parser::test_spectrum_init_eval_mode",
"tests.test_spectrum_parser::test_spectrum_init_enhanced_tiebreaker",
"tests.test_spectrum_parser::test_spectrum_init_logical_tiebreaker",
"tests.test_spectrum_parser::test_spectrum_init_cyclomatic_tiebreaker",
"tests.test_spectrum_parser::test_spectrum_print_report_throws_error",
"tests.test_spectrum_parser::test_calculate_severity"
],
"expected_test_count": 50,
"measured_test_count": 50,
"enumerated_test_count": 26,
"test_count_source": "measured-suite",
"python_install_contract": {
"strategy": "editable-install",
"project_root": ".",
"package_roots": [
"."
],
"build_backend": "poetry.core.masonry.api",
"build_system_requires": [
"poetry-core>=1.0.0"
],
"editable": true,
"project_dependencies": [],
"editable_requires": [],
"runtime_strategy": "editable-install",
"runtime_build_inputs": [
"README.md"
],
"build_context_inputs": [],
"distribution_name": "afluent",
"evidence": [
"./pyproject.toml"
],
"errors": [],
"isolate_build_backend": false,
"schema_version": "programgen.python-install-contract.v7"
},
"test_binary_files": [],
"artifact_contract_version": "programgen.forward-harbor.v6",
"renderer_schema_version": "programgen.forward-renderer.v4",
"test_import_contract": [
{
"test_file": "tests/conftest.py",
"source_file": null,
"import_root": "json",
"definition_path": null,
"required_import_path": "json",
"import_statement": "import json",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/conftest.py",
"source_file": null,
"import_root": "pathlib",
"definition_path": null,
"required_import_path": "pathlib",
"import_statement": "import pathlib",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/conftest.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_line.py",
"source_file": "afluent/line.py",
"import_root": "afluent",
"definition_path": "afluent.line",
"required_import_path": "afluent.line",
"import_statement": "from afluent import line",
"symbol": null,
"kind": "module",
"classification": "local-module"
},
{
"test_file": "tests/test_line.py",
"source_file": "afluent/line.py",
"import_root": "afluent",
"definition_path": "afluent.line.CYCLOMATIC",
"required_import_path": "afluent.line.CYCLOMATIC",
"import_statement": "from afluent import line",
"symbol": "CYCLOMATIC",
"kind": "constant",
"classification": "local-resolved"
},
{
"test_file": "tests/test_line.py",
"source_file": "afluent/line.py",
"import_root": "afluent",
"definition_path": "afluent.line.DSTAR",
"required_import_path": "afluent.line.DSTAR",
"import_statement": "from afluent import line",
"symbol": "DSTAR",
"kind": "constant",
"classification": "local-resolved"
},
{
"test_file": "tests/test_line.py",
"source_file": "afluent/line.py",
"import_root": "afluent",
"definition_path": "afluent.line.ENHANCED",
"required_import_path": "afluent.line.ENHANCED",
"import_statement": "from afluent import line",
"symbol": "ENHANCED",
"kind": "constant",
"classification": "local-resolved"
},
{
"test_file": "tests/test_line.py",
"source_file": "afluent/line.py",
"import_root": "afluent",
"definition_path": "afluent.line.LOGICAL",
"required_import_path": "afluent.line.LOGICAL",
"import_statement": "from afluent import line",
"symbol": "LOGICAL",
"kind": "constant",
"classification": "local-resolved"
},
{
"test_file": "tests/test_line.py",
"source_file": "afluent/line.py",
"import_root": "afluent",
"definition_path": "afluent.line.Line",
"required_import_path": "afluent.line.Line",
"import_statement": "from afluent import line",
"symbol": "Line",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/test_line.py",
"source_file": "afluent/line.py",
"import_root": "afluent",
"definition_path": "afluent.line.OCHIAI",
"required_import_path": "afluent.line.OCHIAI",
"import_statement": "from afluent import line",
"symbol": "OCHIAI",
"kind": "constant",
"classification": "local-resolved"
},
{
"test_file": "tests/test_line.py",
"source_file": "afluent/line.py",
"import_root": "afluent",
"definition_path": "afluent.line.OCHIAI2",
"required_import_path": "afluent.line.OCHIAI2",
"import_statement": "from afluent import line",
"symbol": "OCHIAI2",
"kind": "constant",
"classification": "local-resolved"
},
{
"test_file": "tests/test_line.py",
"source_file": "afluent/line.py",
"import_root": "afluent",
"definition_path": "afluent.line.RANDOM",
"required_import_path": "afluent.line.RANDOM",
"import_statement": "from afluent import line",
"symbol": "RANDOM",
"kind": "constant",
"classification": "local-resolved"
},
{
"test_file": "tests/test_line.py",
"source_file": "afluent/line.py",
"import_root": "afluent",
"definition_path": "afluent.line.TARAN",
"required_import_path": "afluent.line.TARAN",
"import_statement": "from afluent import line",
"symbol": "TARAN",
"kind": "constant",
"classification": "local-resolved"
},
{
"test_file": "tests/test_line.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_proj_file.py",
"source_file": "afluent/line.py",
"import_root": "afluent",
"definition_path": "afluent.line",
"required_import_path": "afluent.line",
"import_statement": "from afluent import line, proj_file",
"symbol": null,
"kind": "module",
"classification": "local-module"
},
{
"test_file": "tests/test_proj_file.py",
"source_file": "afluent/line.py",
"import_root": "afluent",
"definition_path": "afluent.line.Line",
"required_import_path": "afluent.line.Line",
"import_statement": "from afluent import line, proj_file",
"symbol": "Line",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/test_proj_file.py",
"source_file": "afluent/proj_file.py",
"import_root": "afluent",
"definition_path": "afluent.proj_file",
"required_import_path": "afluent.proj_file",
"import_statement": "from afluent import line, proj_file",
"symbol": null,
"kind": "module",
"classification": "local-module"
},
{
"test_file": "tests/test_proj_file.py",
"source_file": "afluent/proj_file.py",
"import_root": "afluent",
"definition_path": "afluent.proj_file.ProjFile",
"required_import_path": "afluent.proj_file.ProjFile",
"import_statement": "from afluent import line, proj_file",
"symbol": "ProjFile",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/test_proj_file.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
},
{
"test_file": "tests/test_spectrum_parser.py",
"source_file": "afluent/spectrum_parser.py",
"import_root": "afluent",
"definition_path": "afluent.spectrum_parser",
"required_import_path": "afluent.spectrum_parser",
"import_statement": "from afluent import spectrum_parser",
"symbol": null,
"kind": "module",
"classification": "local-module"
},
{
"test_file": "tests/test_spectrum_parser.py",
"source_file": "afluent/spectrum_parser.py",
"import_root": "afluent",
"definition_path": "afluent.spectrum_parser.PALETTE",
"required_import_path": "afluent.spectrum_parser.PALETTE",
"import_statement": "from afluent import spectrum_parser",
"symbol": "PALETTE",
"kind": "constant",
"classification": "local-resolved"
},
{
"test_file": "tests/test_spectrum_parser.py",
"source_file": "afluent/spectrum_parser.py",
"import_root": "afluent",
"definition_path": "afluent.spectrum_parser.Spectrum",
"required_import_path": "afluent.spectrum_parser.Spectrum",
"import_statement": "from afluent import spectrum_parser",
"symbol": "Spectrum",
"kind": "class",
"classification": "local-resolved"
},
{
"test_file": "tests/test_spectrum_parser.py",
"source_file": null,
"import_root": "pytest",
"definition_path": null,
"required_import_path": "pytest",
"import_statement": "import pytest",
"symbol": null,
"kind": "external",
"classification": "external"
}
],
"test_import_contract_digest": "f46ecdf775cc56acecf80a753f528b74c1938e3dc5286542cfc5dac25fb53edd"
}