From 1ff1f5c388b94e5e504ae6d8e8b13ebd7455e19b Mon Sep 17 00:00:00 2001 From: Capocchi L Date: Tue, 13 Oct 2020 11:08:31 +0200 Subject: [PATCH] update ova link --- Complexity.py | 3 +++ README.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Complexity.py b/Complexity.py index dca004af..a61be42d 100644 --- a/Complexity.py +++ b/Complexity.py @@ -57,10 +57,13 @@ def GetMacCabeMetric(path): L = [getattr(cls,fct) for fct in ('extTransition','intTransition','outputFnc') if hasattr(cls, fct)] + print(L) + source_list = list(map(inspect.getsource, L)) L_args = [] + complexity = 0.0 for text in source_list: ### textwrap for deleting the indentation diff --git a/README.md b/README.md index 100da0d8..2b85c217 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ All dependencies can be installed using pip with the requirements.txt file: $ pip install -r requirements.txt ``` -An XUbuntu 19.10 virtual machine including DEVSimPy can be donwloaded from [DEVSimPy-on-XUbuntu19.10.ova](https://mycore.core-cloud.net/index.php/s/D9JDrN62E0MUCPq/download). The login and password of the distribution (root) are: devsimpy-user/devsimpy. If you want to have the latest version of DEVSimPy, please execute 'git pull' in the DEVSimPy directory before starting or start DEVSimPy by double clicking on the desktop icon and go to Help->Update->From Git Repository (pull). +An XUbuntu 19.10 virtual machine including DEVSimPy can be donwloaded from [DEVSimPy-on-XUbuntu19.10.ova](https://mycore.core-cloud.net/index.php/s/o8T8mAzmuuHDokh). The login and password of the distribution (root) are: devsimpy-user/devsimpy. If you want to have the latest version of DEVSimPy, please execute 'git pull' in the DEVSimPy directory before starting or start DEVSimPy by double clicking on the desktop icon and go to Help->Update->From Git Repository (pull). # Usage To execute DEVSimPy: