-
Notifications
You must be signed in to change notification settings - Fork 105
My .ts files are not analyzing #161
Comments
Even i am having the same issue |
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 |
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. |
tried both still no luck |
C:\sonar\SonarTsPlugin-master\samples\using-existing-tslint-output>c:\sonar\sona 00:43:27.840 INFO: Scanner configuration file: c:\sonar\sonar-scanner-3.0.3.778- 00:43:30.817 INFO: Load quality profiles (done) | time=17ms
|
hi... Just try with above link. 00:43:32.663 WARN: TsLint reported issues against a file that isn't in the analy |
Is it necessary to run karma for new files? |
No, not at all |
[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] 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] 16:42:54.162 DEBUG: No unit test results property. Skip Sensor [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] 16:42:54.488 INFO: Sensor Coverage Report Import (wrapped) [16:42:54] 16:42:54.488 DEBUG: No unit test results property. Skip Sensor [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 Gulp file: sources: 'client/src/app', everything shows up except coverage on the dashboard. even though it shows on the dashboard the coverage shows 0%. |
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.
The text was updated successfully, but these errors were encountered: