  The use of team for teaching programming can be effective in the classroom
because it helps students to generate and acquire new knowledge in less time,
but these groups to be formed without taking into account some respects, may
cause an adverse effect on the teaching-learning process. This paper proposes a
tool for the formation of team based on the semantics of source code (SOFORG).
This semantics is based on metrics extracted from the preferences, styles and
good programming practices. All this is achieved through a static analysis of
code that each student develops. In this way, you will have a record of
students with the information extracted; it evaluates the best formation of
teams in a given course. The team's formations are based on programming styles,
skills, pair programming or with leader.
