Coverage report: 60%

Files Functions Classes

coverage.py v7.10.7, created at 2025-11-06 23:27 +0000

File class statements missing excluded branches partial coverage
backend/pinch_service/OpenPinch/__init__.py (no class) 1 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/__init__.py (no class) 1 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/analysis/__init__.py (no class) 12 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/analysis/additional_analysis.py (no class) 184 171 0 64 0 5%
backend/pinch_service/OpenPinch/src/analysis/data_preparation.py (no class) 209 21 0 100 15 86%
backend/pinch_service/OpenPinch/src/analysis/graphs.py (no class) 148 32 0 66 5 77%
backend/pinch_service/OpenPinch/src/analysis/operation_analysis.py (no class) 283 266 0 142 0 4%
backend/pinch_service/OpenPinch/src/analysis/power_cogeneration_analysis.py (no class) 175 161 2 50 0 6%
backend/pinch_service/OpenPinch/src/analysis/problem_table_analysis.py (no class) 127 4 0 20 4 95%
backend/pinch_service/OpenPinch/src/analysis/process_analysis.py (no class) 74 2 0 26 2 96%
backend/pinch_service/OpenPinch/src/analysis/region_analysis.py (no class) 7 3 0 2 0 44%
backend/pinch_service/OpenPinch/src/analysis/response.py (no class) 25 0 0 6 0 100%
backend/pinch_service/OpenPinch/src/analysis/site_analysis.py (no class) 78 2 0 22 1 97%
backend/pinch_service/OpenPinch/src/analysis/support_methods.py (no class) 107 29 0 42 6 68%
backend/pinch_service/OpenPinch/src/analysis/utility_targeting.py (no class) 161 4 0 56 7 95%
backend/pinch_service/OpenPinch/src/classes/__init__.py (no class) 6 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/classes/problem_table.py ProblemTable 85 40 0 48 6 52%
backend/pinch_service/OpenPinch/src/classes/problem_table.py ProblemTable.ColumnViewByIndex 3 3 0 0 0 0%
backend/pinch_service/OpenPinch/src/classes/problem_table.py ProblemTable.ColumnViewByName 8 2 0 2 1 70%
backend/pinch_service/OpenPinch/src/classes/problem_table.py ProblemTable.ColumnsViewByName 10 10 0 4 0 0%
backend/pinch_service/OpenPinch/src/classes/problem_table.py ProblemTable.LocationByRowByColName 7 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/classes/problem_table.py ProblemTable.LocationByRowByCol 7 7 0 0 0 0%
backend/pinch_service/OpenPinch/src/classes/problem_table.py (no class) 83 27 0 18 0 55%
backend/pinch_service/OpenPinch/src/classes/stream.py Stream 95 36 0 28 7 59%
backend/pinch_service/OpenPinch/src/classes/stream.py (no class) 83 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/classes/stream_collection.py StreamCollection 65 29 0 38 4 52%
backend/pinch_service/OpenPinch/src/classes/stream_collection.py (no class) 17 0 2 0 0 100%
backend/pinch_service/OpenPinch/src/classes/target.py Target 137 25 0 146 41 75%
backend/pinch_service/OpenPinch/src/classes/target.py (no class) 83 0 2 0 0 100%
backend/pinch_service/OpenPinch/src/classes/value.py Value 43 43 0 8 0 0%
backend/pinch_service/OpenPinch/src/classes/value.py (no class) 38 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/classes/zone.py Zone 102 35 0 80 15 66%
backend/pinch_service/OpenPinch/src/classes/zone.py (no class) 57 0 2 0 0 100%
backend/pinch_service/OpenPinch/src/lib/__init__.py (no class) 3 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/config.py Configuration 42 14 0 10 2 62%
backend/pinch_service/OpenPinch/src/lib/config.py (no class) 80 0 2 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py ZoneType 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py TargetType 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py HeatExchangerTypes 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py HeatFlowUnits 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py StreamType 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py StreamID 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py StreamLoc 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py ProblemTableLabel 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py StreamDataLabel 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py ArrowHead 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py LineColour 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py GraphType 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py SummaryRowType 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py TurbineModel 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py MainOptionsPropKeys 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py TurbineOptionsPropKeys 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/enums.py (no class) 145 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py ValueWithUnit 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py HeatUtility 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py TempPinch 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py TargetResults 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py DataPoint 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py Segment 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py Graph 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py Graph.Config 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py GraphSet 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py TargetResponse 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py StreamSchema 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py UtilitySchema 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py UtilitySchema.Config 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py ZoneTreeSchema 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py TurbineOption 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py TurbineOption.Config 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py Options 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py Options.Config 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py TargetRequest 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py THSchema 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py ProblemTableDataSchema 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py GetInputOutputData 0 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/lib/schema.py (no class) 109 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/main.py (no class) 44 23 0 10 2 46%
backend/pinch_service/OpenPinch/src/utils/__init__.py (no class) 3 0 0 0 0 100%
backend/pinch_service/OpenPinch/src/utils/decorators.py (no class) 35 7 0 8 3 72%
backend/pinch_service/OpenPinch/src/utils/heat_exchanger_eq.py (no class) 149 137 0 88 0 5%
backend/pinch_service/OpenPinch/src/utils/water_properties.py (no class) 62 44 0 12 0 24%
backend/pinch_service/docs/__init__.py (no class) 2 0 0 0 0 100%
backend/pinch_service/docs/types/LinearizeTypes.py NonLinearStream 0 0 0 0 0 100%
backend/pinch_service/docs/types/LinearizeTypes.py LinearizeRequest 0 0 0 0 0 100%
backend/pinch_service/docs/types/LinearizeTypes.py THCurveRequest 0 0 0 0 0 100%
backend/pinch_service/docs/types/LinearizeTypes.py LinearizeResponse 0 0 0 0 0 100%
backend/pinch_service/docs/types/LinearizeTypes.py THCurveResponse 0 0 0 0 0 100%
backend/pinch_service/docs/types/LinearizeTypes.py (no class) 28 0 0 0 0 100%
backend/pinch_service/docs/types/VisualiseTypes.py Graph 0 0 0 0 0 100%
backend/pinch_service/docs/types/VisualiseTypes.py Graph.Config 0 0 0 0 0 100%
backend/pinch_service/docs/types/VisualiseTypes.py Zone 0 0 0 0 0 100%
backend/pinch_service/docs/types/VisualiseTypes.py VisualiseRequest 0 0 0 0 0 100%
backend/pinch_service/docs/types/VisualiseTypes.py VisualiseResponse 0 0 0 0 0 100%
backend/pinch_service/docs/types/VisualiseTypes.py (no class) 16 0 0 0 0 100%
backend/pinch_service/docs/types/__init__.py (no class) 1 0 0 0 0 100%
backend/pinch_service/docs/types/enums.py (no class) 1 0 0 0 0 100%
backend/pinch_service/linearization/__init__.py (no class) 1 0 0 0 0 100%
backend/pinch_service/linearization/linearize_stream.py StateEvaluation 66 24 0 32 11 56%
backend/pinch_service/linearization/linearize_stream.py (no class) 156 38 0 34 7 75%
backend/pinch_service/server.py RequestHandler 83 55 0 12 4 38%
backend/pinch_service/server.py (no class) 32 0 0 2 1 97%
backend/pinch_service/serverFunctions/__init__.py (no class) 1 0 0 0 0 100%
backend/pinch_service/serverFunctions/pinchServerFunctions.py (no class) 40 4 0 4 0 91%
Total   3620 1298 10 1180 144 60%

No items found using the specified filter.