JDeveloper features

Does JDeveloper support any feature to capture following Software measurements?
LOC -- Total Lines of Code
NCLOC -- Non-Comment Lines of Code, aka ELOC, aka NCSL
CLOC -- Comment Lines of Code
DC -- Density of comments = CLOC / LOC.
NP -- Number of Parameters
EXEC -- Executable Statements
CC or V(G) -- Cyclomatic Complexity
WMC -- Weighted Methods per Class (weighted by V(g))
RFC -- Response for Class
DIT -- Depth in Tree. Distance from class to root of inheritance hierachy
NOC -- Number of Children. Number of direct subclasses of a class.
NOT -- Number of Types. Number of classes and interfaces
NOTa -- Number of Abstract Types. Number of abstract classes and interfaces
NOTc -- Number of Concrete Types. Number of concrete classes
NOTe -- Number of Exported Types. Number of classes and interfaces made available to clients outside of package
A -- Abstractness. Ratio of abstract classes and interfaces in a package.
Ca -- Afferent Coupling aka Incoming Dependencies. Number of types outside of a package that depend of types of the package
Ce -- Edfferent Coupling aka Outgoing Dependencies. Number of types outside of a package that types of the package depend on
I = Ce / (Ca + Ce) -- Instability (Robert C. Martin)
D -- Distance from the Main Sequence (Robert C. Martin).
CYC -- Cyclic Dependencies.

The current version of JDeveloper contains a CodeCoach utility that analyzes code at runtime and provides the following types of advice:
Modifier and scope definition
Unused variables and fields
Object sizing
Dead code
Inefficient instanceof usage
Immutable objects with constant parameters
However, we currently do not have the ability to provide the types of metrics you are asking about. We are planning to support code coverage and metrics utilities in a future release, but the list of features is still being discussed. Your input in this area would be appreciated. What tool are using now to get these metrics? Feel free to contact me offline with more details ([email protected]).
Thanks!
-- Brian (JDev Team)

