SlideShare une entreprise Scribd logo
1  sur  24
MEASURING THE CODE QUALITY USING
SOFTWARE METRICS – TO IMPROVE THE
EFFICIENCY OF SPECIFICATION MINING
Guided By
Ms.P.R.Piriyankaa.,ME
Assistant Professor.
Presented By,
M.Geethanjali (ME).,
Sri Krishna College of Engg and Tech.
INTRODUCTION
 Incorrect and buggy software costs up to
$70 Billion each year in US.
 Formal Specifications defines testing,
optimization, refactoring, documentation,
debugging and repair.
 False Positive rates – We think there is a
vulnerability but actually that is not present.
PROBLEM STATEMENT
 The cost of Software Maintenance consumes up
to 90% of the total project cost and 60% of the
maintenance time.
 Formal Specifications are very necessary but
they are difficult for programmers to write them
manually.
 Existing automatic specification mining
produces high false positive rates.
EXISTING SYSTEM
 Formal specification is done for each and every
software and the quality of the code is checked.
 Set of software Metrics are used to measure the
quality of the software.
 General Quality Metrics
 Chidamber and Kemerer Metrics.
 These Software Metrics are used to measure the
quality of the code.
EXISTING SYSTEM CONT...
 The quality of the code is lifted with the results
obtained.
 Prediction is used to compare the obtained
results with randomly generated learned data
items.
 Automatic specification miner that balances the
true and false positive specifications.
 True positive – Required behaviour.
 False positives – Non-Required behaviour.
DISADVANTAGES
 The false positive rates are reduced from
90% to an average of 30%.
 The accuracy of the software is only 80%.
 The computation time is low.
PROPOSED SYSTEM
PROPOSED SYSTEM
 The classification is based on Support
Vector Machine Algorithm.
 The measured attributes of the software is
compared with the training dataset.
 The accuracy of the software is calculated.
 The False Positive rate for the specific
software is also found.
ADVANTAGES
 Reduces the burden of manual inspection of the
code.
 By knowing the quality of the code before the
deployment the developers can easily lift the
quality.
 The accuracy of the software is about 95%.
 Minimises the false positive rates from 90% to
5%.
BLOCK DIAGRAM
LIST OF MODULES
 General Code Quality Metrics.
 Code quality of complexity metrics.
 Implementation of mining algorithm – Naive Bayes
Algorithm
 Implementation of mining algorithm – Support
Vector Machine Algorithm.
 Finding the False positive rates using learning
model.
GENERAL QUALITY METRICS
 The quality of the software is implemented using
the following metrics:
 Code Churns
 Code clones
 Author Rank
 Code Readability
 Path Frequency
 Path Density
CHIDAMBER & KEMERER METRICS
 These are also known as Object Oriented
Metrics:
 Weighted Methods per class (WMC)
 Depth of Inheritance (DIT)
 Number of children (NOC)
 Coupling between Objects (CBO)
PREDICTION ANALYSIS
 The dataset will contain the randomly generated
learned data items.
 Naive Bayes algorithm is used.
 The measured result of the software is compared
along with the data set.
 The predicted result for the selected software
will be displayed.
 Using this result the quality of the code can be
determined.
PREDICTION USING SVM
 The measured attributes are compared with
the learned dataset.
 The accuracy of the for the selected software
will be displayed.
 The false positive rates are obtained.
GENERAL CODE QUALITY METRICS
CODE QUALITY OF CK METRICS
PREDICTION ANALYSIS
FALSE POSITIVES & ACCURACY USING SVM
COMPARISON OF ACCURACY
COMPARISON OF FALSE POSITIVE RATE
CONCLUSION
 Since the quality of the code is checked before
deploying the software, the quality of the
software will be assured.
 The cost spent for maintenance will also be
reduced.
 Compared to other automatic miners the false
positive rate is reduced to a negligible value.
REFERENCES
 Measuring Code Quality to improve
specification mining – Claire Le Goues.
 A study of consistent and inconsistent changes to
code clones –Jens Krinke.
 Who are are Source code contributers and how
do they change? – Massimiliano Di Penta.
 The road not taken: Estimating the Path
Execution Frequency Statically – Raymond
P.L.Buse
THANK YOU!!!

Contenu connexe

Tendances

Reporting On The Testing Process
Reporting On The Testing ProcessReporting On The Testing Process
Reporting On The Testing Process
gavhays
 
Software testing lecture 9
Software testing lecture 9Software testing lecture 9
Software testing lecture 9
Abdul Basit
 
Testing Types And Models
Testing Types And ModelsTesting Types And Models
Testing Types And Models
nazeer pasha
 
Verification and Validation in Software Engineering SE19
Verification and Validation in Software Engineering SE19Verification and Validation in Software Engineering SE19
Verification and Validation in Software Engineering SE19
koolkampus
 
4. The Software Development Process - Testing
4. The Software Development Process - Testing4. The Software Development Process - Testing
4. The Software Development Process - Testing
Forrester High School
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
gavhays
 
Testing (System Analysis and Design)
Testing (System Analysis and Design)Testing (System Analysis and Design)
Testing (System Analysis and Design)
Areeb Khan
 
Static white box testing lecture 12
Static white box testing lecture 12Static white box testing lecture 12
Static white box testing lecture 12
Abdul Basit
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
Confiz
 
Introduction and Role of a manual testing in a SDLC
Introduction and Role of a manual testing in a SDLC Introduction and Role of a manual testing in a SDLC
Introduction and Role of a manual testing in a SDLC
minimini22
 

Tendances (20)

Reporting On The Testing Process
Reporting On The Testing ProcessReporting On The Testing Process
Reporting On The Testing Process
 
Software testing introduction
Software testing introductionSoftware testing introduction
Software testing introduction
 
Software testing lecture 9
Software testing lecture 9Software testing lecture 9
Software testing lecture 9
 
Testing Types And Models
Testing Types And ModelsTesting Types And Models
Testing Types And Models
 
How to Avoid Continuously Delivering Faulty Software
How to Avoid Continuously Delivering Faulty SoftwareHow to Avoid Continuously Delivering Faulty Software
How to Avoid Continuously Delivering Faulty Software
 
Manual testing-training-institute-in-marathahalli
Manual testing-training-institute-in-marathahalliManual testing-training-institute-in-marathahalli
Manual testing-training-institute-in-marathahalli
 
Software testing fundamentals
Software testing fundamentalsSoftware testing fundamentals
Software testing fundamentals
 
Verification and Validation in Software Engineering SE19
Verification and Validation in Software Engineering SE19Verification and Validation in Software Engineering SE19
Verification and Validation in Software Engineering SE19
 
4. The Software Development Process - Testing
4. The Software Development Process - Testing4. The Software Development Process - Testing
4. The Software Development Process - Testing
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
 
Testing (System Analysis and Design)
Testing (System Analysis and Design)Testing (System Analysis and Design)
Testing (System Analysis and Design)
 
Static white box testing lecture 12
Static white box testing lecture 12Static white box testing lecture 12
Static white box testing lecture 12
 
Introduction & Manual Testing
Introduction & Manual TestingIntroduction & Manual Testing
Introduction & Manual Testing
 
Technical Testing Introduction
Technical Testing IntroductionTechnical Testing Introduction
Technical Testing Introduction
 
Basics of software testing webwing technologies
Basics of software testing webwing technologiesBasics of software testing webwing technologies
Basics of software testing webwing technologies
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
Introduction and Role of a manual testing in a SDLC
Introduction and Role of a manual testing in a SDLC Introduction and Role of a manual testing in a SDLC
Introduction and Role of a manual testing in a SDLC
 
Defect free development - QS Tag2019
Defect free development - QS Tag2019Defect free development - QS Tag2019
Defect free development - QS Tag2019
 

En vedette

Code Quality Assurance v4 (2013)
Code Quality Assurance v4 (2013)Code Quality Assurance v4 (2013)
Code Quality Assurance v4 (2013)
Peter Kofler
 
Agile Scrum in 60 minutes
Agile Scrum in 60 minutesAgile Scrum in 60 minutes
Agile Scrum in 60 minutes
Syed Arh
 
Presentation -Quality Metrics For Agile Development
Presentation -Quality Metrics For Agile DevelopmentPresentation -Quality Metrics For Agile Development
Presentation -Quality Metrics For Agile Development
Nabilahmed Patel
 

En vedette (20)

Agile code quality metrics
Agile code quality metricsAgile code quality metrics
Agile code quality metrics
 
Code Quality Assurance
Code Quality AssuranceCode Quality Assurance
Code Quality Assurance
 
Measuring Code Quality in WTF/min.
Measuring Code Quality in WTF/min. Measuring Code Quality in WTF/min.
Measuring Code Quality in WTF/min.
 
Code Quality Assurance v4 (2013)
Code Quality Assurance v4 (2013)Code Quality Assurance v4 (2013)
Code Quality Assurance v4 (2013)
 
Choosing an IoC container
Choosing an IoC containerChoosing an IoC container
Choosing an IoC container
 
High-Quality JavaScript Code
High-Quality JavaScript CodeHigh-Quality JavaScript Code
High-Quality JavaScript Code
 
Source Code Quality
Source Code QualitySource Code Quality
Source Code Quality
 
Code Quality Learn, Measure And Organize Awareness
Code Quality   Learn, Measure And Organize AwarenessCode Quality   Learn, Measure And Organize Awareness
Code Quality Learn, Measure And Organize Awareness
 
Code Quality Analysis
Code Quality AnalysisCode Quality Analysis
Code Quality Analysis
 
Agile Scrum in 60 minutes
Agile Scrum in 60 minutesAgile Scrum in 60 minutes
Agile Scrum in 60 minutes
 
Code metrics
Code metricsCode metrics
Code metrics
 
Agile metrics - Measure and Improve
Agile metrics - Measure and ImproveAgile metrics - Measure and Improve
Agile metrics - Measure and Improve
 
Agile Metrics
Agile MetricsAgile Metrics
Agile Metrics
 
Managing code quality with SonarQube - Radu Vunvulea
Managing code quality with SonarQube - Radu VunvuleaManaging code quality with SonarQube - Radu Vunvulea
Managing code quality with SonarQube - Radu Vunvulea
 
Presentation -Quality Metrics For Agile Development
Presentation -Quality Metrics For Agile DevelopmentPresentation -Quality Metrics For Agile Development
Presentation -Quality Metrics For Agile Development
 
Top 10 Agile Metrics
Top 10 Agile MetricsTop 10 Agile Metrics
Top 10 Agile Metrics
 
Agile Metrics
Agile MetricsAgile Metrics
Agile Metrics
 
Agile Base Camp - Agile metrics
Agile Base Camp - Agile metricsAgile Base Camp - Agile metrics
Agile Base Camp - Agile metrics
 
User-Perceived Source Code Quality Estimation based on Static Analysis Metrics
User-Perceived Source Code Quality Estimation based on Static Analysis MetricsUser-Perceived Source Code Quality Estimation based on Static Analysis Metrics
User-Perceived Source Code Quality Estimation based on Static Analysis Metrics
 
Code quality as a built-in process
Code quality as a built-in processCode quality as a built-in process
Code quality as a built-in process
 

Similaire à Measuring the Code Quality Using Software Metrics

verification and validation
verification and validationverification and validation
verification and validation
Dinesh Pasi
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD Editor
 
Introduction to automated quality assurance
Introduction to automated quality assuranceIntroduction to automated quality assurance
Introduction to automated quality assurance
Philip Johnson
 

Similaire à Measuring the Code Quality Using Software Metrics (20)

A survey of fault prediction using machine learning algorithms
A survey of fault prediction using machine learning algorithmsA survey of fault prediction using machine learning algorithms
A survey of fault prediction using machine learning algorithms
 
Software testing.pdf
Software testing.pdfSoftware testing.pdf
Software testing.pdf
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
verification and validation
verification and validationverification and validation
verification and validation
 
A Novel Approach to Improve Software Defect Prediction Accuracy Using Machine...
A Novel Approach to Improve Software Defect Prediction Accuracy Using Machine...A Novel Approach to Improve Software Defect Prediction Accuracy Using Machine...
A Novel Approach to Improve Software Defect Prediction Accuracy Using Machine...
 
Parameter Estimation of GOEL-OKUMOTO Model by Comparing ACO with MLE Method
Parameter Estimation of GOEL-OKUMOTO Model by Comparing ACO with MLE MethodParameter Estimation of GOEL-OKUMOTO Model by Comparing ACO with MLE Method
Parameter Estimation of GOEL-OKUMOTO Model by Comparing ACO with MLE Method
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
 
Introduction to automated quality assurance
Introduction to automated quality assuranceIntroduction to automated quality assurance
Introduction to automated quality assurance
 
Ch22
Ch22Ch22
Ch22
 
Information hiding based on optimization technique for Encrypted Images
Information hiding based on optimization technique for Encrypted ImagesInformation hiding based on optimization technique for Encrypted Images
Information hiding based on optimization technique for Encrypted Images
 
Take your code and quality to the next level by Serena Software
Take your code and quality to the next level by Serena SoftwareTake your code and quality to the next level by Serena Software
Take your code and quality to the next level by Serena Software
 
Automating The Process For Building Reliable Software
Automating The Process For Building Reliable SoftwareAutomating The Process For Building Reliable Software
Automating The Process For Building Reliable Software
 
Software Testing
 Software Testing  Software Testing
Software Testing
 
Software Reliability
Software ReliabilitySoftware Reliability
Software Reliability
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
To Improve Code Quality in Your Software Development Projects- Code Brew Labs...
To Improve Code Quality in Your Software Development Projects- Code Brew Labs...To Improve Code Quality in Your Software Development Projects- Code Brew Labs...
To Improve Code Quality in Your Software Development Projects- Code Brew Labs...
 
J034057065
J034057065J034057065
J034057065
 
Software Quality Architecture And Code Audit
Software Quality Architecture And Code AuditSoftware Quality Architecture And Code Audit
Software Quality Architecture And Code Audit
 
Mi0033 software engineering
Mi0033  software engineeringMi0033  software engineering
Mi0033 software engineering
 
A Review on Software Fault Detection and Prevention Mechanism in Software Dev...
A Review on Software Fault Detection and Prevention Mechanism in Software Dev...A Review on Software Fault Detection and Prevention Mechanism in Software Dev...
A Review on Software Fault Detection and Prevention Mechanism in Software Dev...
 

Dernier

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
fonyou31
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Dernier (20)

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 

Measuring the Code Quality Using Software Metrics

  • 1. MEASURING THE CODE QUALITY USING SOFTWARE METRICS – TO IMPROVE THE EFFICIENCY OF SPECIFICATION MINING Guided By Ms.P.R.Piriyankaa.,ME Assistant Professor. Presented By, M.Geethanjali (ME)., Sri Krishna College of Engg and Tech.
  • 2. INTRODUCTION  Incorrect and buggy software costs up to $70 Billion each year in US.  Formal Specifications defines testing, optimization, refactoring, documentation, debugging and repair.  False Positive rates – We think there is a vulnerability but actually that is not present.
  • 3. PROBLEM STATEMENT  The cost of Software Maintenance consumes up to 90% of the total project cost and 60% of the maintenance time.  Formal Specifications are very necessary but they are difficult for programmers to write them manually.  Existing automatic specification mining produces high false positive rates.
  • 4. EXISTING SYSTEM  Formal specification is done for each and every software and the quality of the code is checked.  Set of software Metrics are used to measure the quality of the software.  General Quality Metrics  Chidamber and Kemerer Metrics.  These Software Metrics are used to measure the quality of the code.
  • 5. EXISTING SYSTEM CONT...  The quality of the code is lifted with the results obtained.  Prediction is used to compare the obtained results with randomly generated learned data items.  Automatic specification miner that balances the true and false positive specifications.  True positive – Required behaviour.  False positives – Non-Required behaviour.
  • 6. DISADVANTAGES  The false positive rates are reduced from 90% to an average of 30%.  The accuracy of the software is only 80%.  The computation time is low.
  • 8. PROPOSED SYSTEM  The classification is based on Support Vector Machine Algorithm.  The measured attributes of the software is compared with the training dataset.  The accuracy of the software is calculated.  The False Positive rate for the specific software is also found.
  • 9. ADVANTAGES  Reduces the burden of manual inspection of the code.  By knowing the quality of the code before the deployment the developers can easily lift the quality.  The accuracy of the software is about 95%.  Minimises the false positive rates from 90% to 5%.
  • 11. LIST OF MODULES  General Code Quality Metrics.  Code quality of complexity metrics.  Implementation of mining algorithm – Naive Bayes Algorithm  Implementation of mining algorithm – Support Vector Machine Algorithm.  Finding the False positive rates using learning model.
  • 12. GENERAL QUALITY METRICS  The quality of the software is implemented using the following metrics:  Code Churns  Code clones  Author Rank  Code Readability  Path Frequency  Path Density
  • 13. CHIDAMBER & KEMERER METRICS  These are also known as Object Oriented Metrics:  Weighted Methods per class (WMC)  Depth of Inheritance (DIT)  Number of children (NOC)  Coupling between Objects (CBO)
  • 14. PREDICTION ANALYSIS  The dataset will contain the randomly generated learned data items.  Naive Bayes algorithm is used.  The measured result of the software is compared along with the data set.  The predicted result for the selected software will be displayed.  Using this result the quality of the code can be determined.
  • 15. PREDICTION USING SVM  The measured attributes are compared with the learned dataset.  The accuracy of the for the selected software will be displayed.  The false positive rates are obtained.
  • 17. CODE QUALITY OF CK METRICS
  • 19. FALSE POSITIVES & ACCURACY USING SVM
  • 21. COMPARISON OF FALSE POSITIVE RATE
  • 22. CONCLUSION  Since the quality of the code is checked before deploying the software, the quality of the software will be assured.  The cost spent for maintenance will also be reduced.  Compared to other automatic miners the false positive rate is reduced to a negligible value.
  • 23. REFERENCES  Measuring Code Quality to improve specification mining – Claire Le Goues.  A study of consistent and inconsistent changes to code clones –Jens Krinke.  Who are are Source code contributers and how do they change? – Massimiliano Di Penta.  The road not taken: Estimating the Path Execution Frequency Statically – Raymond P.L.Buse