You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wiki/Linter.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
_This document was generated from '[src/documentation/print-linter-wiki.ts](https://github.com/flowr-analysis/flowr/tree/main//src/documentation/print-linter-wiki.ts)' on 2025-08-20, 10:38:06 UTC presenting an overview of flowR's linter (v2.4.3, using R v4.5.0). Please do not edit this file/wiki page directly._
1
+
_This document was generated from '[src/documentation/print-linter-wiki.ts](https://github.com/flowr-analysis/flowr/tree/main//src/documentation/print-linter-wiki.ts)' on 2025-08-20, 14:33:30 UTC presenting an overview of flowR's linter (v2.4.3, using R v4.5.0). Please do not edit this file/wiki page directly._
2
2
3
3
This page describes the flowR linter, which is a tool that utilizes flowR's dataflow analysis to find common issues in R scripts. The linter can currently be used through the linter [query](https://github.com/flowr-analysis/flowr/wiki/Query%20API).
_All queries together required ≈14 ms (1ms accuracy, total 26 ms)_
88
88
89
89
<details> <summarystyle="color:gray">Show Detailed Results as Json</summary>
90
90
91
-
The analysis required _24.4 ms_ (including parsing and normalization and the query) within the generation environment.
91
+
The analysis required _26.0 ms_ (including parsing and normalization and the query) within the generation environment.
92
92
93
93
In general, the JSON contains the Ids of the nodes in question as they are present in the normalized AST or the dataflow graph of flowR.
94
94
Please consult the [Interface](https://github.com/flowr-analysis/flowr/wiki/Interface) wiki page for more information on how to get those.
@@ -105,8 +105,8 @@ Please consult the [Interface](https://github.com/flowr-analysis/flowr/wiki/Inte
105
105
".meta": {
106
106
"totalDeprecatedCalls": 0,
107
107
"totalDeprecatedFunctionDefinitions": 0,
108
-
"searchTimeMs": 2,
109
-
"processTimeMs": 0
108
+
"searchTimeMs": 1,
109
+
"processTimeMs": 1
110
110
}
111
111
},
112
112
"file-path-validity": {
@@ -128,7 +128,7 @@ Please consult the [Interface](https://github.com/flowr-analysis/flowr/wiki/Inte
128
128
"totalWritesBeforeAlways": 0,
129
129
"totalValid": 0,
130
130
"searchTimeMs": 4,
131
-
"processTimeMs": 1
131
+
"processTimeMs": 0
132
132
}
133
133
},
134
134
"seeded-randomness": {
@@ -139,7 +139,7 @@ Please consult the [Interface](https://github.com/flowr-analysis/flowr/wiki/Inte
139
139
"callsWithAssignmentProducers": 0,
140
140
"callsWithNonConstantProducers": 0,
141
141
"searchTimeMs": 0,
142
-
"processTimeMs": 1
142
+
"processTimeMs": 0
143
143
}
144
144
},
145
145
"absolute-file-paths": {
@@ -158,8 +158,8 @@ Please consult the [Interface](https://github.com/flowr-analysis/flowr/wiki/Inte
158
158
".meta": {
159
159
"totalConsidered": 1,
160
160
"totalUnknown": 0,
161
-
"searchTimeMs": 1,
162
-
"processTimeMs": 1
161
+
"searchTimeMs": 2,
162
+
"processTimeMs": 0
163
163
}
164
164
},
165
165
"unused-definitions": {
@@ -176,7 +176,7 @@ Please consult the [Interface](https://github.com/flowr-analysis/flowr/wiki/Inte
176
176
"numMatches": 0,
177
177
"numBreak": 0,
178
178
"searchTimeMs": 0,
179
-
"processTimeMs": 0
179
+
"processTimeMs": 1
180
180
}
181
181
},
182
182
"dataframe-access-validation": {
@@ -202,12 +202,12 @@ Please consult the [Interface](https://github.com/flowr-analysis/flowr/wiki/Inte
202
202
".meta": {
203
203
"numOfUselessLoops": 0,
204
204
"searchTimeMs": 0,
205
-
"processTimeMs": 1
205
+
"processTimeMs": 0
206
206
}
207
207
}
208
208
},
209
209
".meta": {
210
-
"timing": 14
210
+
"timing": 13
211
211
}
212
212
},
213
213
".meta": {
@@ -239,7 +239,7 @@ The following linting rules are available:
239
239
240
240
241
241
242
-
**[Absolute Paths](https://github.com/flowr-analysis/flowr/wiki/lint-absolute-file-paths):** Checks whether file paths are absolute. [see <ahref="https://github.com/flowr-analysis/flowr/tree/main//src/linter/rules/absolute-path.ts#L115">src/linter/rules/absolute-path.ts</a>]\
242
+
**[Absolute Paths](https://github.com/flowr-analysis/flowr/wiki/lint-absolute-file-paths):** Checks whether file paths are absolute. [see <ahref="https://github.com/flowr-analysis/flowr/tree/main//src/linter/rules/absolute-path.ts#L116">src/linter/rules/absolute-path.ts</a>]\
243
243
<spantitle="This rule is used to detect issues that do not directly affect the semantics of the code, but are still considered bad practice."><ahref='#smell'> </a></span> <spantitle="This rule may provide quickfixes to automatically fix the issues it detects."><ahref='#quickfix'> </a></span> <spantitle="This rule is used to detect issues that are related to the reproducibility of the code. For example, missing or incorrect random seeds, or missing data."><ahref='#reproducibility'> </a></span> <spantitle="This rule is used to detect issues that are related to the portability of the code. For example, platform-specific code, or code that relies on specific R versions or packages."><ahref='#robustness'> </a></span>
244
244
245
245
**[Dataframe Access Validation](https://github.com/flowr-analysis/flowr/wiki/lint-dataframe-access-validation):** Validates the existance of accessed columns and rows of dataframes. [see <ahref="https://github.com/flowr-analysis/flowr/tree/main//src/linter/rules/dataframe-access-validation.ts#L59">src/linter/rules/dataframe-access-validation.ts</a>]\
Copy file name to clipboardExpand all lines: wiki/lint-absolute-file-paths.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
_This document was generated from '[src/documentation/print-linter-wiki.ts](https://github.com/flowr-analysis/flowr/tree/main//src/documentation/print-linter-wiki.ts)' on 2025-08-20, 10:38:07 UTC presenting an overview of flowR's linter (v2.4.3, using R v4.5.0). Please do not edit this file/wiki page directly._
1
+
_This document was generated from '[src/documentation/print-linter-wiki.ts](https://github.com/flowr-analysis/flowr/tree/main//src/documentation/print-linter-wiki.ts)' on 2025-08-20, 14:33:31 UTC presenting an overview of flowR's linter (v2.4.3, using R v4.5.0). Please do not edit this file/wiki page directly._
<spantitle="This rule is used to detect issues that do not directly affect the semantics of the code, but are still considered bad practice."><ahref='#smell'> </a></span> <spantitle="This rule may provide quickfixes to automatically fix the issues it detects."><ahref='#quickfix'> </a></span> <spantitle="This rule is used to detect issues that are related to the reproducibility of the code. For example, missing or incorrect random seeds, or missing data."><ahref='#reproducibility'> </a></span> <spantitle="This rule is used to detect issues that are related to the portability of the code. For example, platform-specific code, or code that relies on specific R versions or packages."><ahref='#robustness'> </a></span>
@@ -7,7 +7,7 @@ _This document was generated from '[src/documentation/print-linter-wiki.ts](http
7
7
This rule is a `best-effort` rule.
8
8
9
9
Checks whether file paths are absolute.\
10
-
_This linting rule is implemented in <ahref="https://github.com/flowr-analysis/flowr/tree/main//src/linter/rules/absolute-path.ts#L115">src/linter/rules/absolute-path.ts</a>._
10
+
_This linting rule is implemented in <ahref="https://github.com/flowr-analysis/flowr/tree/main//src/linter/rules/absolute-path.ts#L116">src/linter/rules/absolute-path.ts</a>._
Copy file name to clipboardExpand all lines: wiki/lint-dataframe-access-validation.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
_This document was generated from '[src/documentation/print-linter-wiki.ts](https://github.com/flowr-analysis/flowr/tree/main//src/documentation/print-linter-wiki.ts)' on 2025-08-20, 10:38:09 UTC presenting an overview of flowR's linter (v2.4.3, using R v4.5.0). Please do not edit this file/wiki page directly._
1
+
_This document was generated from '[src/documentation/print-linter-wiki.ts](https://github.com/flowr-analysis/flowr/tree/main//src/documentation/print-linter-wiki.ts)' on 2025-08-20, 14:33:33 UTC presenting an overview of flowR's linter (v2.4.3, using R v4.5.0). Please do not edit this file/wiki page directly._
<spantitle="This rule is used to detect bugs in the code. Everything that affects the semantics of the code, such as incorrect function calls, wrong arguments, etc. is to be considered a bug. Otherwise, it may be a smell or a style issue."><ahref='#bug'> </a></span> <spantitle="This rule is used to detect issues that are related to the reproducibility of the code. For example, missing or incorrect random seeds, or missing data."><ahref='#reproducibility'> </a></span> <spantitle="This rule is used to detect issues that are related to the (re-)usability of the code. For example, missing or incorrect error handling, or missing or incorrect user interface elements."><ahref='#usability'> </a></span>
@@ -53,7 +53,7 @@ _All queries together required ≈3 ms (1ms accuracy, total 9 ms)_
53
53
54
54
<details> <summarystyle="color:gray">Show Detailed Results as Json</summary>
55
55
56
-
The analysis required _8.7 ms_ (including parsing and normalization and the query) within the generation environment.
56
+
The analysis required _8.8 ms_ (including parsing and normalization and the query) within the generation environment.
57
57
58
58
In general, the JSON contains the Ids of the nodes in question as they are present in the normalized AST or the dataflow graph of flowR.
59
59
Please consult the [Interface](https://github.com/flowr-analysis/flowr/wiki/Interface) wiki page for more information on how to get those.
Copy file name to clipboardExpand all lines: wiki/lint-dead-code.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
_This document was generated from '[src/documentation/print-linter-wiki.ts](https://github.com/flowr-analysis/flowr/tree/main//src/documentation/print-linter-wiki.ts)' on 2025-08-20, 10:38:10 UTC presenting an overview of flowR's linter (v2.4.3, using R v4.5.0). Please do not edit this file/wiki page directly._
1
+
_This document was generated from '[src/documentation/print-linter-wiki.ts](https://github.com/flowr-analysis/flowr/tree/main//src/documentation/print-linter-wiki.ts)' on 2025-08-20, 14:33:33 UTC presenting an overview of flowR's linter (v2.4.3, using R v4.5.0). Please do not edit this file/wiki page directly._
<spantitle="This rule is used to detect issues that do not directly affect the semantics of the code, but are still considered bad practice."><ahref='#smell'> </a></span> <spantitle="This rule is used to detect issues that are related to the reproducibility of the code. For example, missing or incorrect random seeds, or missing data."><ahref='#reproducibility'> </a></span> <spantitle="This rule is used to detect issues that are related to the (re-)usability of the code. For example, missing or incorrect error handling, or missing or incorrect user interface elements."><ahref='#usability'> </a></span>
Copy file name to clipboardExpand all lines: wiki/lint-deprecated-functions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
_This document was generated from '[src/documentation/print-linter-wiki.ts](https://github.com/flowr-analysis/flowr/tree/main//src/documentation/print-linter-wiki.ts)' on 2025-08-20, 10:38:06 UTC presenting an overview of flowR's linter (v2.4.3, using R v4.5.0). Please do not edit this file/wiki page directly._
1
+
_This document was generated from '[src/documentation/print-linter-wiki.ts](https://github.com/flowr-analysis/flowr/tree/main//src/documentation/print-linter-wiki.ts)' on 2025-08-20, 14:33:30 UTC presenting an overview of flowR's linter (v2.4.3, using R v4.5.0). Please do not edit this file/wiki page directly._
<spantitle="This rule is used to detect issues that do not directly affect the semantics of the code, but are still considered bad practice."><ahref='#smell'> </a></span> <spantitle="This signals the use of deprecated functions or features."><ahref='#deprecated'> </a></span> <spantitle="This rule is used to detect issues that are related to the reproducibility of the code. For example, missing or incorrect random seeds, or missing data."><ahref='#reproducibility'> </a></span> <spantitle="This rule is used to detect issues that are related to the (re-)usability of the code. For example, missing or incorrect error handling, or missing or incorrect user interface elements."><ahref='#usability'> </a></span>
@@ -53,7 +53,7 @@ _All queries together required ≈0 ms (1ms accuracy, total 11 ms)_
53
53
54
54
<details> <summarystyle="color:gray">Show Detailed Results as Json</summary>
55
55
56
-
The analysis required _11.1 ms_ (including parsing and normalization and the query) within the generation environment.
56
+
The analysis required _10.6 ms_ (including parsing and normalization and the query) within the generation environment.
57
57
58
58
In general, the JSON contains the Ids of the nodes in question as they are present in the normalized AST or the dataflow graph of flowR.
59
59
Please consult the [Interface](https://github.com/flowr-analysis/flowr/wiki/Interface) wiki page for more information on how to get those.
0 commit comments