aws / amazon-neptune-sparql-java-sigv4
Unit Size

The distribution of size of units (measured in lines of code).

Intro
  • Unit size measurements show the distribution of size of units of code (methods, functions...).
  • Units are classified in four categories based on their size (lines of code): 1-20 (small units), 20-50 (medium size units), 51-100 (long units), 101+ (very long units).
  • You should aim at keeping units small (< 20 lines). Long units may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
Unit Size Overall
  • There are 11 units with 151 lines of code in units (72.6% of code).
    • 0 very long units (0 lines of code)
    • 0 long units (0 lines of code)
    • 3 medium size units (81 lines of code)
    • 3 small units (39 lines of code)
    • 5 very small units (31 lines of code)
0% | 0% | 53% | 25% | 20%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
java0% | 0% | 53% | 25% | 20%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
rdf4j0% | 0% | 39% | 33% | 26%
jena0% | 0% | 100% | 0% | 0%
Alternative Visuals
Longest Units
Top 11 longest units
Unit# linesMcCabe index# params
public static void main()
in src/main/java/com/amazonaws/neptune/client/jena/NeptuneJenaSigV4Example.java
36 5 1
protected static void evaluateAndPrintQueryResult()
in src/main/java/com/amazonaws/neptune/client/rdf4j/NeptuneRdf4JSigV4Example.java
23 4 2
protected void initAuthenticatingHttpClient()
in src/main/java/com/amazonaws/neptune/client/rdf4j/NeptuneSparqlRepository.java
22 4 0
protected static void executeSignedInsertRequest()
in src/main/java/com/amazonaws/neptune/client/rdf4j/NeptuneRdf4JSigV4Example.java
16 1 1
protected static void executeSignedQueryRequest()
in src/main/java/com/amazonaws/neptune/client/rdf4j/NeptuneRdf4JSigV4Example.java
12 1 2
public NeptuneSparqlRepository()
in src/main/java/com/amazonaws/neptune/client/rdf4j/NeptuneSparqlRepository.java
11 1 3
public static void main()
in src/main/java/com/amazonaws/neptune/client/rdf4j/NeptuneRdf4JSigV4Example.java
10 5 1
protected static void executeUnsignedQueryRequest()
in src/main/java/com/amazonaws/neptune/client/rdf4j/NeptuneRdf4JSigV4Example.java
9 1 1
public NeptuneSparqlRepository()
in src/main/java/com/amazonaws/neptune/client/rdf4j/NeptuneSparqlRepository.java
7 1 1
private static String getSparqlEndpoint()
in src/main/java/com/amazonaws/neptune/client/rdf4j/NeptuneSparqlRepository.java
3 1 1
private NeptuneRdf4JSigV4Example()
in src/main/java/com/amazonaws/neptune/client/rdf4j/NeptuneRdf4JSigV4Example.java
2 1 0