Comments (2)
The problem is that some configuration entries (from Main.config
) are copied by classes that use it. Some classes even have comments "copy of config" or similar.
These copies are convenient but there are too many of them, so the copied fields should be eliminated, and the corresponding field of Main.config
should be used instead.
This task can be done step by step.
from modbat.
There are at least 7 cases of this happening:
- In Dotify and Modbat:
./src/main/scala/modbat/mbt/Dotify.scala: val fullOutFile = Main.config.dotDir + File.separatorChar + outFile
./src/main/scala/modbat/mbt/Modbat.scala: val limit = Main.config.loopLimit
- Copies from Main to other classes (in Main.scala):
MBT.enableStackTrace = config.printStackTrace
MBT.maybeProbability = config.maybeProbability
MBT.runBefore = config.setup
MBT.runAfter = config.cleanup
MBT.precondAsFailure = config.precondAsFailure
from modbat.
Related Issues (20)
- allSuccessors should probably return a list rather than array of successors
- total weight of all choices does not necessarily have to be computed outside where it is used HOT 1
- Observers do not seem to be included in path coverage
- Execute shutdown handler functionality in failing unit tests HOT 2
- Also remove terminal escape sequences for ConfigTest HOT 1
- `init` does not initialize/clear all data structures HOT 1
- Debug/line number info: Migrate from bytecode parsing to "sourcecode" library HOT 5
- Duplicate class files modbat-examples.jar and modbat-test.jar; missing sources in examples HOT 1
- Use Modbat with PiTest HOT 4
- Akka Actor not included as dependency HOT 1
- Bug in Java 11 prevents full compatibility, produces failing tests HOT 1
- Logging in Modbat needs configurable streams as targets, no global vars HOT 1
- Provide application task with --args for Modbat
- Gradle task/jar cleanup
- Action.nonDetExc should be refactored from a tuple into a small class HOT 4
- Action.nextStatePred should be refactored from a tuple into a small class
- Rename "nextState" to "transToNextState" in case it is not of type State HOT 7
- Heuristic search options are not checking if "search=heur" HOT 2
- Report invalid "dot-dir" nicely when trying to report edge pair coverage
- Minor incompatibility with Eclipse JDK 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modbat.