• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

javascript-obfuscator / javascript-obfuscator / 13621494893

15 Jun 2024 05:29PM UTC coverage: 97.297%. Remained the same
13621494893

push

github

web-flow
Update CHANGELOG.md

2238 of 2373 branches covered (94.31%)

Branch coverage included in aggregate %.

5645 of 5729 relevant lines covered (98.53%)

33055580.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
/src/source-code/SourceCode.ts
1
import { ISourceCode } from '../interfaces/source-code/ISourceCode';
2

3
export class SourceCode implements ISourceCode {
6✔
4
    /**
5
     * @type {string}
6
     */
7
    private readonly sourceCode: string;
8

9
    /**
10
     * @type {string}
11
     */
12
    private readonly sourceMap: string;
13

14
    /**
15
     * @param {string} sourceCode
16
     * @param {string} sourceMap
17
     */
18
    public constructor (sourceCode: string, sourceMap: string) {
19
        this.sourceCode = sourceCode;
258,436✔
20
        this.sourceMap = sourceMap;
258,436✔
21
    }
22

23
    /**
24
     * @returns {string}
25
     */
26
    public getSourceCode (): string {
27
        return this.sourceCode;
258,364✔
28
    }
29

30
    /**
31
     * @returns {string}
32
     */
33
    public getSourceMap (): string {
34
        return this.sourceMap;
6✔
35
    }
36

37
    /**
38
     * @returns {string}
39
     */
40
    public toString (): string {
41
        return this.sourceCode;
×
42
    }
43
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc