Power DevBox Docs
  • Power DevBox
  • Getting Started
    • Install Chromium Extensions
    • Access Web App
    • Power Platform Connector
    • Visual Studio Code Extension
  • AutoReview
    • AutoReview - Chromium Extension
    • AutoReview - App
    • AutoReview - Power Platform Connector
      • Using Connector
      • Info (v1 & v2)
      • JSON (v1 & v2)
      • File (v2)
      • Diagam (v2)
      • HTTP
      • File (v1)
    • AutoReview - VS Code Extension
    • API
      • V1
        • Information API (v1)
        • Data API (v1)
        • Files API (v1)
      • V2
        • Information API (v2)
        • Data API (v2)
        • Files API (v2)
        • Diagram API (v2)
    • Menu
    • Files
      • Review
      • Report
      • Diagram
      • Exceptions
      • Solution
      • Compare with Previous
      • CSV Files
    • Configs
      • Complexity
        • Complexity Default Values
        • Complexity Template
      • Naming Convention
        • Naming Convention Default Value
        • Naming Template
      • Ratings
        • Ratings Default Value
        • Ratings Template
      • Scoring
        • Scoring Default Values
        • Scoring Template
    • Data JSON
  • V2 / V3.2.0 Update
  • AppReview
    • AppReview - Chromium Extension
      • Known Bugs/Limitations
      • Report Sections
      • App Settings
      • Components
      • Variables
      • Code Block
      • Solution
      • Connections
      • Data Source
      • Diagram
      • Flags
  • Flow Utilizer
    • Flow Utilizer - Start
    • Install
    • Flow Screen
      • Flow Tags
      • Solution Download
    • Solution Screen
    • Charts
    • Account
      • Account Download
  • Dev Tools
    • Power DevBox Chromium Extensions
      • Exception
      • Share
        • Share Demo Videos
      • Shortcut
      • Utility
        • Classic UI Clipboard
        • New UI Clipboard
        • Utility Demo Videos
Powered by GitBook
On this page
  • Basic Score
  • Threshold Score
  • Ratings Score
  1. AutoReview
  2. Configs

Scoring

Scoring is the split for the Overall Rating . Currently the colour grading is set to 0-74 Red, 75-89 Amber, 90+ Green, at present this can not be changed.

There are a few different scoring calculations, which currently cant be changed (the values can be changed, but the calculation formula cant). Each has a description to explain, some examples are

Basic Score

{
    "Name":"exceptionScope",
    "Score":10,
    "Note":"score added for exception scope"
}

If passes exception scope test scores 10 points

    {
      "Name":"varConstant",
      "Score":5,
      "Note":"score added for naming variables with value in all capitals"
    }

If all variables with initialized variable name are all capitals then 5 points (e.g. sTIMESTAMP).

Threshold Score

    {
      "Name":"variables",
      "Score":10,
      "Note":"score given for variables before deductions"
    },
    {
      "Name":"variablesMin",
      "Score":0,
      "Note":"minimum allowed variables before deductions"
    },
    {
      "Name":"variablesDeduction",
      "Score":1,
      "Note":"score added for exception scope"
    }

For every variable above 0 deduct 1 point from 10 (will not go below 0).

Ratings Score

 {
    "Name":"complexityRed",
    "Score":0,
    "Note":"score added for red scoring complexity"
},
{
    "Name":"complexityAmber",
    "Score":15,
    "Note":"score added for amber scoring complexity"
},
{
    "Name":"complexityGreen",
    "Score":20,
    "Note":"score added green scoring complexity"
}

These are directly linked to the rating, so if complexity card was red 0 points, Amber 15 points, Green 20 points.

There currently isn't a 100% validation so you can over score over 100 if you config it to do so.


Further Reading - Default Values

Last updated 10 months ago

Scoring Default Values