180 likes | 343 Views
Development Environment and Remote Access facilities provided as CO infrastructure. Pierre Charrue , Katarina Sigerud OP shutdown lectures, 19 Jan 2011. Objective. Inform about CO/AP development wiki CO/AP Eclipse distribution and some (possibly) interesting plugins that come with it.
E N D
Development Environment and Remote Access facilities provided as CO infrastructure Pierre Charrue, Katarina Sigerud OP shutdown lectures, 19 Jan 2011
Objective • Inform about • CO/AP development wiki • CO/AP Eclipse distribution and some (possibly) interesting plugins that come with it
CO/AP development wiki • Summarizes guidelines, recommendations, FAQ, HowTos for software development tools, methods, procedures http://wikis.cern.ch/display/APS/Software+Development
CO/AP Eclipse distribution • A common set of additional plugins • A common set of configurations • Installed centrally in a read-only location (windows/linux) • Support given by AP
Static code check/analysis • Analysis of computer software that is performed by an automated tool without running the program • Looks for bug patterns, common mistakes • A means of improving the quality of software • No silver bullet - Should be combined with testing and code review (= static code analysis performed by a person)
Static code checks used/proposed by CO/AP • Eclipse compilation error/warning configuration • FindBugs, http://findbugs.sourceforge.net/ • Checkstyle, http://checkstyle.sourceforge.net/ • Code reviews of critical and/or complex code • Taken together provide supplementary reporting • Integrated in the AP Eclipse distribution • Case-by-case configuration possible
Eclipse error/warning configuration • Controls the generated compile-time warnings/errors • Proposed configuration: http://wikis.cern.ch/display/APS/Eclipse+warnings+configuration
FindBugs • Source: http://findbugs.sourceforge.net/factSheet.html • Looks for bugs in a Java programs byte code based on the concept of bug patterns • Bug patterns arise for a variety of reasons: • Difficult language features • Garden variety mistakes: typos, use of the wrong boolean operator • Proposed configuration and how to selectively disable certain rules and classes described at http://wikis.cern.ch/display/APS/Static+code+checking+tools#Staticcodecheckingtools-findbugs
Checkstyle Source: http://checkstyle.sourceforge.net • A tool to help programmers write Java code that adheres to a coding standard (formatting, javadoc) • Automates the process of checking Java code • Proposed configuration and how to locally disable certain checks described at http://wikis.cern.ch/display/APS/Checkstyle+Configuration
Issue tracking with JIRA • Used for reporting and tracking of operational issues (via eLogbook e.g.) – OP->CO • Also used for internal project work planning – bugs, new features, improvements, tasks
JIRA from inside Eclipse • Create, view, comment, edit JIRA issues • Also access to other Atlassian tools from inside Eclipse (e.g. for code reviews)
Summary • CO/AP development wiki summarizes information relating to the software development cycle • CO/AP provides an Eclipse distribution with additional plugins installed and configured • Of general interest: plugins for static code checks and JIRA connection inside Eclipse • For more information, follow the links or contact us (CO/AP)