dcycle / dcycle-metrics-engine

Generates code metrics.
0 stars 0 forks source link

Remove PhpMD which dies with large codebases. #6

Closed alberto56 closed 8 years ago

alberto56 commented 8 years ago

We have output like:

Step 12 : RUN cd /repo && phpmd . xml cleancode > /metrics/raw/phpmd/cleancode.xml || true
 ---> Running in 5c97047ed0b4
Killed
 ---> 386f83c49a81
Removing intermediate container 5c97047ed0b4
Step 13 : RUN cd /repo && phpmd . xml codesize > /metrics/raw/phpmd/codesize.xml || true
 ---> Running in da6b7b59d656
Killed

And then the xml files are empty.

alberto56 commented 8 years ago

Seems to be memory-related. PhpMD will be removed until we can fix this.

alberto56 commented 8 years ago

The current state of #6 gives:

core@coreos-512mb-nyc3-01 ~/dcycle-metrics-engine $ ./dcycle-metrics-engine.sh usage
 __  __    __    __       _____ __   __ __   __     __       __
|  \/  \_//  |  |_   |\/||_  | |__)|/  (_   |_ |\ |/ _ ||\ ||_
|__/\__ | \__|__|__  |  ||__ | | \ |\____)  |__| \|\__)|| \||__

                  "It works" doesn't cut it.
                  --------------------------

Usage (call dcycle-metrics-engine.sh with no additional arguments to get help):
-----

dcycle-metrics-engine.sh [command] [arguments] [parameters]

Available global arguments:
-----

--debug: print verbose debugging information, useful for development.
head: cannot open '/home/core/dcycle-metrics-engine/script/modules/*/arguments/*/README.md' for reading: No such file or directory
alberto56 commented 8 years ago

The above error is due to https://github.com/alberto56/dcycle-metrics-engine/issues/8, unrelated.

alberto56 commented 8 years ago

Merged and closed.