Is there a TypeScript scanner for jQA?

158 views
Skip to first unread message

Gerd Aschemann

unread,
Jul 31, 2017, 9:38:59 AM7/31/17
to jQAssistant
I would like to analyze some TypeScript sources which we do have in our Angular2 Frontend with jQAssistant. Is there a scanner available (even if experimental) for TS? 

I suspect there is no such thing for JavaScript?

Thx
  Gerd

Dirk Mahler

unread,
Aug 1, 2017, 1:41:32 AM8/1/17
to jqass...@googlegroups.com
Hi Gerd,

sadly there's no scanner for TypeScript or JavaScript yet :-( For the latter there's a very experimental prototype (https://github.com/DirkMahler/codemodel-rifle) based on the results of a master thesis which I used to verify if it is possible to extract useful information from JS structures. It worked quite well but it would need some time to bring it into a state that it could be recommended to users...

Cheers,

Dirk

------ Originalnachricht ------
Von: "'Gerd Aschemann' via jQAssistant" <jqass...@googlegroups.com>
An: "jQAssistant" <jqass...@googlegroups.com>
Gesendet: 31.07.2017 15:38:59
Betreff: [jQAssistant] Is there a TypeScript scanner for jQA?

--
You received this message because you are subscribed to the Google Groups "jQAssistant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jqassistant...@googlegroups.com.
To post to this group, send email to jqass...@googlegroups.com.
Visit this group at https://groups.google.com/group/jqassistant.
To view this discussion on the web visit https://groups.google.com/d/msgid/jqassistant/63934d15-f927-48e2-9b0f-b23d88878935%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gernot Bragenheim

unread,
Apr 14, 2022, 8:12:49 AM4/14/22
to jQAssistant
According to https://stackoverflow.com/questions/68364904/is-there-a-tool-like-jqassistant-for-typescript there are prototypes work in progress. May I ask to give an update on the current status of these? In addidtion to our Java backends I would love to use jQAssistant in our Typescript frontends as well. Apparently Typescript ecosystem seriously lacks a powerful tool to do the job of securing architecture guidelines.

Cheers
Gernot

Dirk Mahler

unread,
May 12, 2022, 4:35:28 AM5/12/22
to jqass...@googlegroups.com
Hi Gernot,

the answer took a while... In short: we're still on it.

The main issue is to find a robust and future-proof approach - from a language perspective Typescript comes with more "complexity" than Java which we need to tackle. A first attempt revealed quite a lot of gaps, one of the issues is to have clear model of language concepts (and which gaps are acceptable) which are required to support architectural analysis. 

So maybe the question goes back to you: which kind of checks would you have in mind? Can you provide examples?

Dirk

------ Originalnachricht ------
Von "'Gernot Bragenheim' via jQAssistant" <jqass...@googlegroups.com>
An "jQAssistant" <jqass...@googlegroups.com>
Datum 14.04.2022 14:12:49
Betreff Re: [jQAssistant] Is there a TypeScript scanner for jQA?

Gernot Bragenheim

unread,
May 13, 2022, 2:43:30 AM5/13/22
to jQAssistant
Hi Dirk,

thanks for replying and thanks for pointing out the increased complexity of this issue. Glad you didn't abandon this topic.

In the first place we're aiming for securing basic angular concepts. E.g.: Organizing our app into Modules and Components, communication flow between them, correct usage of dependency injection, naming conventions and so on. In addidtion we need to check the correct usage of our own libraries, i.e. usage of specific classes or even methods within them. For doing so we need at least to check package and type hierarchies (like :CONTAINS in java scanner), dependencies between types (like :DEPENDS_ON and :INVOKES in java scanner), methods/fields within types (scanned artifact as well as used libraries), usage of decorators (@Component, @Injectable.

I guess there will be more but this would be a great start. Unfortunately, so far we couldn't find any other tool capable of this.
Reply all
Reply to author
Forward
0 new messages