## DuSanity.Test

All the available tests.

View Source Duik_api_fordoc.jsxinc, line 34582

# Methods

#### # static compNames(dontFixopt, forceopt)

Checks if some compositions share the same name.

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`dontFix` | `boolean` | <optional> | false | If false, will automatically fix the issue.
`force` | `boolean` | <optional> | false | To improve performance, this test may be automatically paused. Set this to true to force it to run if calling this method.

View Source Duik_api_fordoc.jsxinc, line 34589

#### # static essentialProperties(dontFixopt)

Checks the number of essential properties in the current comp

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`dontFix` | `boolean` | <optional> | false | If false, will automatically fix the issue.

View Source Duik_api_fordoc.jsxinc, line 35182

#### # static expressionEngine(dontFixopt)

Checks the expression engine.

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`dontFix` | `boolean` | <optional> | false | If false, will automatically fix the issue.

View Source Duik_api_fordoc.jsxinc, line 34732

#### # static itemSources(dontFixopt, forceopt)

Checks if some items have the same source file

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`dontFix` | `boolean` | <optional> | false | If false, will automatically fix the issue.
`force` | `boolean` | <optional> | false | To improve performance, this test may be automatically paused. Set this to true to force it to run if calling this method.

View Source Duik_api_fordoc.jsxinc, line 34849

#### # static layerNames(dontFixopt)

Checks if some layers share the same name in the current comp.

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`dontFix` | `boolean` | <optional> | false | If false, will automatically fix the issue.

View Source Duik_api_fordoc.jsxinc, line 34669

#### # static memory(dontFixopt)

Checks the memory in use

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`dontFix` | `boolean` | <optional> | false | If false, will automatically fix the issue.

View Source Duik_api_fordoc.jsxinc, line 35142

#### # static precomps(dontFixopt)

Checks if some precomps are in the root of the project

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`dontFix` | `boolean` | <optional> | false | If false, will automatically fix the issue.

View Source Duik_api_fordoc.jsxinc, line 34993

#### # static projectItems(dontFixopt)

Checks the project size

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`dontFix` | `boolean` | <optional> | false | If false, will automatically fix the issue.

View Source Duik_api_fordoc.jsxinc, line 34820

#### # static projectSize(dontFixopt)

Checks the project size

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`dontFix` | `boolean` | <optional> | false | If false, will automatically fix the issue.

View Source Duik_api_fordoc.jsxinc, line 34775

#### # static save(dontFixopt)

Checks the elapsed time since last save

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`dontFix` | `boolean` | <optional> | false | If false, will automatically fix the issue.

View Source Duik_api_fordoc.jsxinc, line 35210

#### # static unusedComps(dontFixopt)

Checks if there are multiple comps in the root of the project

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`dontFix` | `boolean` | <optional> | false | If false, will automatically fix the issue.

View Source Duik_api_fordoc.jsxinc, line 35046

#### # static unusedItems(dontFixopt)

Checks if some items (footages) are not used

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`dontFix` | `boolean` | <optional> | false | If false, will automatically fix the issue.

View Source Duik_api_fordoc.jsxinc, line 34941

#### # static upTime(dontFixopt)

Checks the up time of After Effects

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`dontFix` | `boolean` | <optional> | false | If false, will automatically fix the issue.

View Source Duik_api_fordoc.jsxinc, line 35276