dependencies_analyzer v1.0.7
This analyzer only supports modules which depend on Mocha as a test framework. So, /test folder which contains mocha-test-cases must be in the module directory.
Please note that analyzer needs two modules as input i.e. dependent module and dependency module. A dependent module is what the user is interested in knowing to what extend actually this module depends on (uses) dependency module.
to run: npm run build npm run start or node run.js
Note: make sure that you have run npm install inside the dependent module before its analyzing.
To run the each analyzer separately : Dynamic Analyzing: node ./node_modules/jalangi2/src/js/commands/jalangi.js --inlineIID --inlineSource --analysis ./x_analysis.js dependent.js -x dependent_module directory -y dependency directory
Static Analyzing: node node ./static_analyzer.js -x dependent_module -y dependency_module directory --api dependency_object_name exactly as it is in dependent code
// in order to run mongoose-validator test suite properly, mongodb process should be up and running of localhost and default port