web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Code Analysis Report (CAR) issues

(4) ShareShare
ReportReport
Posted on by 104

When generating a Code Analysis Report (CAR), we often see various warnings, some related to best practices and others marked as issues.

Is it mandatory to fix all warnings in the CAR report before deploying or submitting code? Is there any guideline for which types of warnings must be addressed versus those that are optional?

Categories:
I have the same question (0)
  • Suggested answer
    Anton Venter Profile Picture
    20,346 Super User 2025 Season 2 on at
    No, it's not mandatory for deployment. I don't think there is a guide for this and you will have to decide for yourself which issues are import enough to address. In the end it will be better to have as few issues as possible but it just depends on the type of issues. Do have some examples of issues in your report?
  • Vasileios Papoglou Profile Picture
    104 on at
    Hello Anton and thanks for your answer. These are the warning types:
     
    BPCheckMissingDeleteActions    Delete actions missing in table "" which is related to table BatchJob with relation name  ""
    BPCheckAlternateKeyAbsent    Table "" does not have an alternate key
    BPCheckDisplayMethodCached    Display method title on control Title in form "" not cached
    BPCheckInsertMethodInLoop    Insert method can be replaced with RecordInsertList in method ""
    BPCheckInvalidInitFormMethodWarning    Form element statements should not be used before super() in init method of form ""
    BPCheckMissingDeleteActions    Delete actions missing in table "" which is related to table VendTrans with relation name  ""
    BPCheckNestedLoopinCode    Nested data access loop found in "" method
    BPCheckNewQuerywithForm    Data source query overridden in form method ""
    BPCheckNumberofNewFields    Number of new fields in base table "" is greater than 10
    BPCheckPackReturnsConnull    Container pack method returns connull in a Runbase derived class
    BPCheckPassiveJoinUse    Use passive join on the datasource "" which is bound to a tab page control on the form "".
    BPCheckSelectForUpdateAbsent    Select forupdate is used in method "", but no update operation was found.
    BPCheckSkipStatementValidation    Set-based operation must invoke Skip statements in method delete in class ""; otherwise, execution will fall back to a row by row operation.
    BPCheckSQLQueryInInit    Data access while loop was found in init method of form ""
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,441 Super User 2025 Season 2 on at
     
     
  • Anton Venter Profile Picture
    20,346 Super User 2025 Season 2 on at
    There are some interesting warnings in your list and to discuss them in detail in this post would change the topic :-). I suggest looking at them and solving the important ones. In the end it will be better to have as few issues as possible.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans