Closed Kappenn closed 4 years ago
Calculated CNN 23
Calculated CCN 13 (calculated it wrong in pdf)
Not sure why get such a different answer. Can you describe whats going on in your picture 6 nodes from the bottom? It looks to me like you have an inner for loop there, but I can't seem to find it in the code.
if (up != null && !current.contains(up) && (colonyBuilding == null || colonyBuilding.getType() != up)) { reasons.add(Messages.getName(up)); }
I treat each && condition as a nestled if statement
if(condition)
if (condition)
Thats probably why it looks so confusing.
Oh! should we do that? I thought the we should only check every branch, not substatements
Ah, I see what you mean, since they are of the same branch in that case, could be that.
Code coverage too low, replace with Monarch::initializeCaches@303-347@./src/net/sf/freecol/common/model/Monarch.java
See #35
Calculated CNN: 20 Located at: BuildQueuePanel::updateBuildingList@753-820@./src/net/sf/freecol/client/gui/panel/BuildQueuePanel.java