Skip to content
This repository has been archived by the owner on Jul 8, 2019. It is now read-only.

My .ts files are not analyzing #161

Open
gambheera88 opened this issue Jul 11, 2017 · 10 comments
Open

My .ts files are not analyzing #161

gambheera88 opened this issue Jul 11, 2017 · 10 comments

Comments

@gambheera88
Copy link

Here is a part of my error

INFO: Index files
INFO: 4 files indexed
INFO: Quality profile for css: SonarQube Way
INFO: Quality profile for ts: TsLint
INFO: Sensor Lines Sensor
INFO: Sensor Lines Sensor (done) | time=19ms
INFO: Sensor SCM Sensor
INFO: SCM provider for this project is: git
INFO: 2 files to be analyzed
INFO: 1/2 files analyzed
WARN: Missing blame information for the following files:
WARN: * C:/Users/Lahiru/Desktop/TMaaS/Localization-POC/my-dream-app/src/app/app.component.ts
WARN: This may lead to missing/broken features in SonarQube

Could you please tell me why this is happening.

@gvijay4321
Copy link

Even i am having the same issue

@gambheera88
Copy link
Author

Hi friends,

I solved the problem. Here I upgraded my Sonarserver 6.1 to 6.4 and sonar-typescript-plugin-1.1.0. So it worked for me.

Thanks

@gambheera88
Copy link
Author

Make sure that blame information issue is coming for uncommitted files, So run sonar-scanner command with -X option, to view full debug log. Then you can identify what the exact problem is.

@gvijay4321
Copy link

tried both still no luck

@gvijay4321
Copy link

C:\sonar\SonarTsPlugin-master\samples\using-existing-tslint-output>c:\sonar\sona
r-scanner-3.0.3.778-windows\bin\sonar-scanner.bat -X -e
00:43:27.837 INFO: Option -e/--errors is no longer supported and will be ignored

