lines-of-code

How to find Lines of Code of packaged procedures and functions in Oracle [duplicate]

浪尽此生 提交于 2020-01-15 12:06:41
问题 This question already has an answer here : Closed 7 years ago . Possible Duplicate: How to View Oracle Stored Procedure using SQLPlus? Im new to Oracle. Could you please help me on this? How to fine Lines of Code of packaged procedures and functions in Oracle? Is there any system tables or query to find the LOC of procedures and functions inside any package? 回答1: Check out the ALL_SOURCE view in the Oracle dictionary. 来源: https://stackoverflow.com/questions/11287688/how-to-find-lines-of-code

How to find Lines of Code of packaged procedures and functions in Oracle [duplicate]

放肆的年华 提交于 2020-01-15 12:04:03
问题 This question already has an answer here : Closed 7 years ago . Possible Duplicate: How to View Oracle Stored Procedure using SQLPlus? Im new to Oracle. Could you please help me on this? How to fine Lines of Code of packaged procedures and functions in Oracle? Is there any system tables or query to find the LOC of procedures and functions inside any package? 回答1: Check out the ALL_SOURCE view in the Oracle dictionary. 来源: https://stackoverflow.com/questions/11287688/how-to-find-lines-of-code

How to find Lines of Code of packaged procedures and functions in Oracle [duplicate]

跟風遠走 提交于 2020-01-15 12:03:55
问题 This question already has an answer here : Closed 7 years ago . Possible Duplicate: How to View Oracle Stored Procedure using SQLPlus? Im new to Oracle. Could you please help me on this? How to fine Lines of Code of packaged procedures and functions in Oracle? Is there any system tables or query to find the LOC of procedures and functions inside any package? 回答1: Check out the ALL_SOURCE view in the Oracle dictionary. 来源: https://stackoverflow.com/questions/11287688/how-to-find-lines-of-code

How to find Lines of Code of packaged procedures and functions in Oracle [duplicate]

旧时模样 提交于 2020-01-15 12:03:50
问题 This question already has an answer here : Closed 7 years ago . Possible Duplicate: How to View Oracle Stored Procedure using SQLPlus? Im new to Oracle. Could you please help me on this? How to fine Lines of Code of packaged procedures and functions in Oracle? Is there any system tables or query to find the LOC of procedures and functions inside any package? 回答1: Check out the ALL_SOURCE view in the Oracle dictionary. 来源: https://stackoverflow.com/questions/11287688/how-to-find-lines-of-code

Sonar -LOC & Cyclomatic complexity

送分小仙女□ 提交于 2020-01-15 09:28:46
问题 How does Sonar calculates software metrics particularly LOC and cyclomatic complexity? Does it uses any particular tools? IF yes, please also give the names. 回答1: For each supported language, a "squid" plugin is used to parse the source code and determine some base metrics such as LOC and complexity. How the complexity is calculated varies based on the plugin. For example, here's the source code files for the JavaScript plugin: https://github.com/SonarCommunity/sonar-javascript/tree/master

Counting changed lines of code over time

爷,独闯天下 提交于 2019-12-31 09:08:06
问题 Is there any good tool that computes the number of changed lines of code over a certain time period in a mercurial repository? Something along the lines of statsvn would be great, but anything counting the number of changed lines of code within 6 months will do (including a clever combination of arguments to hg log). Thanks. PS: Please do not discuss the purpose of measuring this number ;) 回答1: The hg churn extension is what you want. You can get visual results with hg activity or hg chart.

How to count lines in a netbeans project

扶醉桌前 提交于 2019-12-21 06:46:43
问题 Hello I have netbeans 7 and I was wondering how to calculate the total lines for a project. I have looked through Google but every time I do it I only find dead ends or non working plugins. Does anyone know how to count the lines? 回答1: You can use wordcount that works with 7.1 nb-wordcount that works with 8.2. To configure wordcount go in Tools -> Options -> Miscellaneous . You have to change Accept filename if you want other files than Java and Groovy to match. To display the count window go

Simple script to count NLOC?

怎甘沉沦 提交于 2019-12-21 04:39:41
问题 Do you know a simple script to count NLOCs (netto lines of code). The script should count lines of C Code. It should not count empty lines or lines with just braces. But it doesn't need to be overly exact either. 回答1: I would do that using awk & cpp (preprocessor) & wc . awk removes all braces and blanks, the preprocessor removes all comments and wc counts the lines: find . -name \*.cpp -o -name \*.h | xargs -n1 cpp -fpreprocessed -P | awk '!/^[{[:space:]}]*$/' | wc -l If you want to have

Basis for claim that the number of bugs per line of code is constant regardless of the language used

穿精又带淫゛_ 提交于 2019-12-20 18:33:18
问题 I've heard people say (although I can't recall who in particular) that the number of bugs per line of code is roughly constant regardless of what language is used. What is the research that backs this up? Edited to add : I don't have access to it, but apparently the authors of this paper "asked the question whether the number of bugs per lines of code (LOC) is the same for programs written in different programming languages or not." 回答1: One possible source would be Les Hatton's 1995 paper

Basis for claim that the number of bugs per line of code is constant regardless of the language used

倾然丶 夕夏残阳落幕 提交于 2019-12-20 18:31:29
问题 I've heard people say (although I can't recall who in particular) that the number of bugs per line of code is roughly constant regardless of what language is used. What is the research that backs this up? Edited to add : I don't have access to it, but apparently the authors of this paper "asked the question whether the number of bugs per lines of code (LOC) is the same for programs written in different programming languages or not." 回答1: One possible source would be Les Hatton's 1995 paper