File size: 1,482 Bytes
c4165bb
fe9b787
ca16f5e
17afc90
 
c4165bb
17afc90
c4165bb
 
17afc90
c4165bb
 
17afc90
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
title: Java-Inspector-Syntax-OO
emoji: πŸ”οΈβ˜•πŸ’»
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 4.7.1
app_file: app.py
pinned: false
license: mit
---

# Java Syntax and OO Paradigm Inspector

This project analyzes Java code to extract insights about syntax elements and Object-Oriented (OO) paradigm usage. The tool identifies primitive types, constants, variable declarations, control structures, and more, helping developers understand and improve their Java code.

## Developer

Developed by Ramon Mayor Martins (2024)

- Email: [email protected]
- Homepage: https://rmayormartins.github.io/
- Twitter: @rmayormartins
- GitHub: https://github.com/rmayormartins
- Space: https://huggingface.co/rmayormartins

## Key Features

- **Syntax Analysis**:
  - Detects primitive types and constants.
  - Identifies control structures like `if/else`, `switch/case`, loops, and operators.
  - Tracks input/output operations (e.g., `System.out.print`, `Scanner`).

- **OO Analysis**:
  - Counts classes, objects, and methods.
  - Examines encapsulation, inheritance, polymorphism, abstraction.

- **User-Friendly Interface**:
  - Upload multiple Java files for analysis.
  - Displays results in an easy-to-read table.

## How to Use

1. Open the application interface.
2. Upload one or more `.java` files.
3. View detailed syntax and OO paradigm statistics for each file.

## Local Development

To run locally:

```bash
pip install -r requirements.txt
python app.py