Skip to content

Commit

Permalink
resolve #271
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Dec 14, 2021
1 parent 5be40c8 commit 8e72db4
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 16 deletions.
1 change: 1 addition & 0 deletions LANGUAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ DM (dm)
Docker ignore (.dockerignore)
Dockerfile (dockerfile,dockerfile)
Document Type Definition (dtd)
DOT (dot,gv)
Elixir (ex,exs)
Elm (elm)
Emacs Dev Env (ede)
Expand Down
35 changes: 22 additions & 13 deletions SCC-OUTPUT-REPORT.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<th>421</th>
<th>7033</th>
<th>1416</th>
<th>351026</th>
<th>351626</th>
</tr><tr>
<th>Java</th>
<th>24</th>
Expand All @@ -39,12 +39,12 @@
</tr><tr>
<th>Markdown</th>
<th>11</th>
<th>1340</th>
<th>1341</th>
<th>319</th>
<th>0</th>
<th>1021</th>
<th>1022</th>
<th>0</th>
<th>54250</th>
<th>54263</th>
</tr><tr>
<th>Python</th>
<th>10</th>
Expand Down Expand Up @@ -98,7 +98,7 @@
<th>85</th>
<th>855</th>
<th>95</th>
<th>39013</th>
<th>39020</th>
</tr><tr>
<th>C#</th>
<th>2</th>
Expand Down Expand Up @@ -261,6 +261,15 @@
<th>12</th>
<th>4</th>
<th>287</th>
</tr><tr>
<th>DOT</th>
<th>1</th>
<th>12</th>
<th>0</th>
<th>5</th>
<th>7</th>
<th>0</th>
<th>381</th>
</tr><tr>
<th>Docker ignore</th>
<th>1</th>
Expand Down Expand Up @@ -381,12 +390,12 @@
</tr><tr>
<th>JSON</th>
<th>1</th>
<th>7459</th>
<th>7477</th>
<th>0</th>
<th>0</th>
<th>7459</th>
<th>7477</th>
<th>0</th>
<th>103891</th>
<th>104123</th>
</tr><tr>
<th>Korn Shell</th>
<th>1</th>
Expand Down Expand Up @@ -597,12 +606,12 @@
</tr></tbody>
<tfoot><tr>
<th>Total</th>
<th>175</th>
<th>26656</th>
<th>176</th>
<th>26687</th>
<th>3023</th>
<th>1752</th>
<th>21881</th>
<th>1757</th>
<th>21907</th>
<th>2398</th>
<th>1806522</th>
<th>1807755</th>
</tr></tfoot>
</table></body></html>
12 changes: 12 additions & 0 deletions examples/language/dot.gv
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
graph graphname {
// This attribute applies to the graph itself
size="1,1";
// The label attribute can be used to change the label of a node
a [label="Foo"];
// Here, the node shape is changed.
b [shape=box];
// These edges both have different line properties
a -- b -- c [color=blue];
b -- d [style=dotted];
// [style=invis] hides a node.
}
20 changes: 19 additions & 1 deletion languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2591,6 +2591,24 @@
}
]
},
"DOT": {
"complexitychecks": [],
"extensions": [
"dot",
"gv"
],
"line_comment": [
"//",
"#"
],
"multi_line": [
[
"/*",
"*/"
]
],
"quotes": []
},
"Groovy": {
"complexitychecks": [
"for ",
Expand Down Expand Up @@ -7456,4 +7474,4 @@
}
]
}
}
}
2 changes: 1 addition & 1 deletion processor/constants.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ else
fi

# Try out specific languages
for i in 'Bosque ' 'Flow9 ' 'Bitbucket Pipeline ' 'Docker ignore ' 'Q# ' 'Futhark ' 'Alloy ' 'Wren ' 'Monkey C ' 'Alchemist ' 'Luna ' 'ignore ' 'XML Schema ' 'Web Services' 'Go ' 'Java ' 'Boo ' 'License ' 'BASH ' 'C Shell ' 'Korn Shell ' 'Makefile ' 'Shell ' 'Zsh ' 'Rakefile ' 'Gemfile ' 'Dockerfile ' 'Yarn ' 'Sieve ' 'F# ' 'Elm ' 'Terraform ' 'Clojure ' 'C# ' 'LLVM IR ' 'HAML ' 'FXML ' 'DM ' 'Nushell ' 'Racket '
for i in 'Bosque ' 'Flow9 ' 'Bitbucket Pipeline ' 'Docker ignore ' 'Q# ' 'Futhark ' 'Alloy ' 'Wren ' 'Monkey C ' 'Alchemist ' 'Luna ' 'ignore ' 'XML Schema ' 'Web Services' 'Go ' 'Java ' 'Boo ' 'License ' 'BASH ' 'C Shell ' 'Korn Shell ' 'Makefile ' 'Shell ' 'Zsh ' 'Rakefile ' 'Gemfile ' 'Dockerfile ' 'Yarn ' 'Sieve ' 'F# ' 'Elm ' 'Terraform ' 'Clojure ' 'C# ' 'LLVM IR ' 'HAML ' 'FXML ' 'DM ' 'Nushell ' 'Racket ' 'DOT '
do
if ./scc "examples/language/" | grep -q "$i "; then
echo -e "${GREEN}PASSED $i Language Check"
Expand Down

0 comments on commit 8e72db4

Please sign in to comment.