question: public static ContainerStats calculateStatsValues ( String statsJson ) { ContainerStats state = new ContainerStats ( ) ; if ( statsJson == null || statsJson . isEmpty ( ) ) { return state ; } Map < String , JsonElement > stats = parseStats ( statsJson ) ; calculateCpuUsage ( state , stats ) ; setMemoryUsage ( state , stats ) ; setNetworkUsage ( state , stats ) ; setContainerStopped ( state , stats ) ; return state ; }
target:  Parse the json stats value and return ContainerStats state with the calculated values from the json field.