Customizing the code inspector with check for two executable statements in same line

Hi Everyone,
I have a reuirement to customize the code inspector.I need to create a check 'Two executable statements should not be in the same line'.
While doing so i am facing one problem as in internal table it is capturing the report as word by word with same row number nd different line number.
If anyone have worked on this before then help me out.
I am using CL_CI_TEST_SCAN as superclass and making the changes in the run method.
Regards,
Khushboo

In the source code you will have this in comment right, use the "#EC ENHOK.

Similar Messages

  • Code Inspector/ATC checks for VKOS/VKOI object types

    Dear Experts,
    I found a strange behavior while executing CI checks on a transport request. TR contained only IMG Activity objects (Object Type VKOS/VKOI). After CI checks it gave errors "Recognized dead code". There is no coding for these kind of object type, I don't know where it was able to find the dead code. On debugging I found that, it is trying to populate Program name concatenatinv " SAPIC " and the object type. ( SAPICVKO). But there is no such program existing. It then gives "Recognized dead code" error.
    Has anyone faced such error before? I guess this is error in the standard program.
    Thank you.

    Other language NUnit test frameworks similar to ABAP Unit (AUnit) commonly have project extensions for storing test results. These are useful for the unit level regression (did a new change break any existing functions). History of test results, help narrow down the nature of a current failure by answering the question of 'When did this break?' or when did it last pass? In systems dependent upon outside components the history can provide a pattern for occasional failures due to factors outside the system under test.
    I see that ABAP unit test results can be added into the Code Inspector under the Check Variant.
    1. Is it common or recomended to use the Code Inspector (SCI) to store AUnit test results?
    2. Is it common or recomended to use Code Inspector Object variants to collect individual AUnit tests for a regresssion style 'TestSuite'?
    3. What reporting or tools exists for Code Inspector history?
    4. Is Application Logging the better spot for AUnit results history?
    (also posted on the wiki.. apologies - I'm new to the forum and wiki)
    Will Loew-Blosser

  • Integrating Code Inspector with Continious Integration Tools

    Hi everybody,
    outside the ABAP-world there is a large number of tools available, both commercial and open source, that support the continuous integration within software projects. One part of theses tools it to execute any available unit test after each commit to the source code. The code inspector (SCI) within SE80 basically can do something very similar. Run unit tests, check for coding conventions etc.
    I was wondering if the is a simple way to integrate the code inspector with existing tool, SAP external, continuous integration tools. I envision something like that after each transport or once per day SCI is executed and the results are made available in the external tool.
    Has anyone here ever done something like that? Are there any existing solutions available for it of the shelf?
    Thanks,
    Christian

    Hi
    please check the blog
    [/people/christian.drumm/blog/2009/12/30/continuous-integration-using-code-inspector|/people/christian.drumm/blog/2009/12/30/continuous-integration-using-code-inspector]
    and the discussion on the treads,
    [Is it possible to integrate the Code Inspector in Transport Management|Is it possible to integrate the Code Inspector in Transport Management]
    might be this helps
    Thanks,
    Jansi

  • Code inspector with customer check : how to change the documentation ?

    Dear all,
    I've added a new control in code inspector with a new folder and I want to change the documentation to my new item line. Is there someone who know how to change this doc ?
    Christophe

    Hello Christophe,
    does control mean folder or check plugin? In this case the class you have introduced holds corresponsing callback methods.
    IF_CI_TEST~DISPLAY_DOCUMENTATION
    A redefinition of this method and setting the according member variable in the constructor should do..
    HAS_DOCUMENTATION = 'X'.
    Hope this helps
      Klaus

  • I can't connect to iTune Store nor to radios, with the aid of iTune,check for updates, these last two from aid, but if you communicate with support.Please the answers in spanish.

    I can't connect to iTune Store nor to radios, with the aid of iTune,check for updates, these last two from aid, but if you communicate with support.Please the answers in spanish.

    Back up all data.
    Unlock the Network preference pane, if necessary, by clicking the lock icon in the lower left corner and entering your password. Cllck Advanced, open the DNS tab, and change the server addresses to the following:
              8.8.8.8
              8.8.4.4
    That's Google DNS. Click OK, then Apply.
    In Safari, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. If you’re using another browser, empty the cache. Test. Any difference?
    Notes:
    1. If you lose Internet access after making the above change to your network settings, delete the Google servers in the  Network preference pane, then select the TCP/IP tab and click Renew DHCP Lease. That should restore the original DNS settings; otherwise restore them yourself. Remember that you must click Apply in order for any changes to take effect.
    2. I don't use Google DNS myself, though I have tested it, and I'm not recommending it or any other DNS provider; the server addresses are offered merely for testing purposes. There may be privacy and technical issues involved in using that service, which you should investigate personally before you decide whether to keep the settings. Other public DNS services exist.

  • Transport Organizer Syntax Check using the Code Inspector

    dear fellows,
    i'm facing a problem when i check the syntax of transport. When i'm using the option to check the syntax within the transaction se01 the system starts no longer the extended check but the code inspector.
    is there any possibility to turn this code inspector check off and to get the extended syntax check again?
    or on the othe hand, which variant is used for the check and is there any possibility to change the variant that is used?
    thanks for your answers,
    Robert

    Nope... this is SAP standard code so I will reply to the OSS and wait for them to come back to you.
    Regards
    Juan

  • Hello,i have a problem with my gift card here in switzerland,when i want to redeem the cod says that the code is not good for i tunes....and i buy the gift card from the shop...any idea? thx

    Hello,i have a problem with my gift card here in switzerland,when i want to redeem the cod says that the code is not good for i tunes....and i buy the gift card from the shop...any idea? thx

    I have one of these http://store.apple.com/us/personalize/itunes?product=M9949
    but the credit on it is 30 chf....i try to reddem into itunes and after all the steps i recive a message that says"the serial code is not good...." i don t know why say this....

  • It is possible to know the code from credit check feature?

    <p>
    Hi Community,
    Scenario:
    We know that when we created a Sales Order, when the user click on the "Book Order" button, the system starts up the Check Credit Process against the customer for whom the sales order is created.
    At this moment, the system checks if the customer have any overexposure on its credit and if the Sales Order jumps over the limit, the system put a check credit hold over that Sales Order.
    Due to Business procedures we need to:
    See if the Credit Check Process could be called on the "Shipping Transactions" Form when the user "send" the sales order to Pick Release (when the user selects the "Go" button, and the Action Selected will be "Pick Release")
    Which is the code called (function or procedure) on the button "Book Order", to see if it is transportable to the "Shipping Transactions" Form, in order to call the function from this Form.
    Where can we locate that code?
    Thanks a lot for any help that you can give us.
    Luis Montalvillo.
    </p>

    Hi Nagamohan,
    Actually we have setting up the credit checking rule in the Ordering and Picking/Purchase Release fields on our Transactiion Types; so if we are not wrong, the system is checking the credit exposure when we book the Sales Order, and if the sales order overexceed the credit limit, therefore the sales order had a credit check hold. When the user tries to make the Pick Release, we believe that the system checks if the Sales order have a hold and then advise to the user to Release it; and not to check again which is the credit situation of the customer in that moment.
    That is the reason why we are asking toe location of the code of Credit check feature.
    Rgds.
    Luis.

  • Code Inspector with 'SELECT * FROM'

    Hello all,
    I want to tell my code inspector, that it shall find
    Select * from.
    I put it in the ABAP STATEMENT PATTERNS but now the code inspector finds all selects for it interpretates * as wildcard.
    What can I do ?
    Please help
    Simone

    as you ask this question in the performance forum, I would also like to know why you want to see all 'select *'.
    If you want to solve any performance problems then I should say, that it will not help.
    Select ' are no real performance issue. Field lists are nice to have, but difference is only considerable, if you reduce the width of the table dramatically, i.e.
    it is enough if you check the very width tables.
    And please to not introduce new select statements which deviate from others just in the definition of the field list.
    The real performance issues are the indexes, or better the selects which have no proper index support.
    Siegfried

  • Let me know about the code inspector ?

    Hi
    Let me know about the code inspector ?
    thanks in advance

    hi
    The transaction for the code inspector is SCI / SCID. Code inspector generally used to check for Syntax Checks, Security checks and Performance checks.
    <b>Check these links on Code Inspector:</b>
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/abap-code-inspector-1441023
    /people/randolf.eilenberger/blog/2007/03/12/code-inspector146s-performance-checks-i
    /people/peter.inotai/blog/2006/11/02/code-inspector--how-to-create-a-new-check
    http://help.sap.com/saphelp_nw04/helpdata/en/56/fd3b87d203064aa925256ff88d931b/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/56/fd3b87d203064aa925256ff88d931b/frameset.htm
    <b>reward points for useful ans</b>
    Regards
    Aarti

  • What is the easiest way to check for internet connection in C#?

    Hi!
    I searched a lot but I didn't get my answer. I'm looking for the easiest way to check for internet connection. Can you help me?
    Thanks a lot.

    Hi Pouya Ebrahimzadeh,
    I suggest you could connect a site to check if it can be opened.
    Public Shared Function CheckForInternetConnection() As Boolean
    Try
    Using client = New WebClient()
    Using stream = client.OpenRead("https://msdn.microsoft.com/")
    Return True
    End Using
    End Using
    Catch
    Return False
    End Try
    End Function
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HT4623 I have plugged in my ipad to my computer and Itunes is up on my computer but where do I find these things in Itunes, # In iTunes, select your device.  # In the Summary pane, click Check for Update, to update my ipad?

    I have plugged in my ipad to my computer and Itunes is up on my computer but where do I find these things in Itunes, # In iTunes, select your device.  # In the Summary pane, click Check for Update, to update my ipad?

    Tap to enlarge.

  • NSURLErrorDomain error -1012 keeps coming up when I go to the app store to check for any updates.

    When I go to the App store to check for any updates it will not proceed and gives me the following error message NSURLErrorDomain  error 1012.
    Can anybody help please.
    Thanks,
    Bernard

    I am receiving the same error when I try to refresh the updates page but was able to download the Digital Camera Raw update without issue (this update was displayed on the page).
    Have not tried the 10.9.3 update...
    Curt

  • HT4623 hi..i just bought an iphone 5 yesterday 32GB..and now when i am trying to update the software..it says the following: unable to check for update/an error occurred while cheking for a software update...please help me..is it a problem in my new iphon

    hi..i just bought an iphone 5 yesterday 32GB..and now when i am trying to update the software..it says the following: unable to check for update/an error occurred while cheking for a software update...please help me..is it a problem in my new iphone??or it's just an temporary error in the apple software center???

    Lyndsay237 wrote:
    This device does not have a sim card in it. Could this be the reason or am I missing something when I am trying to update.
    Yes. You can't update or restore any GSM iPhone without a valid sim card installed in the phone. The sim card need not be activated, but it must be valid & present. If you want to update, you need to get a sim card.

  • TS1717 I have older version of itunes on Windows Vista, when i check for updates it states it cannot connect to itunes update server even though i am connected to the internet, i have an iphone that has songs in the cloud and i wan to add them to my libra

    I have older version of itunes on Windows Vista, when i check for updates it states it cannot connect to itunes update server even though i am connected to the internet, i have an iphone that has songs in the cloud and i want to add them to my library?

    Try updating your iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) installer file downloaded from the Apple website:
    http://www.apple.com/itunes/download/

Maybe you are looking for