00:43:27.840 INFO: Scanner configuration file: c:\sonar\sonar-scanner-3.0.3.778-
windows\bin..\conf\sonar-scanner.properties
00:43:27.840 INFO: Project root configuration file: C:\sonar\SonarTsPlugin-maste
r\samples\using-existing-tslint-output\sonar-project.properties
00:43:27.860 INFO: SonarQube Scanner 3.0.3.778
00:43:27.860 INFO: Java 1.8.0_121 Oracle Corporation (64-bit)
00:43:27.860 INFO: Windows 7 6.1 amd64
00:43:27.951 DEBUG: keyStore is :
00:43:27.951 DEBUG: keyStore type is : jks
00:43:27.951 DEBUG: keyStore provider is :
00:43:27.951 DEBUG: init keystore
00:43:27.951 DEBUG: init keymanager of type SunX509
00:43:29.045 INFO: User cache: C:\Users\vgopalakrishnan.sonar\cache
00:43:29.045 DEBUG: Extract sonar-scanner-api-batch in temp...
00:43:29.045 DEBUG: Get bootstrap index...
00:43:29.045 DEBUG: Download: http://localhost:9000/batch/index
00:43:29.095 DEBUG: Get bootstrap completed
00:43:29.095 DEBUG: Create isolated classloader...
00:43:29.105 DEBUG: Start temp cleaning...
00:43:29.105 DEBUG: Temp cleaning done
00:43:29.105 DEBUG: Execution getVersion
00:43:29.115 DEBUG: Execution start
00:43:29.819 DEBUG: Publish global mode
00:43:29.906 INFO: Load global settings
00:43:29.931 DEBUG: GET 200 http://localhost:9000/api/settings/values.protobuf |
time=19ms
00:43:29.982 INFO: Load global settings (done) | time=77ms
00:43:29.992 INFO: User cache: C:\Users\vgopalakrishnan.sonar\cache
00:43:30.172 INFO: Load plugins index
00:43:30.182 DEBUG: GET 200 http://localhost:9000/deploy/plugins/index.txt | tim
e=10ms
00:43:30.183 INFO: Load plugins index (done) | time=11ms
00:43:30.184 DEBUG: Load plugins
00:43:30.195 DEBUG: Load plugins (done) | time=11ms
00:43:30.205 DEBUG: API compatibility mode is enabled on plugin Git [scmgit] (bu
ilt with API lower than 5.2)
00:43:30.207 DEBUG: API compatibility mode is enabled on plugin SVN [scmsvn] (bu
ilt with API lower than 5.2)
00:43:30.287 DEBUG: Plugins:
00:43:30.287 DEBUG: * C# 5.10.1.1411 (csharp)
00:43:30.287 DEBUG: * Python 1.7.0.1195 (python)
00:43:30.287 DEBUG: * SonarJava 4.9.0.9858 (java)
00:43:30.287 DEBUG: * Flex 2.3 (flex)
00:43:30.287 DEBUG: * Git 1.2 (scmgit)
00:43:30.287 DEBUG: * SonarXML 1.4.2.885 (xml)
00:43:30.287 DEBUG: * SonarPHP 2.10.0.2087 (php)
00:43:30.287 DEBUG: * TypeScript 1.1.0 (typescript)
00:43:30.287 DEBUG: * SVN 1.4.0.522 (scmsvn)
00:43:30.287 DEBUG: * SonarJS 3.0.0.4962 (javascript)
00:43:30.307 DEBUG: Execution getVersion
00:43:30.307 INFO: SonarQube server 6.4.0
00:43:30.307 INFO: Default locale: "en_US", source code encoding: "UTF-8"
00:43:30.307 DEBUG: Work directory: C:\sonar\SonarTsPlugin-master\samples\using-
existing-tslint-output.scannerwork
00:43:30.307 DEBUG: Execution getVersion
00:43:30.307 DEBUG: Execution execute
00:43:30.593 INFO: Process project properties
00:43:30.603 DEBUG: Process project properties (done) | time=10ms
00:43:30.695 INFO: Load project repositories
00:43:30.705 DEBUG: GET 200 http://localhost:9000/batch/project.protobuf?key=com
.pablissimo.sonar%3Ausing-existing-tslint-output | time=10ms
00:43:30.730 INFO: Load project repositories (done) | time=35ms
00:43:30.800 DEBUG: Available languages:
00:43:30.800 DEBUG: * C# => "cs"
00:43:30.800 DEBUG: * Python => "py"
00:43:30.800 DEBUG: * Java => "java"
00:43:30.800 DEBUG: * Flex => "flex"
00:43:30.800 DEBUG: * XML => "xml"
00:43:30.800 DEBUG: * PHP => "php"
00:43:30.800 DEBUG: * TypeScript => "ts"
00:43:30.800 DEBUG: * JavaScript => "js"
00:43:30.800 INFO: Load quality profiles
00:43:30.814 DEBUG: GET 200 http://localhost:9000/api/qualityprofiles/search.pro
tobuf?projectKey=com.pablissimo.sonar%3Ausing-existing-tslint-output | time=14ms