Similar Messages

  • JDeveloper feature recommendation to Oracle

    It would be great flexibility to have a option for local JDeveloper installation to setup JDeveloper settings and configuration on the network drive for faster IDE performance rather then doing the network installation. This will be a great help for teams using JDeveloper.
    My apologies, if this feature is already there and I am not aware of it, can someone please let me know how this can be done?

    I'm not sure what setting do you want to have - the best performance will be if you'll install JDeveloper on your local C drive.
    If you want to work with a network installation you can follow this section of the install guide:
    http://www.oracle.com/technology/documentation/jdev/1013install/install.html#multiuser
    Or are you asking for an install on a central disk "F" that is accessible by all the machines.

  • JDeveloper Features in Eclipse

    Hi All,
    Some where i had that since oracle will be providing adf features in eaclipse. As oracle has now come up with oracle eclipse..any updates about adf feature and release dates by anyone ?

    Check this blog post from Shay:
    http://blogs.oracle.com/shay/2011/02/adf_faces_now_in_eclipse.html
    Also, check this link: http://www.oracle.com/technetwork/developer-tools/eclipse/overview/index.html
    Thanks,
    Navaneeth

  • How to create secure EJB web service in Oc4J using JDeveloper?

    We are going to develop a EJB web service running in OC4J using JDeveloper 10.1.3.3.
    By using the JDeveloper feature, we can simply create the web service by using the "Web Service Endpoint Interface" in the session bean.
    However, unlike the web service created from Java class, I can't find any option to change the security setting of this web service. We tried adding annotation like @DenyAll for testing, but there has no effect and related method can still be called without WS-Security header.
    Now, we can only change the security setting via the web console after deployment (select the web service, then enable security in administration page, and then edit security configuration to change the inbound policies for authentication). It works in our local machine, but it may not work in the production environment as we cannot touch the em console.
    May I know if there has any way to include the security setting inside the project?
    Thanks in advance.

    If I am not wrong, you might be probably talking about this :
    http://docs.oracle.com/cd/B40099_02/books/EAI2/EAI2_WebServices33.html#wp179056
    In order to implement the SOAP header, you would have to :
    (1) Define SOAP header in the wsdl of the service.
    (2) Add a new soap binding in the wsdl, which contains soap header and soap body.
    I think, this should get you going..

  • Is there any tutorial for jms development with jdeveloper out there ?

    Hi
    Thank you for reading my post
    is there any tutorial which show us how to use jdeveloper +oc4j for JMS stuff ?
    I mean an end 2 end tutorial to build mdb+jms resources in oc4j + client
    it will be far better if the tutorial shows how we can use jdeveloper features for this task (if it provide any wizard...)

    This is an example of a client:
    public String listeningJMS (Context context) throws Exception
    String topicName = "jms/demoTopic";
    String topicConnectionFactoryName = "jms/TopicConnectionFactory";
    TopicConnectionFactory topicConnectionFactory = null;
    TopicConnection topicConnection = null;
    TopicSession topicSession = null;
    Topic topic = null;
    TopicSubscriber topicSubscriber = null;
    TextMessage message = null;
    String fileName = null;
    * Look up connection factory and topic. If either does
    * not exist, exit.
    try
    topicConnectionFactory = (TopicConnectionFactory)
    context.lookup(topicConnectionFactoryName);
    topic = (Topic) context.lookup(topicName);
    * Create connection.
    * Create session from connection; false means session is
    * not transacted.
    * Create subscriber.
    * Register message listener (TextListener).
    * Receive text messages from topic.
    * When all messages have been received, enter Q to quit.
    * Close connection.
    topicConnection =
    topicConnectionFactory.createTopicConnection();
    topicSession =
    topicConnection.createTopicSession(false,
    Session.AUTO_ACKNOWLEDGE);
    topicSubscriber =
    topicSession.createSubscriber(topic);
    topicConnection.start();
    System.out.println("Receiving: ");
    TextMessage msg = (TextMessage) topicSubscriber.receive();
    String xmlString =msg.getText();
    topicConnection.close();
    System.err.println("Received: "+xmlString);
    fileName = this.getFileName(msg.getText());
    } catch (Exception e) {
    throw e;
    } finally {
    if (topicConnection != null) {
    try {
    topicConnection.close();
    } catch (JMSException e) {throw e;}
    return fileName;
    public static Context getInitialContext() throws NamingException {
    Hashtable env = new Hashtable();
    // Standalone OC4J connection details
    env.put( Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory" );
    env.put( Context.SECURITY_PRINCIPAL, "oc4jadmin" );
    env.put( Context.SECURITY_CREDENTIALS, "welcome1" );
    env.put(Context.PROVIDER_URL, "ormi://localhost:12401");
    //env.put(Context.PROVIDER_URL, "ormi://localhost:23791");
    return new InitialContext( env );
    }

  • Why use Raptor instead of JDeveloper?

    Is there anything in Raptor that is not in JDeveloper?
    I have been using JDeveloper for SQL PL/SQL script development and for general SQL duties as we don't have licenses for Toad or any other useful developer tool.
    I have been trying out Raptor, but find that many of the featires that I like in JDeveloper are not in it.
    For example, the Diagrammer, offline database tables, File oriented PL/SQL Development etc.
    Have a missed a Raptor benefit? Is Raptor intended to be a sub-set of JDeveloper features - e.g. JDeveloper Lite without the Java stuff?

    Raptor is for database developers, not Java developers. I put together a quick list of features that we have added to Raptor:
    Oracle Objects:
    for tables -
    - create simple table
    - on create table, generate pk trigger and sequence
    - support of partitioned and index organized tables (by production)
    - copy table
    - normalize column
    - table data grid edit (with sort and filter)
    other objects -
    - additional view, index, synonym, type support,
    - database link support
    - recycle bin support
    - limited user management (more to come)
    other -
    - right-click actions for all objects
    - more details for almost all objects
    SQL Worksheet:
    - explain plan
    - sql history
    - dbms output
    - owa output
    - bind variable support
    - sql script
    - support commit option (autocommit or not)
    - dragging objects into Worksheet
    PL/SQL support:
    - code folding
    - code formatting
    Other:
    - export of data to various formats
    - snippets
    - ddl generator (by production)
    - reporting (included and user-defined)
    - smaller footprint
    and more to come …
    -- Sharon

  • ADF EMG - ADF Feature Wishlist - tell Oracle what you want

    Interested in letting Oracle know what features you'd like in future JDeveloper releases? Over on the ADF EMG we're discussing this right now:
    http://groups.google.com/group/adf-methodology/browse_thread/thread/cc13519585872e66?hl=en
    If you're not a member take the opportunity to sign up, and let Oracle know what you think the next killer JDeveloper feature is.
    CM.

    Interested in letting Oracle know what features you'd like in future JDeveloper releases? Over on the ADF EMG we're discussing this right now:
    http://groups.google.com/group/adf-methodology/browse_thread/thread/cc13519585872e66?hl=en
    If you're not a member take the opportunity to sign up, and let Oracle know what you think the next killer JDeveloper feature is.
    CM.

  • Components from JDeveloper?

    I'm cleaning out my hard drive and I'm about to dump JDeveloper. I don't do much of anything with it these days, but there are few components that I love and will miss greatly.
    - Code Structure - Like the outline in SQLDevleoper, but on steroids.
    - Diagrams - Good for quick documenting and throwing together quick data models without the need of a full blown modeler.
    ...what are the chances that either of these are just plug-ins that would be compatible with SQLDeveloper with the right know-how?

    I like the breakout of Parameters/Deceleration/Code/Exceptions, as well as that each nested sub-procedure is treated the same exact way as their parent. I like how it lists <<labels>>. And while having each individual statement is a little overkill for an "outline" with nested loop/if/case statements, it does make an excellent code visualizer. I've used it to dig though some ugly spaghetti logic. It's on par with being able to collapse code in the editor, but in a more compact/straight forward format.
    On a somewhat related note, another JDeveloper feature I like is being able to put /* TODO - SOMETHING*/ in the code and have it visually marked on the scroll bar. Makes for a nice reminder that I have something I wanted to go back to. Maybe I'll add that to the feature request list if its not already there.

  • How to prepare test 1Z0-512.

    I am wondering whether any of you have past this exam. I am thinking to take this test, but I need more info desparately. Anyone could give a suggestion how to prepare this test of "Developing database applications with Java"?
    Thx.

    Hi,
    This test is exhaustive from the point of view of the Test Objectives.I suggest you download the Candidate Guide from http://education.oracle.com/certification, and sincerely follow in depth all the test objectives mentioned for this test.
    Even though you are new to this product, I suppose, it should not take more than 1.5 months to clear this test.
    You may consider looking into the samples depending on the time available with you.However, for the test, understanding and developing simple applications by yourself using all the JDeveloper features would be good enough!
    Good luck,
    Sandeep

  • Problem viewing xhml_usc file of UseCase diagram

    I am new to Jdeveloper. Currently working with Jdeveloper 11.1.1.6.0
    Cannot view the xhtml_usc files of items in the Use Case Diagram.
    I think there is a problem in interpreting the xml itself. Since in the source of the page, items r marked red and the xml tags r grey (cannot be interpreted). And in the html tab of the page, a blank page is displayed.
    Need help plz as we r investigating the new UML JDeveloper features here.

    It is typically a bad idea to have degenerate sample data as in this case where each element is 7. This does not easily allow to verify if the correct order and transposition is achieved. (Also, your second FOR loop is pure LabVIEW gibberish. )
    Try something as shows in the image.... (of course the diagram constants should be replaced my math based on the input array sizes).
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ImageAverage.png ‏8 KB

  • No Sample Schemas in OracleAS10g 10.1.2 Infrastructure database

    Hi, all!
    I have installed OracleAS10g 10.1.2 Infrastructure instance on Windows 2003 Server by standard installation procedure. I see that Oracle database in that instance have version 10.1.0.3.1. Now I need fresh sample schemas for learning JDeveloper features. But in Infrastructure database I have no sample schemas. On OTN's Oracle10g Database download page I see only version 10.1.0.2 for MS Windows (32-bit). So I have only Sample Schemas from Oracle Database 10g Companion CD Release 1 (10.1.0.2) for Microsoft Windows (32-bit).
    Can I use this version of Sample Schemas to install into my Infrastructure Database 10.1.0.3.1?
    With best wishes,
    Igor Shulgin

    I have the same problem.
    I located the demo schemas on another machine but when I want to run the script to create them it asks me for the passwords and the metadata script:
    specify INPUT metadata import file as parameter 8:
    I have no idea where that file is.....
    Can anyone help me?
    Wendy

  • Is this a bug or a feature in JDeveloper 11.1.1.4?

    Hello everybody,
    when I try to create a new "Reusable Process" with the composite editor in Jdeveloper, nothing happens on in the composite design view! I can see the process in the file structure and I can also edit the process in the bpm editor, but I can't see it on the composite.
    This looks like a bug to me. Can anybody confirm this?
    Best regards, Chris
    Windows 7 (64 bit)
    JDK 1.6.0_24 (64 bit)
    JDeveloper Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923
    BPMN Editor 11.1.1.4.0.5682
    SOA Composite Editor 11.1.1.4.0.56.82

    it's a feature of cource. all bugs in 11g are features!

  • MDI form feature in JDeveloper 10.1.3

    It's nice to see that you provide MDI form feature now for JClient in JDeveloper 10.1.3. Actually, you are having an even more powerful rich client framework that is quite more useful than MDI, witch is already available in your inventory. That is the doctable framework you are using for JDeveloper itself. Some IDE provider releases, or partially releases their source environment. Do you have any plan to release that also? That will make JClient users extremely happy :-)

    Charles,
    we are currently evaluating this option but have made no decision yet.
    Frank

  • Using the Edit definition feature for data controls in Jdeveloper 11g

    Hello,
    I am using Jdeveloper 11g 11.1.2.3.0.
    I have some data controls used in my application. Initially they were pointing to lab now it has been changed to development.
    I need to change the wsdl urls' for each data controls. I used edit definition feature in each data controls and copy pasted the new urls. But this does not seem to work.
    Is this the right way of doing it or is there any other way to accomplish this?
    Thanks in advance,
    Sal

    Hi,
    choose Application Resources (iAccordion in Application Navigator) --> ADF META-INF --> Open and Change connections.xml
    Frank

  • Any date for jdeveloper 10.1.3 beta with adf features

    Hi Jdeveloper team,
    Is there any date we can expect the next jdeveloper 10.1.3 beta with more complete adf features ? I'm currently evaluating the technology stack+tool to use for our next project ( preferably jsf based ), the lack of an adf faces release with adf databinding and adf bc features means I can't do a complete evaluation of 10.1.3 now.
    Regards,
    Low

    Low,
    we don't have a date for a preview release of Oracle JDeveloper 10.1.3 with ADF. Our intention is to release a preview version on OTN as soon as possible and if possible.
    Frank

Maybe you are looking for

  • Strange Solaris 8 behavior and warnings in messages log

    Hello, Solaris 8 4/01 has strange behavior on Ultra 10. After an aleator period after log in, without running an application, window controls dissapear and the machine hangs up. here are a few lines from messages log: Aug 20 11:53:54 paris su: [ID 10

  • Process flow related to lis

    Hi, Where can i get sample or examples of process flow related to LIS in SD Module. Please guide me. Regards, Vinod

  • All my icons are missing from the Menu bar.. help!

    Hi everyone, Today I noticed that all my icons are missing from the right hand side of my screen. There is no Wifi, Bluetooth, clock, or Spotlight! How does this happen?!? Does anyone have any solutions? Thanks, Timmay

  • WRT300N v1.0 Firmware 1.03.6 Subnet miscalculation

    Attempted twice to communicate to technical support via chat feature but was horribly frustrating experiencing. They want to resolve the issue, which is understandable, but their idea of a resolution is to use the default configuration. BUG: When att

  • Heat haze with 32 bit float

    Hi. I found a method for a heat haze effect on Digital Media Net and have been using this for a while with no problems.  The method uses the CC Particle world AE effect.  My current animation is rendered from 3DS Max as EXR and my AE composition is 3