15. Setting up JDev Extension Project
● Install Extension SDK (Help>CheckForUpdates)
● File > New > Applications >
Extension Application
● extension.xml and MANIFEST.MF
● Bundled as .ZIP
● Can be distributed through custom JDeveloper
Update Center
(aka network drive or URL)
39. OJAudit
● Command line auditing
● JDEV_HOME/jdev/bin/ojaudit -help
● Output in XML/text/HTML or custom xsl
40.
41. Automated QA
● Simple solution: Run ojaudit from CI server
and publish output
● Benefit: Same rules during development and
CI QA
● @SuppressWarnings and<!--
SuppressWarning--> keep list of
violations short and actionable
44. SonarQube
● Tool to manage Code Quality
● Rules, Violations, Metrics, Test Coverage, etc
● Free Open Source
● Initially Java, but now 20+ languages
● Historical data, thus trends
● Highly extensible through plugins
45.
46.
47.
48.
49. ADF EMG SonarQube plugin
● SonarQube plugin
o runs ojaudit
o converts ojaudit output to SonarQube violations
● www.sonarqube.com for base product
● Watch ADF EMG for availability of plugin
● Not specific to ADF, but for any JDev project
● Tested with JDeveloper 12c, but should work
with any version
51. Further Reading
● www.olrichs.nl
o Index page for Audit Rules
● www.redheap.com
● www.adfemg.org
o Google Groups
● http://docs.oracle.comJDeveloper Doc (not
ADF documentation)
o Developing Extensions for JDeveloper
o Java API Reference for Extension SDK
Hinweis der Redaktion
Verschillende uitingen van (standaard) audit rules (het framework).
Audit opties.
Audit Profile, samenstellen, exporteren/importeren. Per rule configureren. New via save as.
Style (weergave) / Severity (hoogte rapportage).Visibility voor java (niveau), default fix nog in te stellen als er meerdere fixen gedefinieerd zijn.
Via Application overview ook een overzicht van rules te verkrijgen.
Het overzicht, verschillende tabbladen voor verschillende soort files.
De hele JWS auditen.
De hele JWS auditen.
Overzicht in een issue overzicht. Filter en groepeer mogelijkheden.