00:43:30.817 INFO: Load quality profiles (done) | time=17ms
00:43:30.820 INFO: Load active rules
00:43:30.884 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=re
po,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activatio
n=true&qprofile=AV01QeC4hV9TmHsSiI6J&p=1&ps=500 | time=63ms
00:43:31.116 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=re
po,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activatio
n=true&qprofile=AV01QeH1hV9TmHsSiI8q&p=1&ps=500 | time=172ms
00:43:31.166 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=re
po,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activatio
n=true&qprofile=AV01QeNThV9TmHsSiJA6&p=1&ps=500 | time=30ms
00:43:31.186 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=re
po,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activatio
n=true&qprofile=AV01QeO1hV9TmHsSiJB3&p=1&ps=500 | time=10ms
00:43:31.226 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=re
po,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activatio
n=true&qprofile=AV01QeT9hV9TmHsSiJF3&p=1&ps=500 | time=40ms
00:43:31.256 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=re
po,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activatio
n=true&qprofile=AV01QeQIhV9TmHsSiJCc&p=1&ps=500 | time=30ms
00:43:31.276 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=re
po,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activatio
n=true&qprofile=AV01QeO8hV9TmHsSiJB5&p=1&ps=500 | time=10ms
00:43:31.316 DEBUG: GET 200 http://localhost:9000/api/rules/search.protobuf?f=re
po,name,severity,lang,internalKey,templateKey,params,actives,createdAt&activatio
n=true&qprofile=AV01QeUxhV9TmHsSiJG3&p=1&ps=500 | time=40ms
00:43:31.326 INFO: Load active rules (done) | time=506ms
00:43:31.326 INFO: Load metrics repository
00:43:31.336 DEBUG: GET 200 http://localhost:9000/api/metrics/search?f=name,desc
ription,direction,qualitative,custom&ps=500&p=1 | time=10ms
00:43:31.376 INFO: Load metrics repository (done) | time=50ms
00:43:31.406 WARN: SCM provider autodetection failed. No SCM provider claims to
support this project. Please use sonar.scm.provider to define SCM of your projec
t.
00:43:31.406 INFO: Publish mode
00:43:31.406 INFO: Project key: com.pablissimo.sonar:using-existing-tslint-outpu
t
00:43:31.406 DEBUG: Start recursive analysis of project modules
00:43:31.406 INFO: ------------- Scan Simulating reusing the output of a build-
step tslint pass
00:43:31.526 INFO: Load server rules
00:43:31.649 DEBUG: GET 200 http://localhost:9000/api/rules/list.protobuf | time
=123ms
00:43:31.669 INFO: Load server rules (done) | time=143ms
00:43:31.769 DEBUG: Declared extensions of language C# were converted to sonar.l
ang.patterns.cs : /.cs
00:43:31.769 DEBUG: Declared extensions of language Python were converted to son
ar.lang.patterns.py : **/
.py
00:43:31.769 DEBUG: Declared extensions of language Java were converted to sonar
.lang.patterns.java : /*.java,/.jav
00:43:31.769 DEBUG: Declared extensions of language Flex were converted to sonar
.lang.patterns.flex : **/
.as
00:43:31.781 DEBUG: Declared extensions of language XML were converted to sonar.
lang.patterns.xml : /*.xml,/*.xsd,
/.xsl
00:43:31.782 DEBUG: Declared extensions of language PHP were converted to sonar.
lang.patterns.php : **/
.php,/*.php3,/.php4,**/.php5,/*.phtml,/.inc
00:43:31.783 DEBUG: Declared extensions of language TypeScript were converted to
sonar.lang.patterns.ts : **/
.ts,/.tsx
00:43:31.785 DEBUG: Declared extensions of language JavaScript were converted to
sonar.lang.patterns.js : **/
.js
00:43:31.851 DEBUG: Initializers : GenericCoverageSensor
00:43:31.851 INFO: Initializer GenericCoverageSensor
00:43:31.851 INFO: Initializer GenericCoverageSensor (done) | time=0ms
00:43:31.851 INFO: Base dir: C:\sonar\SonarTsPlugin-master\samples\using-existin
g-tslint-output
00:43:31.851 INFO: Working dir: C:\sonar\SonarTsPlugin-master\samples\using-exis
ting-tslint-output.scannerwork
00:43:31.851 INFO: Source paths: src
00:43:31.851 INFO: Test paths: test
00:43:31.851 INFO: Source encoding: UTF-8, default locale: en_US
00:43:31.861 INFO: Index files
00:43:31.861 INFO: Excluded sources:
00:43:31.861 INFO: node_modules/

