• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Talathussain110 / ProductOrderManagement / #12

04 Dec 2025 06:20PM UTC coverage: 75.0% (-25.0%) from 100.0%
#12

push

Talathussain110
Passing Tests for ProductWebController including (Listing, Edit, New,
Save, Delete, Message)

17 of 23 new or added lines in 2 files covered. (73.91%)

18 of 24 relevant lines covered (75.0%)

0.75 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/example/demo/services/ProductService.java
1
package com.example.demo.services;
2

3
import java.util.List;
4

5
import org.springframework.stereotype.Service;
6

7
import com.example.demo.model.Product;
8

9
@Service
NEW
10
public class ProductService {
×
11

12
        private static final String TEMPORARY_IMPLEMENTATION = "Temporary implementation";
13

14
        public List<Product> getAllProducts() {
NEW
15
                throw new UnsupportedOperationException(TEMPORARY_IMPLEMENTATION);
×
16
        }
17

18
        public Product getProductById(long id) {
NEW
19
                throw new UnsupportedOperationException(TEMPORARY_IMPLEMENTATION);
×
20
        }
21

22
        public Product insertNewProduct(Product product) {
NEW
23
                throw new UnsupportedOperationException(TEMPORARY_IMPLEMENTATION);
×
24
        }
25

26
        public Product updateProductById(long id, Product updatedProduct) {
NEW
27
                throw new UnsupportedOperationException(TEMPORARY_IMPLEMENTATION);
×
28
        }
29

30
        public void deleteProductById(long id) {
NEW
31
                throw new UnsupportedOperationException(TEMPORARY_IMPLEMENTATION);
×
32
        }
33
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc