Explain lines of code - software metrics, Software Engineering

Assignment Help:

Q. Explain Lines of code - Software Metrics?

Lines of code (LOC) is a software metric used to measure the size of a software program by counting the number of lines in the text of the program's source code. LOC is typically used to predict the amount of effort that will be required to develop a program as well as to estimate programming productivity or effort once the software is produced. Advantages:-

1. Scope for Automation of Counting: Since Line of Code is a physical entity; manual counting effort can be easily eliminated by automating the counting process. Small utilities possibly developed for counting the LOC in a program. Nevertheless a code counting utility developed for a specific language cannot be used for other languages due to the syntactical and structural differences among languages.

2. An Intuitive Metric: Line of Code serves as an intuitive metric for measuring the size of software due to the fact that it can be seen and the effect of it can be visualized. Function Point is additional of an objective metric which cannot be imagined as being a physical entity it exists only in the logical space. This way LOC comes in useful to express the size of software among programmers with low levels of experience.


Related Discussions:- Explain lines of code - software metrics

State lehman first law, State Lehman's First law A program that is used...

State Lehman's First law A program that is used in real world environment of necessity must change or become progressively less useful in that environment.

How will an engineer assess the safety, How will an engineer assess the saf...

How will an engineer assess the safety?  The risks linked to a project or product must be identified. The purposes of the project or product must be identified and ranked in im

What is hybrid testing, Explain Hybrid Testing? Ans) A mixture of top-do...

Explain Hybrid Testing? Ans) A mixture of top-down testing combined with bottom-up testing of prioritized or available components.

Describe about the environmental model, Describe about the Environmental mo...

Describe about the Environmental model It indicates environment in which system exists. Any small or big system is a sub-system of a larger system. For illustration, if softw

Illustrate the method of user documentation, Illustrate the method of User ...

Illustrate the method of User documentation This usually comprises: -  How to load/run the software -  How to do a search   -  How to save files   -  How to do pri

Explain the cardinality and optionally, Cardinality & Optionally Card...

Cardinality & Optionally Cardinality represents the relationship between two entities. Consider one to many relationship between two entities -student andclass. Here cardinal

Explain data accuracy, Data accuracy Don't collect redundant data  T...

Data accuracy Don't collect redundant data  The questions to be answered should be decided in advance and the needed data identified. Tell people why the data is being co

Explain the meaning of throw away prototyping, What is meant by Throw away ...

What is meant by Throw away Prototyping? Giving the user a system which is incomplete and then augmenting and modifying it so that user requirements become clear. The obj

What is a test configuration manager, Test Configuration Managers handles t...

Test Configuration Managers handles test environments, scripts, software and test data. Depending on the project, single person may wear more than single hat. For example, Test Eng

Software availability, Software Availability: In the present day conte...

Software Availability: In the present day context, software suppliers have realised the potential demand and also the special requirements of library and information professio

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd