• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CyclopsMC / IntegratedDynamics / 23682136136

28 Mar 2026 09:18AM UTC coverage: 45.729% (+0.02%) from 45.709%
23682136136

push

github

rubensworks
Bump mod version

2802 of 8868 branches covered (31.6%)

Branch coverage included in aggregate %.

12310 of 24179 relevant lines covered (50.91%)

2.43 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/src/main/java/org/cyclops/integrateddynamics/core/network/ConsumingNetworkElementBase.java
1
package org.cyclops.integrateddynamics.core.network;
2

3
import org.cyclops.integrateddynamics.api.network.IEnergyConsumingNetworkElement;
4
import org.cyclops.integrateddynamics.api.network.INetwork;
5

6
/**
7
 * Base implementation for an energy consuming network element.
8
 * @author rubensworks
9
 */
10
public abstract class ConsumingNetworkElementBase extends NetworkElementBase implements IEnergyConsumingNetworkElement {
3✔
11

12
    @Override
13
    public boolean isUpdate() {
14
        return getConsumptionRate() > 0 || super.isUpdate();
6!
15
    }
16

17
    @Override
18
    public int getConsumptionRate() {
19
        return 0;
×
20
    }
21

22
    @Override
23
    public void postUpdate(INetwork network, boolean updated) {
24

25
    }
1✔
26
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc