@@ -226,7 +226,7 @@ def create_exp(item: object=None, automation: object=None) -> dict:
226226 float (item .yellowlab_delta ["scores" ]["current_average" ])) / 2
227227 )
228228 elif 'health' in e ['data_type' ]:
229- title = 'Health: '
229+ title = 'Health'
230230 data = str (
231231 (float (item .lighthouse ["scores" ]["average" ]) +
232232 float (item .yellowlab ["scores" ]["globalScore" ])) / 2
@@ -289,10 +289,10 @@ def create_exp(item: object=None, automation: object=None) -> dict:
289289 title = 'Images Delta'
290290 data = str (item .yellowlab_delta ["scores" ]["images_delta" ])
291291 elif 'domComplexity_delta' in e ['data_type' ]:
292- title = 'DOM Complex. Delta'
292+ title = 'DOM Complexity Delta'
293293 data = str (item .yellowlab_delta ["scores" ]["domComplexity_delta" ])
294294 elif 'javascriptComplexity_delta' in e ['data_type' ]:
295- title = 'JS Complex. Delta'
295+ title = 'JS Complexity Delta'
296296 data = str (item .yellowlab_delta ["scores" ]["javascriptComplexity_delta" ])
297297 elif 'badJavascript_delta' in e ['data_type' ]:
298298 title = 'Bad JS Delta'
@@ -301,7 +301,7 @@ def create_exp(item: object=None, automation: object=None) -> dict:
301301 title = 'jQuery Delta'
302302 data = str (item .yellowlab_delta ["scores" ]["jQuery_delta" ])
303303 elif 'cssComplexity_delta' in e ['data_type' ]:
304- title = 'CSS Complex. Delta'
304+ title = 'CSS Complexity Delta'
305305 data = str (item .yellowlab_delta ["scores" ]["cssComplexity_delta" ])
306306 elif 'badCSS_delta' in e ['data_type' ]:
307307 title = 'Bad CSS Delta'
@@ -310,7 +310,7 @@ def create_exp(item: object=None, automation: object=None) -> dict:
310310 title = 'Fonts Delta'
311311 data = str (item .yellowlab_delta ["scores" ]["fonts_delta" ])
312312 elif 'serverConfig_delta' in e ['data_type' ]:
313- title = 'Server Config Delta'
313+ title = 'Server Configs Delta'
314314 data = str (item .yellowlab_delta ["scores" ]["serverConfig_delta" ])
315315
316316 # yellowlab scan data
@@ -324,28 +324,28 @@ def create_exp(item: object=None, automation: object=None) -> dict:
324324 title = 'Images'
325325 data = str (item .yellowlab ["scores" ]["images" ])
326326 elif 'domComplexity' in e ['data_type' ]:
327- title = 'DOM Complex. '
327+ title = 'DOM Complexity '
328328 data = str (item .yellowlab ["scores" ]["domComplexity" ])
329329 elif 'javascriptComplexity' in e ['data_type' ]:
330- title = 'JS Complex. '
330+ title = 'JS Complexity '
331331 data = str (item .yellowlab ["scores" ]["javascriptComplexity" ])
332332 elif 'badJavascript' in e ['data_type' ]:
333- title = 'Bad JS. '
333+ title = 'Bad JS'
334334 data = str (item .yellowlab ["scores" ]["badJavascript" ])
335335 elif 'jQuery' in e ['data_type' ]:
336336 title = 'jQuery'
337337 data = str (item .yellowlab ["scores" ]["jQuery" ])
338338 elif 'cssComplexity' in e ['data_type' ]:
339- title = 'CSS Complex '
339+ title = 'CSS Complexity '
340340 data = str (item .yellowlab ["scores" ]["cssComplexity" ])
341341 elif 'badCSS' in e ['data_type' ]:
342- title = 'Bad CSS. '
342+ title = 'Bad CSS'
343343 data = str (item .yellowlab ["scores" ]["badCSS" ])
344344 elif 'fonts' in e ['data_type' ]:
345345 title = 'Fonts'
346346 data = str (item .yellowlab ["scores" ]["fonts" ])
347347 elif 'serverConfig' in e ['data_type' ]:
348- title = 'Server Config. '
348+ title = 'Server Configs '
349349 data = str (item .yellowlab ["scores" ]["serverConfig" ])
350350
351351 # image data
0 commit comments