Giter Site home page Giter Site logo

microsoft / dynamics365fo-appchecker Goto Github PK

View Code? Open in Web Editor NEW
58.0 22.0 26.0 3.17 MB

Repository supporting the Dynamics 365 for Finance and Operations app checker

License: MIT License

XQuery 54.53% C# 31.01% HTML 1.51% Jupyter Notebook 9.07% Prolog 0.55% Batchfile 0.48% Cypher 2.85%

dynamics365fo-appchecker's People

Contributors

desmarest avatar microsoft-github-policy-service[bot] avatar microsoftopensource avatar msftgits avatar pankaj-thakur avatar pathaku avatar peter-villadsen avatar pvillads avatar wayne-attenborough avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dynamics365fo-appchecker's Issues

MissingMethodDocumentation.xq also triggers on tables

Do we want to execute this rule for "classes" representing tables as well?

public class <tablename> extends common
{
}

I'd propose not to do that or at least certainly not for staging tables (since they are generated by VS without comments)
This also seems to overlap with "developerDocumentation" and "Label" properties on the table.

Tested Sample Rules, found the following 4 rules failing

I have tested X++ Sample rules from Visual Studio.
Added them to: K:\AosService\PackagesLocalDirectory\bin\AppCheckerRules\X++

It turns out the tool does not like spaces in the rule file name. The following rules stopped App Checker due to that:

  1. Enum Compatibility.xq
  2. Mismatched Labels.xq

Removed the space and it worked like a charm.

The following rules failed on execution:

  1. BulkEnumerationReferences.xq, 7/36:
    [XPTY0004] Cannot convert empty-sequence() to xs:string: ().

  2. RecursiveMethods.xq 5/26:
    [XPST0003] Unexpected end of query: '>
    ...'.

I hope this helped.

XQuery 3.0 keywords are not colorized correctly

The xquery 3.0 standard defines new keywords (as showin docs.basex.org/wiki/xquery_3.0). The new keywords are:

tumbling, window, group, (by), (count), allowing, empty try, catch, switch, case, default

Recursion detected does not make sense

Recursion detected: I think this rule do not make sense because a modern programming language it should be possible to use recursions. The argument for banning recursions is "...we had recursion related problems in production environments to often...". For me this is also no agreement for putting the recursions on a "black list". I think it would make more sense to add runtime checks to restrict the recursion depth.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.