Import comments written in Polyspace Access
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I´m starting to use Polyspace Access in a continuous integration workflow and want to know when and how comments which have been set at Polyspace Access are integrated into the created reports. At earlier versions I used the "import comments" function where the last result was checked to integrate all comments which were identified as unchanged. Is that option set by default at Polyspace Server usage or only available if I set it actively in the options file together with the result directory? And where does it take the old result from? Is it also downloaded from the configuration management system?
Another related question is if it is possible to trigger a new report creation after adding comments to the finding manually? Or does the software developer need to wait for the next automatic run until the report is updated?
Thank you and best regards,
Birgit
0 Commenti
Risposta accettata
Anirban
il 29 Mag 2020
Modificato: Anirban
il 29 Mag 2020
Hi Birgit,
If you upload a result to the same project in Polyspace Access as a previous result, all review information from the previous result are imported to the new one. In a CI system, say you upload the result of run x to Polyspace Access (using the polyspace-access command). Then, in the Polyspace Access web interface, you update the review information for some findings in the result, for instance, add some comments. When you upload the result of run x+1 to the same project in Polyspace Access, all review information from run x , including the ones added later, will be imported.
See this documentation topic Import Review Information from Previous Polyspace Analysis. Specifically, this part is relevant:
"If you upload results to the Polyspace Access web interface, review information from the last run of the same project are applied to the current run. You cannot disable the automatic import."
The answer to your second question is: yes, you can generate a report anytime from findings in Polyspace Access. See the polyspace-report-generator documentation. Use the second group of syntaxes on the page.
4 Commenti
Anirban
il 3 Giu 2020
Modificato: Anirban
il 3 Giu 2020
Thanks for the precise problem statement. If I rephrase it a bit, you are still going to generate reports at periodic intervals or specific milestones (since it doesnt make sense to generate reports after every update of comments). However, at the time of report generation, you want to check if there have been any updates at all, and based on the response, generate the report. This will save you some unnecessary report generation.
Unfortunately, I could not find a documented way to poll whether a result on Access has been updated. However, Technical Support often has undocumented tricks up their sleeves. Feel free to contact them. You can point to this answer to save on some initial conversations.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Generate Reports in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!