mirror of https://gitlab.com/basile.b/dexed.git
doc
This commit is contained in:
parent
dd92cc5bb4
commit
421cf48597
|
@ -53,7 +53,7 @@ This must be used if the runnable outputs thousands of lines, to display properl
|
||||||
The version identifier **runnable_module** is automatically defined when a runnable is compiled.
|
The version identifier **runnable_module** is automatically defined when a runnable is compiled.
|
||||||
It can be used to adjust the source according to the execution context, for example:
|
It can be used to adjust the source according to the execution context, for example:
|
||||||
|
|
||||||
```D
|
```d
|
||||||
version(runnable_module)
|
version(runnable_module)
|
||||||
{
|
{
|
||||||
stdout.writeln("to output stream");
|
stdout.writeln("to output stream");
|
||||||
|
|
|
@ -17,7 +17,7 @@ Coedit implements the Halstead metric. The others may be added in a further vers
|
||||||
|
|
||||||
The metric uses the count and the sum of the functions operands and operators to compute several indexes. Even it's clearly related to the SLOC it's more accurate. For example:
|
The metric uses the count and the sum of the functions operands and operators to compute several indexes. Even it's clearly related to the SLOC it's more accurate. For example:
|
||||||
|
|
||||||
```D
|
```d
|
||||||
void foo()
|
void foo()
|
||||||
{
|
{
|
||||||
int a = 1, b;
|
int a = 1, b;
|
||||||
|
@ -27,7 +27,7 @@ void foo()
|
||||||
|
|
||||||
Is seen as less complex than
|
Is seen as less complex than
|
||||||
|
|
||||||
```D
|
```d
|
||||||
void foo()
|
void foo()
|
||||||
{
|
{
|
||||||
int a = 1, b;
|
int a = 1, b;
|
||||||
|
|
|
@ -32,7 +32,7 @@ The fields (-a -c -p -s) are optional but the _what_ is mandatory.
|
||||||
|
|
||||||
For example
|
For example
|
||||||
|
|
||||||
```D
|
```d
|
||||||
// TODO: something.
|
// TODO: something.
|
||||||
// TODO-cfixes: something to fix.
|
// TODO-cfixes: something to fix.
|
||||||
// TODO-cfixes-aMrFreeze: something that MrFreezae has to fix.
|
// TODO-cfixes-aMrFreeze: something that MrFreezae has to fix.
|
||||||
|
|
Loading…
Reference in New Issue