Project

General

Profile

User story #161

Lint: ThreadInformation

Added by André Neto almost 10 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
28.06.2015
Due date:
% Done:

0%

Estimated time:
Git branch (link):
Git merge to develop (link):
SVN commit (link/?p=rev):

Description

Verify and implement coding standard using Flexelint.

Source code files modified

  • Source/Core/L0Portability/ThreadInformation.cpp
  • Source/Core/L0Portability/ThreadInformation.h

Architecture & design review

Date of the review: 29/07/2015

Person who did the review: Ivan Herrero

Version of architecture & design document: N/A. As per the original MARTe implementation, this is a support function and does not require formal design in UML.

Result of review: N/A

List of non-conformities: N/A

Code and documentation review

Date of the review: 29/07/2015

Person who did the review: Ivan Herrero

Result of review: PASS (MISRA non compliant)

List of non-conformities:

  • MARTe2-dev/Source/Core/L0Portability/ThreadInformation.h:47:25: Note 9109: type 'ThreadInformation' previously declared at location 'line 47' [MISRA C++ Rule 3-2-3]
  • MARTe2-dev/Source/Core/L0Portability/ThreadInformation.cpp:93:49: Note 929: cast from pointer to pointer [MISRA C++ Rule 5-2-7]
  • MARTe2-dev/Source/Core/L0Portability/ThreadInformation.h:47:25: Note 9109: type 'ThreadInformation' previously declared at location 'line 47' [MISRA C++ Rule 3-2-3]
  • MARTe2-dev/Source/Core/L0Portability/ThreadInformation.h:47:25: Note 9109: type 'ThreadInformation' previously declared at location 'line 47' [MISRA C++ Rule 3-2-3]
  • Warning 459: Function 'SystemThreadFunction(ThreadInformation *)' whose address was taken has an unprotected access to variable 'ThreadsDatabase::maxNOfEntries'
  • Warning 459: Function 'SystemThreadFunction(ThreadInformation *)' whose address was taken has an unprotected access to variable 'ThreadsDatabase::nOfEntries'
  • Warning 459: Function 'SystemThreadFunction(ThreadInformation *)' whose address was taken has an unprotected access to variable 'ThreadsDatabase::entries'
  • Warning 459: Function 'SystemThreadFunction(ThreadInformation *)' whose address was taken has an unprotected access to variable 'ThreadsDatabase::internalMutex'

Unit test review

Date of the review: 29/07/2015

Person who did the review: Ivan Herrero

Result of coverage tests review: PASS

Result of functional tests review: N/A

Result of review: FAIL

List of non-conformities:

ThreadInformation class has not specific unit tests, but it is actually tested through the unit tests of ThreadInformation class.

Associated revisions

Revision 7fce86c3 (diff)
Added by André Neto almost 10 years ago

Lint of Threads #160, #161 and #162 is ready for review.

Revision bd448fd6 (diff)
Added by André Neto almost 10 years ago

Simplified priority setting interface (#160, #161 and #162).

Revision 6e7350fb (diff)
Added by Ivan Herrero almost 10 years ago

#161 - Minor formatting corrections (following template rules)

History

#1 Updated by Riccardo Vitelli almost 10 years ago

  • Target version set to Backlog

#2 Updated by Riccardo Vitelli almost 10 years ago

  • Target version changed from Backlog to 0.2

#3 Updated by Riccardo Vitelli almost 10 years ago

  • Status changed from New to Code: Impl

#4 Updated by Riccardo Vitelli almost 10 years ago

  • Status changed from Code: Impl to Code: Rev

#5 Updated by Ivan Herrero almost 10 years ago

  • Assignee set to Ivan Herrero

#6 Updated by Ivan Herrero almost 10 years ago

  • Description updated (diff)

Code review made on revision 6e7350f.

#7 Updated by Ivan Herrero almost 10 years ago

  • Status changed from Code: Rev to Unit: Impl
  • Assignee deleted (Ivan Herrero)

#8 Updated by Riccardo Vitelli almost 10 years ago

  • Assignee set to André Neto

#9 Updated by Riccardo Vitelli almost 10 years ago

  • Status changed from Unit: Impl to Code: Rev

#10 Updated by Riccardo Vitelli almost 10 years ago

  • Assignee changed from André Neto to Riccardo Vitelli

#11 Updated by Riccardo Vitelli almost 10 years ago

  • Status changed from Code: Rev to Unit: Rev

#12 Updated by Riccardo Vitelli almost 10 years ago

  • Assignee deleted (Riccardo Vitelli)

#13 Updated by Ivan Herrero almost 10 years ago

  • Description updated (diff)

Unit test review made on revision 6196fef.

#14 Updated by Ivan Herrero over 9 years ago

  • Target version changed from 0.2 to Backlog

#15 Updated by André Neto about 7 years ago

  • Status changed from Unit: Rev to Closed

Done in another user-story. DEPRECATED.

Also available in: Atom PDF