Context

John Doe said in meeting...

Analysis


In [2]:
%less data/jacoco.csv

In [3]:
import pandas as pd

coverage = pd.read_csv('./data/jacoco.csv') 
coverage.head()


Out[3]:
GROUP PACKAGE CLASS INSTRUCTION_MISSED INSTRUCTION_COVERED BRANCH_MISSED BRANCH_COVERED LINE_MISSED LINE_COVERED COMPLEXITY_MISSED COMPLEXITY_COVERED METHOD_MISSED METHOD_COVERED
0 JaCoCo Coverage Report org.springframework.samples.petclinic PetclinicInitializer 0 124 0 0 0 24 0 8 0 8
1 JaCoCo Coverage Report org.springframework.samples.petclinic.model NamedEntity 3 10 0 0 1 4 1 3 1 3
2 JaCoCo Coverage Report org.springframework.samples.petclinic.model Specialty 0 3 0 0 0 1 0 1 0 1
3 JaCoCo Coverage Report org.springframework.samples.petclinic.model PetType 0 3 0 0 0 1 0 1 0 1
4 JaCoCo Coverage Report org.springframework.samples.petclinic.model Vets 14 0 2 0 4 0 3 0 2 0

In [4]:
%matplotlib inline
coverage.groupby('PACKAGE')['LINE_COVERED'].sum().plot(kind='barh')


Out[4]:
<matplotlib.axes._subplots.AxesSubplot at 0x14112723a58>

In [ ]:

Conclusion

Das Package ...jdbc sollte ausgebaut werden