microsoft / PowerPlatformConnectors
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
  • Conditional complexity (also called cyclomatic complexity) is a term used to measure the complexity of software. The term refers to the number of possible paths through a program function. A higher value ofter means higher maintenance and testing costs (infosecinstitute.com).
  • Conditional complexity is calculated by counting all conditions in the program that can affect the execution path (e.g. if statement, loops, switches, and/or operators, try and catch blocks...).
  • Conditional complexity is measured at the unit level (methods, functions...).
  • Units are classified in four categories based on the measured McCabe index: 1-5 (simple units), 6-10 (medium complex units), 11-25 (complex units), 26+ (very complex units).
Learn more...
Conditional Complexity Overall
  • There are 130 units with 2,813 lines of code in units (85.1% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 10 medium complex units (678 lines of code)
    • 10 simple units (379 lines of code)
    • 110 very simple units (1,756 lines of code)
0% | 0% | 24% | 13% | 62%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
csx0% | 0% | 33% | 19% | 46%
py0% | 0% | 8% | 2% | 88%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
certified-connectors/DocuSignDemo0% | 0% | 45% | 8% | 46%
certified-connectors/DocuSign0% | 0% | 47% | 8% | 44%
custom-connectors/Snowflake0% | 0% | 89% | 0% | 10%
tools/paconn-cli0% | 0% | 8% | 2% | 88%
certified-connectors/SurveyMonkey0% | 0% | 25% | 60% | 14%
certified-connectors/Spring Global0% | 0% | 0% | 69% | 30%
certified-connectors/Airmeet0% | 0% | 0% | 50% | 49%
certified-connectors/Blackbaud Raiser's Edge NXT Fundraising0% | 0% | 0% | 0% | 100%
certified-connectors/Blackbaud Raiser's Edge NXT Constituents0% | 0% | 0% | 0% | 100%
certified-connectors/Blackbaud Raiser's Edge NXT Gifts0% | 0% | 0% | 0% | 100%
certified-connectors/Blackbaud Raiser's Edge NXT Interactions0% | 0% | 0% | 0% | 100%
certified-connectors/Blackbaud Raiser's Edge NXT Prospects0% | 0% | 0% | 0% | 100%
independent-publisher-connectors/OpenCage Geocoding0% | 0% | 0% | 0% | 100%
certified-connectors/Data80% | 0% | 0% | 0% | 100%
Most Complex Units
Top 20 most complex units
Unit# linesMcCabe index# params
csx
private static string TransformWebhookNotificationBody()
in certified-connectors/DocuSign/script.csx
61 21 1
csx
private static string TransformWebhookNotificationBody()
in certified-connectors/DocuSignDemo/script.csx
61 21 1
def upsert()
in tools/paconn-cli/paconn/operations/upsert.py
66 21 5
def load_powerapps_and_flow_rp()
in tools/paconn-cli/paconn/settings/util.py
22 15 2
csx
private async Task UpdateResponse()
in certified-connectors/DocuSign/script.csx
83 13 1
csx
private async Task UpdateRequest()
in certified-connectors/DocuSignDemo/script.csx
80 13 0
csx
private async Task UpdateResponse()
in certified-connectors/DocuSignDemo/script.csx
83 13 1
csx
private async Task ParseandProcessString()
in custom-connectors/Snowflake/script.csx
94 13 0
csx
private async Task UpdateRequest()
in certified-connectors/DocuSign/script.csx
76 12 0
csx
private async Task UpdateRequest()
in certified-connectors/SurveyMonkey/script.csx
52 11 0
csx
private async Task UpdateResponse()
in certified-connectors/SurveyMonkey/script.csx
39 10 1
csx
public string SetTriggerState()
in certified-connectors/SurveyMonkey/script.csx
24 9 3
def __init__()
in tools/paconn-cli/paconn/settings/settings.py
32 9 15
csx
private async Task UpdateNameRequest()
in certified-connectors/Airmeet/script.csx
35 8 0
csx
public string GetSurveyData()
in certified-connectors/Spring Global/script.csx
47 8 1
csx
public string GetSurveySchema()
in certified-connectors/Spring Global/script.csx
62 8 1
csx
private string SetBody()
in certified-connectors/SurveyMonkey/script.csx
35 7 1
csx
public JArray GetNewItems()
in certified-connectors/SurveyMonkey/script.csx
25 7 1
csx
private async Task UpdateApiEndpoint()
in certified-connectors/DocuSign/script.csx
40 6 0
csx
private async Task UpdateApiEndpoint()
in certified-connectors/DocuSignDemo/script.csx
40 6 0