1 / 18

Development Environment and Remote Access facilities provided as CO infrastructure

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.

arnie
Download Presentation

Development Environment and Remote Access facilities provided as CO infrastructure

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Development Environment and Remote Access facilities provided as CO infrastructure Pierre Charrue, Katarina Sigerud OP shutdown lectures, 19 Jan 2011

  2. Objective • Inform about • CO/AP development wiki • CO/AP Eclipse distribution and some (possibly) interesting plugins that come with it

  3. CO/AP development wiki • Summarizes guidelines, recommendations, FAQ, HowTos for software development tools, methods, procedures http://wikis.cern.ch/display/APS/Software+Development

  4. CO/AP development wiki

  5. 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

  6. 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)

  7. 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

  8. Eclipse error/warning configuration • Controls the generated compile-time warnings/errors • Proposed configuration: http://wikis.cern.ch/display/APS/Eclipse+warnings+configuration

  9. 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

  10. FindBugs

  11. 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

  12. Checkstyle

  13. 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

  14. JIRA from inside Eclipse • Create, view, comment, edit JIRA issues • Also access to other Atlassian tools from inside Eclipse (e.g. for code reviews)

  15. Example: Connect to JIRA

  16. Example: Create new JIRA issue

  17. Example: Viewing JIRA issues

  18. 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)

More Related