Release 0.9.14
0.9.14
-
Support for projects.
This is a major new feature for all MISS_HIT tools, intended to make it
easier to analyse specific programs in large shared code repositories.
For example instead of having to do:$ mh_lint shared_lib_1 shared_lib_2 my_potato_app my_potato_lib
You can now instead simply do:
$ mh_lint --entry-point=PotatoApp
You can set up libraries and entrypoints and the dependencies
between them with new configuration directives.Currently the functionality is limited, however in the future this
will be the basis for all advanced static analysis; since it
provides the equivalent of path or matlabpath to the MISS_HIT tools. -
New documentation for the
common command-line interface, which is shared between all MISS_HIT tools (except for MH Diff). -
New switch for all tools
--input-encoding
(which is by default
cp1252). You can use this to request a different input encoding to
be used when reading files.Note: this is not applicable for Simulink models, since Simulink
models actually specify the input encoding to be used. -
MH Style has a new rule
unicode
and two new configuration options
enforce_encoding
andenforce_encoding_comments
to make sure
source files only contain ASCII characters.You can configure the encoding enforced using
enforce_encoding
to
e.g.iso8859_15
, if that is what you want instead; and you can
optionally allow comments and line continuations to contain
anything. -
Fixed bug in MH Metric HTML reports. When MH Metric was installed
via pip, the link to the assets and stylesheetds did not
resolve. This is now fixed.In addition the new
--portable-html
option for MH Metric will
hotlink to the assets from https://florianschanda.github.io/miss_hit
instead of trying to use the ones from the locally installed
MISS_HIT.