Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Program source code judgment system and method based on B/S framework

A source code and S-architecture technology, applied in the direction of program control devices, software testing/debugging, etc., to achieve the effects of easy use, improved code quality, and simple operation

Inactive Publication Date: 2014-10-01
DALIAN MARITIME UNIVERSITY
View PDF6 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this manual debugging process will consume a lot of valuable manpower and material resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Program source code judgment system and method based on B/S framework
  • Program source code judgment system and method based on B/S framework
  • Program source code judgment system and method based on B/S framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0095] The first preferred embodiment of the present invention illustrates the implementation and application of this system by applying it in a teaching system.

[0096] Nowadays, most colleges and universities offer programming language courses, such as C language and Java language. In the process of learning, students need to consolidate the learning results by writing some program tasks assigned by the teacher. If you encounter some logical errors when writing code, especially for beginners, it will take a lot of effort to debug. In the process of teaching, teachers often need to understand the learning situation of each student, so that they can give students an objective and reasonable classroom score at the end of the semester. If the number of students is large, teachers often need to spend a lot of energy reviewing student tasks to complete teaching tasks.

[0097] This example can well solve the above two problems. Firstly, the system is deployed on the server of ...

Embodiment 2

[0104] The second preferred embodiment of the present invention is to illustrate the implementation and application of this system by applying it to evaluating students' programming behavior.

[0105] In daily undergraduate teaching, teachers not only need to master students' language learning, but also need to understand students' programming behaviors and ideas, so as to cultivate students' better habit of writing codes. In postgraduate teaching, tutors also need to understand the programming situation of each student, so that when arranging research directions or team projects, everyone's work can be reasonably allocated, so that each student can be in a suitable team position , to play the biggest role and improve the efficiency of team work. But at present, these tasks still need to be done manually by teachers. It is undoubtedly a waste of time and energy to analyze the programming behavior of students by checking the completion of each task in order to make a correct as...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a program source code judgment system and method based on a B / S framework. The system comprises a browser side and a server side. In the server side, a task pool management unit conducts detection after obtaining task submission information, a file system generation unit generates a file system and a catalogue which correspond to a task and copies a program to be detected to the generated catalogue, a script generation unit generates a script file according to the instruction required for executing the program to be detected while the program to be detected is installed in a plug-in mode and run through a program plug-in unit, execution paths and test case information of all test case are generated, a fault positioning unit runs generated path coverage information and conducts fault positioning according to the test cases, the equivocation of statements is calculated, and the statements are ranked according to the degrees of the equivocation, and a coverage rate unit conducts statistics on the program coverage information; a grading unit completes grading according to the grading standards; information of the statement equivocation, the information of the coverage rate and information of the task grade are fed back to the browser side through an information access and display unit, a result report is generated, and the judgment result is displayed. The method and the system have the advantages of being easy to operate and convenient to use.

Description

technical field [0001] The present invention relates to a system and method for judging program source codes based on B / S architecture, in particular to a system and method capable of automatically inserting source programs, obtaining coverage, fault diagnosis, and measuring results under B / S architecture. And complete the code quality evaluation system and method. Background technique [0002] Today, with the increasing popularity of computers, computer software plays a more and more important role, and the quality of software has attracted more and more attention. However, managers and team leaders in the computer development industry are often unaware of the programming habits and mindsets of the development teams they lead. Developers usually have their own work habits and ways of working, and a developer's habits may not be suitable for the project they are participating in. If a developer is assigned to an unsuitable development style and role, more human programming...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36G06F9/44
Inventor 陈荣马凯刘平月李辉高健陈世峰
Owner DALIAN MARITIME UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products