![]() |
| ||
| Help Needed Urgently With Coding :sad: Hi all, been trying to code the following program for ages, if anyone can help please do so. Code a java program that will determine the cyclomatic complexity(CC) of any given java source code module held in a text file. The program is to display the CC. Note- CC=Number of simple conditional statements (ifs, whiles, repeats, etc) + 1. |
| ||
| Re: Help Needed Urgently With Coding Please choose a different name for your thread titles in the future. "Help Needed Urgently With Coding" tells us nothing specific about what you need ( I mean, you've posted in a Coding forum, obviously you need coding help). Additionally, stating you need help "Urgently" is rude. It is rude to the other members who have posted here before you. Urgent to you or not, wait your turn. |
| ||
| Re: Help Needed Urgently With Coding >if anyone can help please do so. I don't see a problem. Open the Java source file, read it line by line, and do a string search for the appropriate keywords. The result is a good start for your solution; you can refine the search from there on the off chance that one of the keywords is a part of a larger identifier. |
| ||
| Re: Help Needed Urgently With Coding Quote:
|
| ||
| Re: Help Needed Urgently With Coding Post some code so that we can see that you've made an attempt at solving the problem. A naive solution is immediately obvious and easily written. If you've put some effort into this problem then you'll have a workable solution and thus, a specific question as to how it can be improved. |
| All times are GMT -4. The time now is 2:50 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC