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
  1. AutoReview
  2. Configs
  3. Scoring

Scoring Template

When using in Power Automate Connector use the aScoringTemplate the input to Scoring

{
  "sReference":"Replace with your reference",
  "aScoringTemplate":[
    {
      "Name":"exceptionScope",
      "Score":10,
      "Note":"score added for exception scope"
    },
    {
      "Name":"mainScope",
      "Score":10,
      "Note":"score added for main scope"
    },
    {
      "Name":"varNaming",
      "Score":10,
      "Note":"score added for following variable naming convention (see aRatingsTemplate)"
    },
    {
      "Name":"varUsed",
      "Score":5,
      "Note":"score added for if all variables used"
    },
    {
      "Name":"varConstant",
      "Score":5,
      "Note":"score added for naming variables with value in all capitals"
    },
    {
      "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"
    },
    {
      "Name":"composes",
      "Score":10,
      "Note":"score given for composes before deductions"
    },
    {
      "Name":"composesMin",
      "Score":0,
      "Note":"minimum allowed composes before deductions"
    },
    {
      "Name":"composesDeduction",
      "Score":5,
      "Note":"score deducted for every compose used"
    },
    {
      "Name":"connections",
      "Score":10,
      "Note":"score given for connections before deductions"
    },
    {
      "Name":"connectionsMin",
      "Score":3,
      "Note":"minimum allowed connections before deductions"
    },
    {
      "Name":"connectionsDeduction",
      "Score":2,
      "Note":"score deducted for every connections used"
    },

    {
      "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"
    },

    {
      "Name":"actionsRed",
      "Score":0,
      "Note":"score added for red scoring actions"
    },
    {
      "Name":"actionsAmber",
      "Score":5,
      "Note":"score added for amber scoring actions"
    },
    {
      "Name":"actionsGreen",
      "Score":10,
      "Note":"score added green scoring actions"
    }
  ]
}

Last updated 2 months ago