Might as well take 0.0.12 of typhonjs-escomplex#195
Might as well take 0.0.12 of typhonjs-escomplex#195typhonrt wants to merge 2 commits intoes-analysis:masterfrom typhonjs-node-escomplex:master
Conversation
|
@jsoverson I did sneak out 0.0.12 of typhonjs-escomplex. There is now support for regexp literals ala A little background on the next release. Now I'm working on a larger refactor of Halstead method metric gathering. The old escomplex did some wonky things for method declarations such as adding the method name to the module aggregate, but then the parameters of the declaration are added to the given method metrics which is incorrect. Method declarations should be separate of the actual method metrics which should only contain data for the body of a method. The next update At this point you can either keep this PR open and wait for |
|
@jsoverson it looks like you published the NPM module with a local checkout last week. Can you push that to the repo / IE |
@jsoverson You might as well take
0.0.110.0.12 of typhonjs-escomplex before updating the Plato NPM module. I've strengthened / corrected a few Halstead metrics gathered, so accuracy in that regard is up. The old escomplex needed a thorough review. For instancethiswas counted as an operand not as an operator. Member expressions that are computed always added.as an operator instead of[], etc. Just some corrections over the old escomplex.This PR simply bumps typhonjs-escomplex to
0.0.12.It will be several days before I get 0.0.13 out as I'm fully working over how metrics are gathered for class / module aggregates; this isn't exposed by plato per se. If there are any concerns questions let me know.