CheckThread static analysis tool, @ThreadSafe, @ThreadConfined

Hello,
I'm looking for feedback on CheckThread, a free and open source static analysis tool I created.
By using a @ThreadConfined and @ThreadSafe annotation on methods and classes, this tool can catch certain types of threading bugs at compile time.
To see examples, check out:
http://www.checkthread.org/examples.html
For example, when developing a Java Swing app, a Java developer must ensure that the Swing component is accessed only on the Event-Dispatch Thread after the component is realized. With large applications that are thousands of lines of code, simple thread confinement for Swing can be difficult to enforce and may result in wacky sporadic runtime behavior. CheckThread solves this problem using annotations and a static analysis Ant task - thread confinement problems are caught at compile time. An added benefit is that the threading model of Java code is well documented inline with the code.
All feedback welcome!
Thanks,
Joe

I recommend you to ask developers of FindBugs to add your feature to their project. FindBugs says that it already supports concurrency bugs finding (see jcip package), but that support is very poor (actually, it's not working). I'll try your program.

Similar Messages

  • Source code analysis tools for ActionScript 2?

    I have been tasked with performing source code analysis on a very large (>1000 files) AS2 codebase. 
    Not surprisingly, Googling is not yielding useful results.   Before declaring defeat, I felt it important to query this forum.
    Any guidance would be appreciated.

    We'd like to evaluate the hundreds of files using a static analysis tool, just as one would use lint for a C codebase.
    Thanks,
    M

  • Java static code analysis tool on Windows

    What Java static source code analysis tool are there on Microsoft Windows, and which would you recommend?
    I Know Coverity and
    Klocwork
    Edited by: Jennifer.helen on May 8, 2009 6:03 AM

    I submit PMD and Findbugs.

  • Is there any sql analysis tool?

    Hi all,
    Is there any open source library/tool that monitors a database and hold statical analysis of the usage and frequency of sql statements?
    thank you in advance, Kostas

    That would be database specific and normally (perhaps always) only something that the database vendor can provide.

  • Help please .. Automatic code analysis tool

    Hi,
    I have written some action script for my project and i am
    required to do a static code analysis on it.
    I do not know any source code analyzers that support
    actionscript particularly like fortify and ounce labs which
    support Java script but not action script.Please suggest me
    an tool that can do analysis for me.
    Regards
    Mallik.

    Hi Ross,
    Thank you very much for your reply, i think i should rephrase
    my question to make it even clear.
    I am looking for a tool to detect Buffer overflows, memory
    leaks, security vulnerabilities, string vulnerabilities, Race
    conditions. I am sorry i think by mentioning security i gave the
    impression of protection my application from external intrusion.
    But this is what i meant. For example, My project also includes C#
    usage and i have options like fortifysoftware, ouncelabs
    ,parasoft's .TEST, FxCop (microsoft) to help me do static analysis
    on my C# code. I need some tool like these for action
    scripts.Please let me know if you need more explanation.
    Regards
    Mallik

  • Tax Analysis Tool | Report | SAP B1 | Localisation India

    I don't know why this thread is not displayed same as I have typed in
    Hi Solution Development Team,
    I guess you are aware of the poor status of legal reports offered by SBO in country india version (I am aware of merging of A,B,C in new version 8.8).
    I fore see if a Tax Analysis tool / Report provided same on the line of Sales Analysis already available at present, then it can be of great help to customer in following ways.
    1. In India the frequency of changes in Legal tax structure is veri high, so even if all the as of date reports are developed then it can change any time.
    2. The proposed solution can be suggested as work around to customers/users.
    The desired tool/report should work as below
    1st Input parameter screen should collect following information from user (you may add more)
    1.a. From Tax Category
    1.b. To Tax Category
    1.c. From Tax Type
    1.d. To Tax Type
    1.e. From Tax code
    1.f. To Tax code
    1.2. Tax combination
    1.3. Select From Date (Posting / Document)
    1.4. Select To Date (Posting / Document)
    1.5. Transaction category (Optional reference A/R Invoice Tax Tab)
    1.6. Check Box ( Multiple choice A/R Invoice , A/P Invoice , A/P and A/R Credit Memo etc Marketing documents same as available in General Ledger report)
    1.7. Radio Button (Summary OR Detailed)
    Once user provides above details then in 2nd screen system should provide following data filterd based on criteria given in 1st screen
    01. BP code and Name (Customer/Supplier)
    02. Document Type
    03 .Document No.
    04. Document Date and Posting Date in separate columns
    05. Item (multiple line for same document only in case of Detailed is selected in 1.7 above)
    06. Tax Category (multiple line for same document only in case of Detailed is selected in 1.7 above)
    07. Tax Type (multiple line for same document only in case of Detailed is selected in 1.7 above)
    08. Tax Combination (multiple line for same document only in case of Detailed is selected in 1.7 above)
    09. Tax Code (multiple line for same document only in case of Detailed is selected in 1.7 above)
    10. Base Amount
    11. Tax Percentage (depend upon the Tax code / Formulla)
    12. Total Tax Amount (as per the choice made in 1.7 above - total document tax in case summary is selected)
    13. Document Total as applicable
    14. Transaction Category
    15. BP Tax Info. Columns (VAT No. / Service Tax No. PAN No. etc all)
    Also bring other columns which you find relavant, user should have option to make visible using form setting
    The chalange I guess in this reporting/analysis is to display tax parameter code wise amount in column format which is stored in row format in system per item line (for reference see details displayed in link of A/R invoice Tax amount column).
    Best Regards,
    Samir Gandhi

    No Body responded very strange !!!!!

  • I have adobe photoshop CS6 and I am trying to use the analysis tools but all of them except for the ruler tool are unavailable. Am I missing certain plug ins?

    I have adobe photoshop CS6 and I am trying to use the analysis tools but all of them except for the ruler tool are unavailable. Am I missing certain plug ins?

    Which operating system?
    If I recall, some features were not fully supported on XP.
    Nancy O.

  • ClassLoader Analysis Tool(CAT) doesn't seem to work with WL10.3

    Hi,
    I have an EJB running on WL10.3. It uses the Apache Commons Pool 1.6 jar to maintain a Pool of the other component sessions. We recently came to know that WL10.3 already has commons-pool.1.3 jar in its default classpath (module directory), so 1.6 jar is not being referenced at all. So we added META-INF\weblogic-application.xml and used the following setting as per the ClassLoader Analysis Tool(CAT) suggestion. We updated the deployment with this and cleared the cache,  restarted, but still the CAT Tool's 'Analyze Conflicts' gives the same suggestion, implying that the changes didn't work. So not sure if this is the problem with the CAT Tool or with the following configuration.
    <?xml version="1.0"?>
    <weblogic-application xmlns="http://www.bea.com/ns/weblogic/90"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <application-param>
                <param-name>webapp.encoding.default</param-name>
                <param-value>UTF-8</param-value>
           </application-param>
           <prefer-application-packages>
                <package-name>org.apache.commons.*</package-name>
           </prefer-application-packages>
    </weblogic-application>
    Also, Is there any alternative to verify this change, I checked for commons-pool verbose option, so that we could see more details and track the class files. But I don't see any option available. Can anybody help ?
    Thanks.

    Did you build Elsa with this package from AUR: elsa-svn-arch
    The way your elsa.conf looks like indicates to me that you have not.
    Please use the package because you are also missing pam-files.

  • STATSPACK ANALYSIS TOOL

    hi guys,
    I need to analysis my statspack report of my own. Is there any free tool provided to analyse the report of my own.
    TIA,

    Hi,
    You could take a look at a great set of statspack and AWR analysis tools here http://www.statsviewer.netfirms.com/
    Cheers

  • Speedgrade crashes when showing the analysis tools.

    I can make edits and changes to grades and effects just fine. But as soon as I click the arrow to open the analysis tools, the application crashes. This is extremely frustrating as I need the scopes to do anything in SG.
    I have attempted to lower preview resolution, scopes resolution, GPU acceleration on and off. I have uninstalled twice.
    Machine info:
    Windows 7
    amd fx 8350
    32gb ram
    2x GTX 770s SLI
    Footage stored on internal SSD

    Same here.
    I can work all day in SG no problems. As soon as I click the arrow to bring up the scopes *crash*. This is post cleanup SOP.
    AMD 3820 @ 3.5GHz
    16GB RAM (11GB dedicated to Adobe)
    Asus Nvidia GTX760-DC2 2GB
    Win 8.1 (all updates current today)
    Speedgrade 8.2x51 Native access (no hyperlink from PP)
    GPU Acceleration enabled via CUDA
    No plug-ins for SG or PP
    Error log as follows:
    Problem Event Name:
    APPCRASH
      Application Name:
    SpeedGrade.exe
      Application Version:
    8.2.0.0
      Application Timestamp:
    54887476
      Fault Module Name:
    SpeedGrade.exe
      Fault Module Version:
    8.2.0.0
      Fault Module Timestamp:
    54887476
      Exception Code:
    c0000005
      Exception Offset:
    00000000003ee03f
      OS Version:
    6.3.9600.2.0.0.256.48
      Locale ID:
    1033
      Additional Information 1:
    d236
      Additional Information 2:
    d236bbe002996cedee0dde381fa38db4
      Additional Information 3:
    c93f
      Additional Information 4:
    c93ffbb2a38ecaab8d72a49f5c39cc59

  • Analysing tools for KM documents

    Hello,
    Does anybody know, if there are any analysing tools available, with which you can analyse the access of the KM documents. They should answer questions like
    - when was the last access to a documents?
    - which documents have an average rating lower than x?
    - how often has the documents been accessed?
    The purpose is, to identify documents, which may be obsolete...
    Regards,
    Dominik

    Hi Dominik,
       There is not tool but you can develop it.
    You can develop a filter, each time that you access a document, this statistic information should be saved in a database and then you can report.
    Here you have an example about how to create a report:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6b30b090-0201-0010-829d-e988d093ac65
    On the other hand,
    Using taxonomies, you can classify document by rating.
    Also in Content Management->Report->Resource Statistics (
    This report calculates statistic information on the content of KM repositories
    ). I know that this report it is not that you are looking for but ....
    Patricio.

  • Problem with 'restrict data' option in Web Analysis' Analysis Tool

    I feel like i'm in the twilight zone.
    We have made a report in web analysis, withh essbase as a source, and works fine.
    We want to restrict data for customers that generate more than 1,000,000 revenue, for example
    So, we go to Analysis tools, restrict data. The dialog window opens
    We hit 'Select Column...' and nothing happens. No Column is shown, thus being unable to complete the dialog.
    Should we enable something in essbase to allow this? We are newbies, but we think this should be pretty straightforward.
    We have also tried to do that with the Analysis tools administrator, with the same result.
    We are using Web Analysis 9.3.1.
    Any feedback will be appreciated.
    Thank you
    Edited by: hectorsosar on 22/06/2009 02:31 PM

    It got fixed by removing a filter from a dimension, and placing that dimension as a page.
    Thanks,
    Hector

  • What happended to the Solaris Crash Analysis Tool 4.2 for Solaris 10?

    What happended to the Solaris Crash Analysis Tool 4.2 for Solaris 10?
    I'm trying to debug a kernel panic under Solaris 10 on sparcv9. I tried the SUNWscat 4.1 package but it core dumps on Solaris 10. I found a blog entry that described the problem and mentioned a version 4.2 fix. That was from May 2006, but I have not found any update sense then. Was 4.2 ever released or is their an alternative tool for Solaris 10 that I can use?

    One problem is that those of us who develop Solaris CAT do so as a "hobby" as it's not part of our actual jobs. But he good news is that management gave us the time to get a release out and 5.0 is now available here . We're now planning 6 month releases so we don't have a 5 year delay between updates.
    BTW, the Solaris Crash Analysis Tool supports Solaris 10, OpenSolaris/Solaris Nevada, sparc, and x86/x64.
    There are so many enhancements and bug fixes that I'd recommend reading the release notes (SUNWscat/docs/index.html).
    -- Dana

  • Analysis Tool in Reader 9

    I am unable to use te measure option in Analysis Tool of Adobe Reader 9. In View / Toolbar / More Tools there is a note saying that I have to activate the Document Rights to enable measuring tool.
    It means nothing to me. Anybody can help me?

    I have Acrobat Pro Extended (trial version for while) and I can't see the function that perform this operation. In Adobe Forum search I found references to Java, C# and .NET script to do so.
    Thank you Aandi anyway.

  • I found warning after ran Best practice analyser Tools in exchange 2010

    Hello ,
    when ran Best practice Analyse tool i found some warining :
    1-DNS 'Host' Record Appears to Be Missing
    2-Active Server Pages is
    not installed
    3-Application log size
    4-Self –sign certificate found:
    is strongly recommended that you install an authority-signed or trusted certificate
    The SSL certificate for 'https://exchange.mydomain.com/Autodiscover/Autodiscover.xml' is self-signed. It does not provide any of the security guarantees provided
    by authority-signed or trusted certificates.(i have ssl certificate form geo cert Turst )  all users you can access mails form owa and they  can connect
    mailbox using outlook anywhere but with SSL warning.
    5-Single Global catalog in topology:
    There is only one global catalog server in the Directory Service Access (DSAccess) topology on server CADEXCHANGE. This configuration should be avoided for fault-tolerance
    reasons
    already checked the below links but i am not understood good  :
    http://technet.microsoft.com/en-us/library/6ec1c7f7-f878-43ae-bc52-6fea410742ae.aspx
    http://technet.microsoft.com/en-us/library/4fa708a1-a118-4953-8956-3c50399499f8.aspx
    http://technet.microsoft.com/en-us/library/8867bba7-7f81-42f9-96b6-2feb7e0cea4e.aspx
    please advise me to avoid this issue
    thanks

    i have 2 server both server global catalog
    my question why warning appear only one global catalog
    please explain this.
    when test Autodiscover the test successful but when expand menu
    i am found some error :
    Attempting to test potential Autodiscover URL https://Mydomain.com:443/Autodiscover/Autodiscover.xml
    Testing the SSL certificate to make sure it's valid.
    Validating the certificate name.
    Certificate name validation failed 

Maybe you are looking for

  • Can i have 2 apple ids in one credit card?

    I have 2 iphones and 2 apple ids and i'd like to know how to handle both with just one credit card

  • Assignment of production order to network

    Hi, How can we assign a production order to the network or vice versa. I know the WBS can be assigned to production order through assignment tab in production order. Thanks, Santhosh

  • I really need help with DW cs5

    I have an assignment due in my web110 class and it is due in 30 hours or I will fail that class. I have the wireframe built but can't figure out how to use my PS design and transfer those images and fonts to the wire frame can anyone help??Or send me

  • How to select data from another schema in Oracle-Sqldeveloper?

    Hi, I open two schemas, assumed schema1 and schema2, in SQL-Developer. In the SQL-Edit Area of schema1 I want to select data from schema2. So I did followings: select * from schema2.table1; But I got error message: 00942. 00000 -  "table or view does

  • How to set to print to a specific printer name

    Background: I have a form (one page) which has two hidden pages to it (front and back of certificate).  The details entered on form appear on certificate.  I have a hidden button on form which when pressed asks for a password and unhides certificate