Giter Club home page Giter Club logo

django-web-framework-software-metrics-measurement-using-radon-and-pylint's Introduction

Django-web-framework-software-metrics-measurement-using-Radon-and-Pylint

used radon and pylint to analyze the code and rank the code according to complexity

Django is a framework for web development using python and created for the quick development of database-driven sites Django was created at the Lawrence Journal-World newspaper

Maintainability Index is a software metric that evaluates how maintainable (simple to maintain and modify) the source code is. The maintainability index is measured as a factored formula comprising of Cyclomatic Complexity, Source Lines Of Code (SLOC), and Halstead volume.

Radon is a Python tool that can measure various metrics from the source code. Radon can find out:raw metrics (Source lines of code or SLOC, blank lines, comment lines), all Halstead metrics, Cyclomatic Complexity such as McCabe's Complexity, and the Maintainability Index for a Visual Studio metric

Pylint is a Python instrument which verifies a module for coding standards

Cyclomatic complexity is a software metric used to indicate the complexity of a program. It is a quantitative measure of the number of linearly independent paths through a program's source code. It was developed by Thomas J. McCabe, Sr. in 1976

CC score Rank Risk 1-5 A Low - simple block 6-10 B Low = well structured and stable block 11-20 C Moderate - slightly complex block 21-30 D More than moderate - more complex block 31-40 E High - complex block, alarming 41+ F Very high - error prone, unstable block

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.