00:43:31.861 INFO: **/*.js
00:43:31.875 DEBUG: 'src/MyApp - Copy.ts' indexed with language 'ts'
00:43:31.876 INFO: 1 file indexed
00:43:31.876 INFO: 0 files ignored because of inclusion/exclusion patterns
00:43:31.877 INFO: Quality profile for ts: TsLint
00:43:32.604 DEBUG: 'Generic Coverage Report' skipped because one of the require
d properties is missing
00:43:32.605 DEBUG: 'Generic Test Executions Report' skipped because one of the
required properties is missing
00:43:32.606 DEBUG: 'C#' skipped because there is no related file in current pro
ject
00:43:32.606 DEBUG: 'C# Unit Tests Coverage Report Import' skipped because there
is no related file in current project
00:43:32.606 DEBUG: 'C# Integration Tests Coverage Report Import' skipped becaus
e there is no related file in current project
00:43:32.607 DEBUG: 'C# Unit Test Results Import' skipped because there is no re
lated file in current project
00:43:32.607 DEBUG: 'Python Squid Sensor' skipped because there is no related fi
le in current project
00:43:32.607 DEBUG: 'SurefireSensor' skipped because there is no related file in
current project
00:43:32.607 DEBUG: 'JaCoCoSensor' skipped because there is no related file in c
urrent project
00:43:32.608 DEBUG: 'JavaSquidSensor' skipped because there is no related file i
n current project
00:43:32.608 DEBUG: 'Flex' skipped because there is no related file in current p
roject
00:43:32.608 DEBUG: 'Flex Cobertura' skipped because there is no related file in
current project
00:43:32.609 DEBUG: 'XML Sensor' skipped because there is no related file in cur
rent project
00:43:32.609 DEBUG: 'PHP sensor' skipped because there is no related file in cur
rent project
00:43:32.609 DEBUG: 'JavaScript Squid Sensor' skipped because there is no relate
d file in current project
00:43:32.614 DEBUG: 'Generic Coverage Report' skipped because one of the require
d properties is missing
00:43:32.615 DEBUG: 'Generic Test Executions Report' skipped because one of the
required properties is missing
00:43:32.615 DEBUG: 'C#' skipped because there is no related file in current pro
ject
00:43:32.616 DEBUG: 'C# Unit Tests Coverage Report Import' skipped because there
is no related file in current project
00:43:32.616 DEBUG: 'C# Integration Tests Coverage Report Import' skipped becaus
e there is no related file in current project
00:43:32.616 DEBUG: 'C# Unit Test Results Import' skipped because there is no re
lated file in current project
00:43:32.616 DEBUG: 'Python Squid Sensor' skipped because there is no related fi
le in current project
00:43:32.617 DEBUG: 'SurefireSensor' skipped because there is no related file in
current project
00:43:32.617 DEBUG: 'JaCoCoSensor' skipped because there is no related file in c
urrent project
00:43:32.617 DEBUG: 'JavaSquidSensor' skipped because there is no related file i
n current project
00:43:32.618 DEBUG: 'Flex' skipped because there is no related file in current p
roject
00:43:32.618 DEBUG: 'Flex Cobertura' skipped because there is no related file in
current project
00:43:32.618 DEBUG: 'XML Sensor' skipped because there is no related file in cur
rent project
00:43:32.619 DEBUG: 'PHP sensor' skipped because there is no related file in cur
rent project
00:43:32.619 DEBUG: 'JavaScript Squid Sensor' skipped because there is no relate
d file in current project
00:43:32.623 DEBUG: Sensors : SonarJavaXmlFileSensor -> Analyzer for "php.ini" f
iles -> Linting sensor for TypeScript files -> Combined LCOV and LOC sensor -> Z
ero Coverage Sensor -> CPD Block Indexer
00:43:32.623 INFO: Sensor SonarJavaXmlFileSensor [java]
00:43:32.623 INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
00:43:32.623 INFO: Sensor Analyzer for "php.ini" files [php]
00:43:32.623 INFO: Sensor Analyzer for "php.ini" files [php] (done) | time=0ms
00:43:32.623 INFO: Sensor Linting sensor for TypeScript files [typescript]
00:43:32.623 DEBUG: Found sonar.ts.tslint.path path to be 'C:\Users\vgopalakrish
nan\AppData\Roaming\npm\node_modules\tslint'
00:43:32.623 DEBUG: Found sonar.ts.tslint.configPath path to be 'tslint.json'
00:43:32.623 DEBUG: Path sonar.ts.tslint.rulesDir not specified, falling back to
null
00:43:32.623 DEBUG: Path sonar.ts.tslint.projectPath not specified, falling back
to null
00:43:32.623 DEBUG: Found sonar.ts.tslint.outputPath path to be 'issues.json'
00:43:32.623 DEBUG: Running with existing JSON file 'C:\sonar\SonarTsPlugin-mast
er\samples\using-existing-tslint-output\issues.json' instead of calling tslint
00:43:32.663 WARN: TsLint reported issues against a file that isn't in the analy
sis set - will be ignored: src/MyApp.ts
00:43:32.663 WARN: TsLint reported issues against a file that isn't in the analy
sis set - will be ignored: test/MyAppTests.ts
00:43:32.663 INFO: Sensor Linting sensor for TypeScript files [typescript] (done
) | time=40ms
00:43:32.663 INFO: Sensor Combined LCOV and LOC sensor [typescript]
00:43:32.683 WARN: No coverage information will be saved because LCOV file canno
t be analysed. Provided LCOV file path: coverage/lcov.info
00:43:32.683 INFO: Sensor Combined LCOV and LOC sensor [typescript] (done) | tim
e=20ms
00:43:32.683 INFO: Sensor Zero Coverage Sensor
00:43:32.804 INFO: Sensor Zero Coverage Sensor (done) | time=121ms
00:43:32.804 INFO: Sensor CPD Block Indexer
00:43:32.804 DEBUG: org.sonar.scanner.cpd.deprecated.DefaultCpdBlockIndexer is u
sed for ts
00:43:32.804 DEBUG: No CpdMapping for language ts
00:43:32.804 INFO: Sensor CPD Block Indexer (done) | time=0ms
00:43:32.804 INFO: No SCM system was detected. You can use the 'sonar.scm.provid
er' property to explicitly specify it.
00:43:32.804 INFO: Calculating CPD for 0 files
00:43:32.804 INFO: CPD calculation finished
00:43:32.889 DEBUG: 'src/MyApp - Copy.ts' generated metadata with charset 'UTF-
8'
00:43:32.930 INFO: Analysis report generated in 116ms, dir size=37 KB
00:43:32.940 INFO: Analysis reports compressed in 10ms, zip size=10 KB
00:43:32.940 INFO: Analysis report generated in C:\sonar\SonarTsPlugin-master\sa
mples\using-existing-tslint-output.scannerwork\batch-report
00:43:32.950 DEBUG: Upload report
00:43:32.971 DEBUG: POST 200 http://localhost:9000/api/ce/submit?projectKey=com.
pablissimo.sonar:using-existing-tslint-output&projectName=Simulating%20reusing%2
0the%20output%20of%20a%20build-step%20tslint%20pass | time=20ms
00:43:32.971 INFO: Analysis report uploaded in 21ms
00:43:32.971 INFO: ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/das
hboard/index/com.pablissimo.sonar:using-existing-tslint-output
00:43:32.971 INFO: Note that you will be able to access the updated dashboard on
ce the server has processed the submitted analysis report
00:43:32.971 INFO: More about the report processing at http://localhost:9000/api
/ce/task?id=AV04OH8r7aKug1-W-iZj
00:43:32.971 DEBUG: Report metadata written to C:\sonar\SonarTsPlugin-master\sam
ples\using-existing-tslint-output.scannerwork\report-task.txt
00:43:32.981 DEBUG: Post-jobs :
00:43:32.991 INFO: Task total time: 2.674 s
00:43:32.991 INFO: -------------------------------------------------------------

00:43:32.991 INFO: EXECUTION SUCCESS
00:43:32.991 INFO: -------------------------------------------------------------

00:43:32.991 INFO: Total time: 5.151s
00:43:33.113 INFO: Final Memory: 46M/308M
00:43:33.114 INFO: -------------------------------------------------------------

00:43:33.114 DEBUG: Execution getVersion
00:43:33.115 DEBUG: Execution stop

@gambheera88
Copy link
Author

hi...
https://github.com/Pablissimo/SonarTsPlugin/issues/118

Just try with above link.
the issue is showing in your logs.

00:43:32.663 WARN: TsLint reported issues against a file that isn't in the analy
sis set - will be ignored: src/MyApp.ts
00:43:32.663 WARN: TsLint reported issues against a file that isn't in the analy
sis set - will be ignored: test/MyAppTests.ts

@gvijay4321
Copy link

#118

@gvijay4321
Copy link

Is it necessary to run karma for new files?

@gambheera88
Copy link
Author

No, not at all

@anikredd
Copy link

anikredd commented Apr 6, 2018

[16:42:54] 16:42:54.160 INFO: Sensor Coverage Report Import (wrapped)

[16:42:54] 16:42:54.160 DEBUG: No coverage property. Skip Sensor
16:42:54.160 INFO: Sensor Coverage Report Import (wrapped) (done) | time=0ms
16:42:54.160 INFO: Sensor Coverage Report Import (wrapped)
16:42:54.160 DEBUG: No coverage property. Skip Sensor

[16:42:54] 16:42:54.161 INFO: Sensor Coverage Report Import (wrapped) (done) | time=0ms

[16:42:54] 16:42:54.161 INFO: 0/0 source files have been analyzed
16:42:54.161 INFO: Sensor Unit Test Results Import (wrapped)

[16:42:54] 16:42:54.162 DEBUG: No unit test results property. Skip Sensor
16:42:54.162 INFO: Sensor Unit Test Results Import (wrapped) (done) | time=1ms

[16:42:54] 16:42:54.162 INFO: Sensor XmlFileSensor (wrapped)

[16:42:54] 16:42:54.162 INFO: Sensor XmlFileSensor (wrapped) (done) | time=0ms

[16:42:54] 16:42:54.162 INFO: Sensor Linting sensor for TypeScript files (wrapped)

[16:42:54] 16:42:54.163 DEBUG: Path sonar.ts.tslint.path not specified, falling back to node_modules/tslint/bin/tslint

[16:42:54] 16:42:54.163 DEBUG: Found sonar.ts.tslint.configPath path to be 'tslint.json'

[16:42:54] 16:42:54.163 DEBUG: Path sonar.ts.tslint.rulesDir not specified, falling back to null

[16:42:54] 16:42:54.164 DEBUG: Path sonar.ts.tslint.projectPath not specified, falling back to null

[16:42:54] 16:42:54.164 DEBUG: Path sonar.ts.tslint.outputPath not specified, falling back to null

[16:42:54] 16:42:54.164 WARN: Path to tslint not defined or not found. Skipping tslint analysis.

[16:42:54] 16:42:54.164 INFO: Sensor Linting sensor for TypeScript files (wrapped) (done) | time=2ms

[16:42:54] 16:42:54.164 INFO: Sensor Combined LCOV and LOC sensor (wrapped)

[16:42:54] 16:42:54.487 INFO: Sensor Combined LCOV and LOC sensor (wrapped) (done) | time=323ms
16:42:54.487 INFO: Sensor Coverage Report Import (wrapped)
16:42:54.488 DEBUG: No coverage property. Skip Sensor
16:42:54.488 INFO: Sensor Coverage Report Import (wrapped) (done) | time=1ms

[16:42:54] 16:42:54.488 INFO: Sensor Coverage Report Import (wrapped)
16:42:54.488 DEBUG: No coverage property. Skip Sensor
16:42:54.488 INFO: Sensor Coverage Report Import (wrapped) (done) | time=0ms
16:42:54.488 INFO: Sensor Unit Test Results Import (wrapped)

[16:42:54] 16:42:54.488 DEBUG: No unit test results property. Skip Sensor
16:42:54.488 INFO: Sensor Unit Test Results Import (wrapped) (done) | time=0ms
16:42:54.488 INFO: Sensor Analyzer for "php.ini" files (wrapped)

[16:42:54] 16:42:54.492 INFO: Sensor Analyzer for "php.ini" files (wrapped) (done) | time=4ms

[16:42:54] 16:42:54.492 INFO: Sensor Zero Coverage Sensor (wrapped)

[16:42:54] 16:42:54.513 INFO: Sensor Zero Coverage Sensor (wrapped) (done) | time=20ms

[16:42:54] 16:42:54.513 INFO: Sensor Code Colorizer Sensor (wrapped)

[16:42:54] 16:42:54.516 INFO: Sensor Code Colorizer Sensor (wrapped) (done) | time=3ms

[16:42:54] 16:42:54.517 INFO: Sensor CPD Block Indexer (wrapped)

[16:42:54] 16:42:54.517 INFO: DefaultCpdBlockIndexer is used for ts

[16:42:54] 16:42:54.517 DEBUG: No CpdMapping for language ts

[16:42:54] 16:42:54.517 INFO: Sensor CPD Block Indexer (wrapped) (done) | time=0ms

[16:42:54] 16:42:54.518 INFO: Calculating CPD for 0 files

[16:42:54] 16:42:54.519 INFO: CPD calculation finished

[16:42:54] 16:42:54.938 INFO: Analysis report generated in 410ms, dir size=4 MB

[16:42:55] 16:42:55.141 INFO: Analysis reports compressed in 202ms, zip size=727 KB

16:42:55.672 INFO: Executing post-job com.att.sonar.email.EmailMetricsFetcher
16:42:55.672 DEBUG: EmailMetricsFetcher is disabled (sonar.email.enabled = false)
16:42:55.672 INFO: Executing post-job org.sonar.plugins.stash.StashIssueReportingPostJob
16:42:55.675 INFO: ------------------------------------------------------------------------
16:42:55.676 INFO: EXECUTION SUCCESS

Gulp file:

sources: 'client/src/app',
tests: 'client/testing',
language: 'ts',
sourceEncoding: 'UTF-8',
ts: {
lcov: {
reportPaths: 'client/coverage/lcov.info'
},
ts:{tslint:{configPath:'./tslint.json'}}
},

everything shows up except coverage on the dashboard. even though it shows on the dashboard the coverage shows 0%.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants