Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/md-imtiaz-hossain/footie_dashboard
Footie Dashboard
https://github.com/md-imtiaz-hossain/footie_dashboard
gradle java java-11 java-swing ui-design
Last synced: about 1 month ago
JSON representation
Footie Dashboard
- Host: GitHub
- URL: https://github.com/md-imtiaz-hossain/footie_dashboard
- Owner: Md-Imtiaz-Hossain
- Created: 2023-04-29T12:00:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-17T10:38:32.000Z (about 1 year ago)
- Last Synced: 2024-10-13T03:41:31.194Z (2 months ago)
- Topics: gradle, java, java-11, java-swing, ui-design
- Language: Java
- Homepage:
- Size: 10.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Footie Dashboard
This is the source code of the COM1003 SEM 2 Assignment (2022-23).
## Checking that your project compiles
To compile and execute the tests provided in the project, execute:
```shell
gradle build
```or
```shell
./gradlew build
```If you execute either of these commands as soon as you clone your repository, you should get this output:
```
Starting a Gradle Daemon (subsequent builds will be faster)> Task :test FAILED
TestFileParsing > testParseFileLine() FAILED
java.lang.NullPointerException at TestFileParsing.java:24TestFileParsing > testParseFileLineTooFewColumns() FAILED
org.opentest4j.AssertionFailedError at TestFileParsing.java:36TestPlayerCatalog > testGetMeanAverageValue() FAILED
org.opentest4j.AssertionFailedError at TestPlayerCatalog.java:52TestPlayerCatalog > testUpdateCatalog() FAILED
org.opentest4j.AssertionFailedError at TestPlayerCatalog.java:25TestQueryParser > testReadSingleQuery() FAILED
org.opentest4j.AssertionFailedError at TestQueryParser.java:18TestQueryParser > testExceptionOnBadQuery() FAILED
org.opentest4j.AssertionFailedError at TestQueryParser.java:26TestRadarChart > testUpdateRadarChartSameData() FAILED
java.lang.NullPointerException at TestRadarChart.java:41TestRadarChart > testUpdateRadarChart() FAILED
java.lang.NullPointerException at TestRadarChart.java:288 tests completed, 8 failed
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///Users/jmr/systems/COM1003/com1003_footie/build/reports/tests/test/index.html* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.* Get more help at https://help.gradle.org
BUILD FAILED in 6s
8 actionable tasks: 8 executed
```As you can see, the provided JUnit tests fail. By the time you finish implementing your solution, all these tests should pass and the build should be successful.
You can use the `-x test` option to ask Gradle to compile your project and skip test execution:
```shell
gradle build -x test
```Which should output:
```
BUILD SUCCESSFUL in 625ms
6 actionable tasks: 6 executed
```### Do not use `javac` to compile
Using `javac` directly to compile individual Java files will **not** work, e.g., executing:
```shell
javac FootieDashboard.java
```will output:
```
error: file not found: FootieDashboard.java
Usage: javac
```and executing:
```shell
javac src/main/java/sktech/ac/sheffield/com1003/assignment/FootieDashboard.java
```will lead to a number of missing dependency errors, e.g.:
```
src/main/java/sktech/ac/sheffield/com1003/assignment/FootieDashboard.java:8: error: package sktech.com.iimtiaz.ui.assignment.codeprovided.gui does not exist
import sktech.com.iimtiaz.ui.assignment.codeprovided.gui.AbstractPlayerDashboardPanel;src/main/java/sktech/ac/sheffield/com1003/assignment/FootieDashboard.java:24: error: cannot find symbol
private final AbstractPlayerCatalog playerCatalog;
^
symbol: class AbstractPlayerCatalog
location: class FootieDashboard
```## Submission
Your submission will consist of your repository at a link to the commit containing your solution, which you will include in the text field on Blackboard assignment submission page. The format of the link should be as follows:
```
https://github.com/tuos-dcs-COM1003/com1003_footie-/commit/131337e0893b6a47dd4646815cc16794077b3e34
```### How can I find out the link to my commit for submission?
On Github.com, you can extract the url by navigating to `/commits/main` and clicking on the _View commit details_ option.
Alternatively, if you are on Linux or Mac OS, the following one-liner should produce an URL for your **latest** commit:
```shell
echo "$(git config --get remote.origin.url | sed -e 's/\.git$//g')/commit/$(git rev-parse HEAD)"
```For Windows users, you can compose the url by hand by concatenating:
```
/commit/
```
where `` can be extracted from your project repo log by executing:```shell
git --no-pager log --decorate=short --pretty=medium
```
# ----------------------------![Footie_assg_page-0001.jpg](src%2Fmain%2Fresources%2Fquestion%2FFootie_assg_page-0001.jpg)
![Footie_assg_page-0002.jpg](src%2Fmain%2Fresources%2Fquestion%2FFootie_assg_page-0002.jpg)
![Footie_assg_page-0003.jpg](src%2Fmain%2Fresources%2Fquestion%2FFootie_assg_page-0003.jpg)
![Footie_assg_page-0004.jpg](src%2Fmain%2Fresources%2Fquestion%2FFootie_assg_page-0004.jpg)
![Footie_assg_page-0005.jpg](src%2Fmain%2Fresources%2Fquestion%2FFootie_assg_page-0005.jpg)
![Footie_assg_page-0006.jpg](src%2Fmain%2Fresources%2Fquestion%2FFootie_assg_page-0006.jpg)
![Footie_assg_page-0007.jpg](src%2Fmain%2Fresources%2Fquestion%2FFootie_assg_page-0007.jpg)
![Footie_assg_page-0008.jpg](src%2Fmain%2Fresources%2Fquestion%2FFootie_assg_page-0008.jpg)
![Footie_assg_page-0009.jpg](src%2Fmain%2Fresources%2Fquestion%2FFootie_assg_page-0009.jpg)
![Footie_assg_page-0010.jpg](src%2Fmain%2Fresources%2Fquestion%2FFootie_assg_page-0010.jpg)
![Footie_assg_page-0011.jpg](src%2Fmain%2Fresources%2Fquestion%2FFootie_assg_page-0011.jpg)
![Footie_assg_page-0012.jpg](src%2Fmain%2Fresources%2Fquestion%2FFootie_assg_page-0012.jpg)
![Footie_assg_page-0013.jpg](src%2Fmain%2Fresources%2Fquestion%2FFootie_assg_page-0013.jpg)
![Footie_assg_page-0014.jpg](src%2Fmain%2Fresources%2Fquestion%2FFootie_assg_page-0014.jpg)
# ----------------------------
![img.png](src%2Fmain%2Fresources%2FSolutionImage%2Fimg.png)
![img_1.png](src%2Fmain%2Fresources%2FSolutionImage%2Fimg_1.png)
![img_2.png](src%2Fmain%2Fresources%2FSolutionImage%2Fimg_2.png)
![img_3.png](src%2Fmain%2Fresources%2FSolutionImage%2Fimg_3.png)
![img_4.png](src%2Fmain%2Fresources%2FSolutionImage%2Fimg_4.png)
![img_5.png](src%2Fmain%2Fresources%2FSolutionImage%2Fimg_5.png)