Lines of Code.    Project Metrics

Anyone know of a way to find the number of lines of code, number of class, etc... for a Flex project?

Also check out CLOC just download cloc.pl stick it in your project directory open terminal cd into the directory where you put the cloc.pl and run (without quotes) " perl cloc.pl "  it will show you options.  For your first time just use " perl cloc.pl --quiet /somedirectory/otherdirectory "
http://cloc.sourceforge.net/

Similar Messages

  • Total number of lines of code in a  project

    Hi All,
    We had developed a project in oracle adf using jdeveloper Version 11.1.1.4.0.Is there any way to find how many lines of code we had wriiten in the entire project.
    Regards,
    Smaran

    Hi,
    NOS stands from Number Of Statements and is a bit different than nloc (line of codes) that is count the statements rather than lines, thus independent from coding styles. As for V(G), it's the cyclomatic complexity, also known as McCabe.
    Regards,
    ~ Simon

  • How do I tell how many lines of code my flex project has?

    Hi, I recently had two programmers build me a 20k plus application and would like to figure out how many lines of code are in the project and if there is a way I can get a print out of all the code.  If it helps the project was architected with the caringorm framework.
    thanks.

    Thanks for the response, do you mean there is no feature for telling you how many lines of codes or no feature for a complete print out or both?
    I'm a little in the dark about exactly how big and complex my project is and would like to have a better understanding of the project before I have programmers bid on phase II of development so I can get a fair quote.

  • Typelag happens in big projects. AKA 38,325 lines of code.

    My machine runs very fast in all other applications, it is a gaming computer that runs Starcraft 2 smoothly on the highest settings.
    I'm writing a very big application in Flash.  It is well on its way to being a MMORPG.  I have hundreds of classes, but my biggest class has really off the charts type lag.  My biggest class is 38,325 lines of code.
    Now every time I type, it tries to highlight words in grey for some reason.  I think every letter I type, it searches the entire 38,325 lines of code for that word in order to highlight all cases of it.
    take a look at this picture and how "hud" is highlighted
    LINK: http://www.goodnewsjim.com/images/slowdown_FB4.png
    As I move the cursor around and edit, I often times get 1-5 seconds of slowdown, sometimes I even get 20 seconds of type lag where the Flash Builder temporarily says "Not Responding in the window bar".  This happens all of the results of me typing letters, moving arrow keys or pressing delete or backspace.
    For small edits, I can wait 20 seconds to edit one word, but when I work a lot on my code, I have to open an external editor like Scite, but the alt-tabbing consumes time, and there is a mouseclick to reload the .as file.  I would like to use Flash Builder 4 for editing my code, after all that is what an IDE should be able to do if anything.  An IDE should at the very least be no worse than a generic text editor.
    Please tell me how I can disable Flash Builder 4 from trying to highlight words in grey. I think this is what is causing my typelag.  I've turned off code hints.

    Anirudh,
    Thank you again for your quick response.
    1) I already disabled Code assist completely in Window -> Preferences -> Flash Builder -> Editors.
    2) Ok, I did toggle mark occurances off.
    The problem still persists.  I still have type lag. 
    ,Jim

  • Is there a way to measure lines of code in a VI?

    My software quality team is trying to estimate how much testing is going to be needed for a LabVIEW project. Usually they go by lines of code, but LV is visual. I thought I heard about a tool that can be used to estimate lines of code. Is that true? Where can I find it?

    Labview won't tell you exactly the # of lines of code, it will give you a the total Code size (memory in bytes) - check the Help under Metrics. We use this value as a certain ratio equivalent to tradional lines of code for estimating projects. With a little guess work, and depending on what traditional text-based language you compare to, you might find that Labview code is a 1:2 or 1:3, ?? ratio.
    I have my own ratios for comparing to C or C++, etc., and continue to fine-tune these differences. Think how 100 lines of comments in a tradional code skews estimates...

  • Integration conflicts comparision beyond 20 thousand lines of code

    Hi
    SAP Netweaver ,  webdynpro for Java
    I have a file which has 20 thousand lines of code in Project track and 16 thousand lines of code in maintanance track.
    I have added 2 lines of code in maintainance track and tried to resolve integration conflicts with project track.
    when i do Merge in integration conflict with project track.
    it took so much time to compute difference and finally ended up with message
    " Too many differences, Turn on the Ignore white space option or do a structure compare first"
    once i click ok it takes to the comparison but its not able integrate as there are no signs of merging the code.
    i am not able not find any solution for this to resolve this.
    Could you please help me in this
    regards
    pradeep

    Hi Satish and Anil,
    Thanks for your reply.
    Actually its only one activity that has to be integrated from Maintanance track( (4 new lines of code) out of 16 k lines) to project track which had 20 k lines of code.
    Once i have released the activity from transport view of mainatance track it reached to consolidation tab of maintanance track and in parallel it reached to development tab in Project track(i have imported the same to consildation of project track) in CMS
    After that i have gone to DTR and clicked on Integration conflicts the when i tried to right click and merge
    it took so much time and finally ended up with message saying
    " Too many differences, Turn on the Ignore white space option or do a structure compare first"
    could you please help me this is critical for us to integrate the changes
    Thanks and Regards
    Pradeep

  • Finding the number of lines of a project in Eclipse

    Not strictly a java question, but does anyone know how you can get the total number of lines of code in a java project in eclipse?
    Kind regards,
    Eskil

    What operating system are you using? Unix has easy ways of counting line numbers in files (and will also give the total). For example, the "wc" command. Of course, that is just physical lines. Often when you count SLOC (source lines of code), you count lines differently from physical lines (e.g., you might ignore blanks or comments [and/or report them separately], or you might split statements up differently from the way they are formatted on physical lines).

  • No of classes, Methods, Lines of codes, DLL's used and Third Party Libraries details identifying tools

    We have started a project to migrate 100+ Web Applications developed using legacy Microsoft technologies to latest .Net 4.5 Framework.
    The following are the planned migration approach
    Classic Asp à                                                   
    Asp.Net 1.1 Framework à Asp.Net 4.5 Framework
    Asp.Net 2.0, 3.5, 4.0 Framework à         Asp.Net 4.5 Framework (Direct Migration)
    Asp.Net 2.0, 3.5, 4.0 Framework à         Asp.Net 4.5 Framework (Application Rewrite
    using MVC/Entity Framework)
    VB 6 (COM/DCOM) à                                  
    C# .Net 4.5 (Web Services)
    We have to analyze 100+ applications to categorize them as Simple/Medium/Complex conversions for planning the timeline for completing the migration activities.
    Analysis includes identifying the following details - No of classes, Methods, Lines of codes, DLL’s used and Third Party Libraries  details
    for 100+ Microsoft applications.
    Could you please let me know do we have any effective tool to identify above mentioned details?

    This forum is for Microsoft Project Server, an EPM tool. You will need to find a more suitable forum for your question.
    Good Luck with the conversion!
    Rod Gill
    Author of the one and only Project VBA Book
    www.project-systems.co.nz

  • Converting vi's to lines of code

    All,
    In order to review and grade our code we would like to use 'lines of code'
    as a basis of measurement (ex. 2 defects per 1000 lines of code). Since
    labview is graphical this provides an obstacle. Is there a standard for
    converting labview vi's into lines of code for measuring quality?
    Dan Troutt
    Note : Remove 'nospam' from email address to email. Thanks.

    The URL for the Manual is: http://www.ni.com/pdf/manuals/321393b.pdf and
    the VI Metrics Tool section of the manual is chapter 8.
    Most manuals for NI products are available on the web at : https://digital.natinst.com/manuals.nsf/web/byproductcurrent
    I hope that this helps,
    Bob Young
    National Instruments
    "Kevin B. Kent" wrote:
    >Dan Troutt wrote>> All,>> In order to review and grade our code we would
    like to use 'lines of code'>> as a basis of measurement (ex. 2 defects per
    1000 lines of code). Since>> labview is graphical this provides an obstacle.
    Is there a standard for>> converting labview vi's into lines of code for
    measuring quality?>>>> Dan Troutt>> Note : Remove 'nospam' from email address
    to email. Thanks.>>There is a
    VI package (I believe it is the Pro G Developers
    Toolkit)>that has VI Metrics. This shows number of nodes, wires, etc etc.>I
    believe that this is similar to current SW metrics (maybe not Lines of>code).>I
    cant find the manual right now, but this may be what you are looking for.>
    Kevin Kent>
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • Renaming Executable File In X code Project

    Hello,
    I have Made An Coca application with Name "TestCal" in X code Project.Now I want to Rename Its Final App (Release Mode) Executable File to "TestCalculator".
    How Can I Change The Name Of This Executable File Within That Project Only.
    is It Possible Or I have to Make a New Project With Name @"TestCalculator"?..
    Thanks.......
    xmax

    Thanks For Your Suggestion.
    Now , I am able to Rename Executable File.
    Thanks
    xmax.

  • Problem with the progress line in MS Project

    Hi there,
    I have a question about the progress line in MS Project. 
    My boss asked me to see how far we were with the work, so I inserted the column '% Complete' and then the progress line.
    Now my boss has a problem with the layout and I don't know how the fix it. The problem is at line 43 and 44, where the progress line indicates that we are behind on that group of tasks. But is it possible for the progress line to not indicate it on lines
    43 and 44 but only on lines 45 to 50? So my question is if it's possible to make the progress line go down (vertically) over line 43 and 44 instead of jumping to the back? 
    It would be much more simple if I could insert lines 43 ad 44 as text but not as a task, so that it just counts as a title of some tasks but nothing more than that. Is that possible in Project?
    (Lines 45 to 50 are subtasks for line 44, and 44 is a subtask for 43. So line 43 is the main task.)
    Normally there was a picture here but I couldn't upload it because my account is not yet verified... So hopefully you can understand the problem with the text. 
    If anyone could give my some advice or the solution, that would be great!
    Thanks in advance!

    Hi Thunderbal66--
    Basically your activity 43 is late because the sub tasks are also late. Thus MS Project shows the situation by moving the progress line backward. The progress line is automatically displayed based on your project progress, there is no way to manually change
    it unless you update your project.
    I think the question is not there. This is more a matter of project governance and transparency: why not showin that a project is late when it is late and taking the appropriate corrective actions?
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Total number of lines of code in a class.

    Dear Experts,
    Given a class, I want to find out the total number of lines of code in all of its methods.  Following sub-parts are derived.
    1.  Find out all the methods of the class
    2.  Find out the number of lines for each of these methods and finally add the total number.
    Can you kindly let me know how I can do this?  Thanks a lot !
    Best Regards, Vikram

    Be aware that a 2D array is an array of arrays, which don't necessarily have to be the same length. e.g.int[][] a = new int[2][];
    a[0] = new int[10];
    a[1] = new int[20];
    /* a.length == 2
       a[0].length == 10
       a[1].length == 20*/

  • White lines of code on black background upon starting up

    I recently sent my Macbook in due to problems with the screen going dark for no reason. Upon recieving the laptop back, I noticed problems upon starting. When I restart my laptop, there are white lines of code on a black background. I called in to support, but my support expired and here I am searching for help. They told me that I needed to try and reset my drivers, or my HDD is bad. To reset my drivers they gave me a combination of keys to press upon restarting, but I don't remember the combination of keys. I have repaired my disk using the install CD, but still am having problems.
    It's crazy that I send my laptop in and get it back with other problems... Any help is appreciated becuase Apple surely isn't helping.
    Macbook   Mac OS X (10.4.8)   Core Duo w/ Bootcamp

    Turn the computer off. Wait one minute. Restart. If you are still booting into single-user mode (black screen with white print) then at the prompt enter:
    reboot
    Then press return. If this does not start you up into OS X then there's a system problem. You will need to reinstall OS X. You can do this using the Archive and Install option that does not require you to erase the hard drive. Your old system will be archived in a Previous System Folder at the root of the hard drive.
    Before performing the Archive and Install you should do the following:
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. Then select Disk Utility from the Installer menu (Utilities menu for Tiger.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then quit DU and return to the installer. Now proceed with the OS X installation.
    If DU reports errors it cannot fix, then you will need Disk Warrior (4.0 for Tiger) and/or TechTool Pro (4.5.2 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • What is the error in this one line of code!

    s=s-(s/28)*[1-(s/28)*(29/s+1)*(21-q/11)];
    I am using this line of code in my programe but i am getting the following error.
    C:\shahzad\Easter.java:28: illegal start of expression
    s=s-(s/28)*[1-(s/28)*(29/s+1)*(21-q/11)];
    Please help me solvingg this problem
    thanks.

    s=s-(s/28)*[1-(s/28)*(29/s+1)*(21-q/11)];
    [] brakets ae used to index arrays, are you using an array somewhere????
    arr=5; for example....
    in either event youl need to make changes.
    assuming no array is involved simply change [] to ()
    if still causing problems try adding extara()
    s= (s-(s/28))*( (1-(s/28)) * ( (29/s)+1) * (21-(q/11)) );

  • Thousands of blank lines in code view? Where did they come from?

    I have an older DW site, that for some reason when I open certain pages in code view show literally thousands of blank lines.  So line 1, code, line 2-15 are blank, then what used to be line 2 of the code, is now line 16. All the way down the line.  This one page literally has THOUSANDS of blank lines in it:
    Aurora Prom Corsages, Boutonnieres, Flowers, School Dance Flowers-Yorkville, Osego Illinois
    page renders, edits and looks fine in DW, browsers, etc. 
    My client edits it with Contribute. I use DW.
    There are certain pages he opens regularly, never saw the lines, other pages, just opens once a year, lines all over again.
    We can't find any rhyme or reason to it.
    Has anyone ever seen this?

    Try opening one of those pages in DW and then go to Commands > Apply Source Formatting and see if that cleans them out.
    I've heard of a bug where adding html comments can cause added blank lines in certain versions, I've never seen it myself though.

Maybe you are looking for

  • Can two people access the same online number at th...

    Me and my dad share the same online number for friends and colleagues to call us, but it seems that the calls that come through to me are ad-hoc whilst my dad gets every call on his system.  I just wondered if this is because 2 systems are trying to

  • Error while deploying RPD

    Hi, Trying to deploy RPD thru EM, following standard procedure which I have been doing for long enough but now hit this issue, there is not much that I can understand in this any help would be appreciated: Message     Supplementary information regard

  • VC Model deployment error

    Hi,      I created one model in VC and deployed. But it is not get deployed. I am getting the error like 1. SALES DOCUMENT not assigned a value to cal sales order Getstatus. 2 The expression "Customer number u201Ccontains an error: Expected text valu

  • Two Internal tables to be displayed as separate ALV grid.

    Hi Friends, I have 2 internal tables say i_tab1 and i_tab2. I_TAB1 contains 10 records. I_TAB2 contains 15 records. My requirement is to display I_TAB1 with title 'Success Records' and ITAB2 with title 'Missed Records'. It should be done thro ALV gri

  • How do I register as a student?

    I had not realized that there was a student plan or pricing that was available; since I just learned this I was wondering how I can verify that I am student.