* {@inheritDoc}
*/
@Override
protected double calculate() {
double value = 0d;
SnapshotAnalyzer snapshotAnalyzer = new SnapshotAnalyzer(getCurrentSession());
List<AbstractFamixEntity> entities = snapshotAnalyzer.getDescendants(getCurrentEntity());
for (AbstractFamixEntity famixEntity : entities) {
if (famixEntity instanceof FamixAttribute) {
FamixAttribute method = (FamixAttribute) famixEntity;
if ((method.getModifiers() & AbstractFamixEntity.MODIFIER_STATIC) != AbstractFamixEntity.MODIFIER_STATIC) {
value += 1d;